BTool.DeviceForm.timerScanEvent C# (CSharp) Method

timerScanEvent() private method

private timerScanEvent ( object obj, EventArgs args ) : void
obj object
args EventArgs
return void
        private void timerScanEvent(object obj, EventArgs args)
        {
            StopTimer(DeviceForm.EventType.Scan);
            devTabsForm.ShowProgress(false);
            Cursor = Cursors.Default;

            devTabsForm.discoverConnectStatus = DeviceTabsForm.DiscoverConnectStatus.Idle;
            devTabsForm.DiscoverConnectUserInputControl();

            string msg = "Device Scan Timeout.\n";
            DisplayMsg(SharedAppObjs.MsgType.Warning, msg);
            msgBox.UserMsgBox(SharedObjects.MainWin, MsgBox.MsgTypes.Error, msg);
        }