예제 #1
0
        //参数设置按钮    点击
        private void SP_Set_Click(object sender, EventArgs e)
        {
            if (!IsSignIn())
            {
                return;
            }
            Form_SP_Set form_SP_Set = new Form_SP_Set();

            form_SP_Set.ShowDialog();
        }
예제 #2
0
        //通信设置按钮    点击
        private void ButtonSeriportSet_MyButtonClickEvent(object sender, EventArgs e)
        {
            if (!IsSignIn())
            {
                return;
            }
            CloseAllMdiForms();
            Form_SP_Test fspt = new Form_SP_Test();

            fspt.MdiParent   = this;
            fspt.WindowState = FormWindowState.Normal;
            fspt.Show();
            Form_SP_Set fsps = new Form_SP_Set();

            fsps.MdiParent   = this;
            fsps.WindowState = FormWindowState.Normal;
            fsps.Show();
            this.LayoutMdi(MdiLayout.TileVertical);
        }