private void Disconnect() { mFunctionList.Items.Clear(); master.Close(); SetupStates(); Log.Status("Disconnected"); timer.Stop(); msgTimer.Enabled = false; }