Exemplo n.º 1
0
        /*按键单击事件,弹出串口配置对话框*/
        private void btn_SerConfiure_Click(object sender, EventArgs e)
        {
            SerialConfig sc = new SerialConfig(this);

            sc.StartPosition = FormStartPosition.Manual;
            sc.Location = new Point(this.Location.X + 250, this.Location.Y + 150);

            sc.ShowDialog();
        }
Exemplo n.º 2
0
        private void 串口配置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SerialConfig sc = new SerialConfig(this);

            sc.StartPosition = FormStartPosition.Manual;
            sc.Location = new Point(this.Location.X + 250, this.Location.Y + 150);

            sc.ShowDialog();
        }