private void addBtn_Click(object sender, EventArgs e)
 {
     addCustomer = new add_customer();
     addCustomer.Show();
     FillGrid();
     this.Close();
 }
 private void editBtn_Click(object sender, EventArgs e)
 {
     addCustomer     = new add_customer();
     addCustomer._ID = Convert.ToInt32(dataGridView1.CurrentRow.Cells[0].Value.ToString());
     addCustomer.saveCustBtn.Text     = "Update";
     addCustomer.saveCustBtn.ImageKey = "update.png";
     addCustomer.Text = "Update Customer";
     addCustomer.Show();
     FillGrid();
     this.Close();
 }
 public customer_transactions()
 {
     InitializeComponent();
     addCustomer = new add_customer();
 }