private void Disconnect() { m_usb.Disconnect(); //lbConnectionText.Text = "Disconnected"; //pbLED.Image = MutePuckApp.Properties.Resources.ledred; _notifyIcon.Icon = MutePuckApp.Properties.Resources.puck_gray; }
private void Disconnect() { m_usb.Disconnect(); LogDataGridView.Enabled = false; ConnectToolStripButton.Text = "Connect"; ConnectToolStripButton.Image = Properties.Resources.Connect; m_ToolStripComboBox.Enabled = true; m_ToolStripStatusIcon.Image = Properties.Resources.USB_Disable; m_ToolStripStatusIcon.ToolTipText = "USB Device Disconnected"; m_ToolStripStatusString.Text = "USB Device is ready for connecting"; m_ToolStripStatusString.ForeColor = Color.DarkSlateGray; }