예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (editcustid != null)
     {
         EditCustomer edtcustm = new EditCustomer(this.editcustid);
         edtcustm.Show();
     }
     else
     {
         MessageBox.Show("Please Select a Grid Row by clicking on Row Hader", "Edit Customer", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            if ( editcustid != null)
            {
                EditCustomer edtcustm = new EditCustomer(this.editcustid);
                edtcustm.Show();
            }
            else
            {
                MessageBox.Show("Please Select a Grid Row by clicking on Row Hader", "Edit Customer", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            

        }