示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text.Trim() != string.Empty && textBox2.Text.Trim() != string.Empty && label5.Text.Trim() != string.Empty)
     {
         _5 t = new _5();
         t.ShowDialog();
     }
     else
     {
         MessageBox.Show("please fill all the entries");
     }
 }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text.Trim() != string.Empty && textBox2.Text.Trim() != string.Empty && label5.Text.Trim() != string.Empty)
     {
         _5 t = new _5();
         t.ShowDialog();
     }
     else
     {
         MessageBox.Show("please fill all the entries");
     }
 }