public frmInterferenceReport(CommunicationManager mainComWin) { this.InitializeComponent(); base.MdiParent = clsGlobal.g_objfrmMDIMain; this.CommWindow = mainComWin; this.zedGraphControl1.GraphPane = this.myPane; this.cwConfigComboBox.SelectedIndex = 0; this.CMC = new CommMgrClass(); this.refreshTimer.Elapsed += new ElapsedEventHandler(this.updateSignalWindow); this.refreshTimer.Interval = 2000.0; this.refreshTimer.AutoReset = true; this.refreshTimer.Start(); }
public frmEncryCtrl(CommunicationManager mainComWin) { this.InitializeComponent(); encryptCtrlFormHandle = this; this.currentDirInfo = Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory); this.InstalledDirectory = this.currentDirInfo.Parent.FullName; _EncryCtrlRestoredFilePath = ConfigurationManager.AppSettings["InstalledDirectory"] + @"\Config\EncryptControlRestore.xml"; this.CommWindow = mainComWin; this.CMC = new CommMgrClass(); this.DrawTheEncryptControl(this.EncryCtrlDataGridView); this.AddRowNamesToEncryptControl(this.EncryCtrlDataGridView); this.SetAllCheckBoxesToAValue(this.EncryCtrlDataGridView, false); }