Esempio n. 1
0
 private void btnFlashing_Click(object sender, EventArgs e)
 {
     if (this.ComportIsExists)
     {
         EspToolDialog d = new EspToolDialog();
         d.PortName = this.CurretPortName;
         d.ShowDialog();
         d.Dispose();
     }
 }
Esempio n. 2
0
 private void btnFlashing_Click(object sender, EventArgs e)
 {
     if (this.ComportIsExists)
     {
         EspToolDialog d = new EspToolDialog();
         d.PortName = this.CurretPortName;
         d.ShowDialog();
         d.Dispose();
     }
     else
     {
         MessageBox.Show("Select a Port first!", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }