Beispiel #1
0
 public serialPortForm()
 {
     InitializeComponent();
     formSerial = this;
 }
Beispiel #2
0
 public serialPortForm(GlForm parent)
 {
     InitializeComponent();
     this.parent = parent;
     formSerial  = this;
 }
Beispiel #3
0
        /// <summary>
        /// 打开串口设置窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void serialBtn_Click(object sender, EventArgs e)
        {
            serialPortForm serialForm = new serialPortForm(glForm);

            serialForm.Show();
        }