示例#1
0
 private void lineAndTextButton_Click(object sender, EventArgs e)
 {
     try {
         typeEdit = "drawLineAndText";
         stf.Show();
         timer1.Enabled = true;
     } catch(System.ObjectDisposedException) { stf = new setTextForm(); stf.Show(); }
 }
示例#2
0
 private void editButton_Click(object sender, EventArgs e)
 {
     try
     {
         typeEdit = "edit";
     stf.Show();
     timer1.Enabled = true;
     bx = by = 1000;
     }
     catch (System.ObjectDisposedException) { stf = new setTextForm(); stf.Show(); }
 }