private void createAutoReplySummaryWindow(PortManager target) { if (target != null) { if (!base.IsDisposed) { string str = "Auto Reply Summary: " + target.comm.sourceDeviceName; frmAutoReplySummary summary = new frmAutoReplySummary(); summary.CommWindow = target.comm; summary.Text = str; summary.ShowDialog(); } else { MessageBox.Show("Port not initialized!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand); } } }
private void createAutoReplySummaryWindow() { if (!base.IsDisposed) { string str = this.comm.sourceDeviceName + ": Auto Reply Summary"; if ((this._formautoReplySum == null) || this._formautoReplySum.IsDisposed) { this._formautoReplySum = new frmAutoReplySummary(); } this._formautoReplySum.CommWindow = this.comm; this._formautoReplySum.Text = str; this._formautoReplySum.ShowDialog(); } else { MessageBox.Show("COM window not initialized!", "Information"); } }
private void createAutoReplySummaryWindow() { if (PortManagerHash.Count > 0) { string str = "Auto Reply Summary: All"; frmAutoReplySummary summary = new frmAutoReplySummary(); summary.Text = str; summary.ShowDialog(); } }