private void 发送串口数据ToolStripMenuItem_Click(object sender, EventArgs e) { SendDataDlg dlg = new SendDataDlg(m_SPManager); dlg.ShowDialog(); //ShowOtherWindow("SendDataDlg",0); }
private void button_打开发送串口对话框_Click(object sender, EventArgs e) { SendDataDlg dlg = new SendDataDlg(m_SPManager); dlg.ShowDialog(); }