示例#1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox2.Text != "")
     {
         VC_UserAU UpdateU = new VC_UserAU("Update", dataGridView1, textBox2.Text);
         UpdateU.Show();
     }
     else
     {
         MessageBox.Show("Enter ID");
     }
 }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            VC_UserAU AddU = new VC_UserAU("Add", dataGridView1, textBox2.Text);

            AddU.Show();
        }