private void icConfigureClickHandler(ref CommunicationManager comm) { if (comm != null) { if (!base.IsDisposed) { string str = comm.sourceDeviceName + ": IC Configuration"; frmTrackerICConfig_Ver2 ver = new frmTrackerICConfig_Ver2(comm); ver.Text = str; ver.ShowDialog(); } else { MessageBox.Show("Port not initialized!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand); } } }
private void CreateTrackerConfigWin_Ver2() { if (!base.IsDisposed) { string str = this.comm.sourceDeviceName + ": IC Configuration"; frmTrackerICConfig_Ver2 ver = new frmTrackerICConfig_Ver2(this.comm); ver.Text = str; ver.ShowDialog(); } else { MessageBox.Show("COM window not initialized!", "Information"); } }
private void icConfigureClickHandler() { if (PortManagerHash.Count > 0) { PortManager manager = null; bool flag = false; foreach (string str in PortManagerHash.Keys) { if (!(str == clsGlobal.FilePlayBackPortName)) { manager = (PortManager) PortManagerHash[str]; if ((manager != null) && manager.comm.IsSourceDeviceOpen()) { flag = true; break; } } } if ((flag && (manager != null)) && manager.comm.IsSourceDeviceOpen()) { string str2 = "IC Configuration: All"; frmTrackerICConfig_Ver2 ver = new frmTrackerICConfig_Ver2(manager.comm); ver.Text = str2; ver.ShowDialog(); } } }