public void SetMaxConnectionInterval(uint interval)
{
if (InvokeRequired)
{
Invoke((Delegate)new DeviceTabsForm.SetMaxConnectionIntervalDelegate(SetMaxConnectionInterval), interval);
}
else
{
if (interval < 6U || interval > 3200U)
return;
nudMaxConnInt.Value = (Decimal)interval;
lblMaxConnInt.Text = string.Format("({0:f}ms)", ((double)interval * 1.25));
}
}