private void btn_AddClient_Click(object sender, EventArgs e)
        {
            clsGLobalVariables.method = "add";
            frmClient frmClientAdd = new frmClient();

            frmClientAdd.Show();
            this.Close();
        }
 private void btn_EditClient_Click(object sender, EventArgs e)
 {
     try
     {
         clsGLobalVariables.method = "edit";
         clsGLobalVariables.Id     = dataResultClient.SelectedRows[0].Cells[0].Value.ToString();
         frmClient frmClientAdd = new frmClient();
         frmClientAdd.Show();
     }
     catch
     {
         MessageBox.Show("Please Select the Row of Client you want to edit", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     this.Close();
 }