private void btnEdit_Click(object sender, EventArgs e) { clsGlobal.mode = "edit"; frmNewAgent fr = new frmNewAgent(this); fr.Show(); }
private void btnNewUser_Click(object sender, EventArgs e) { clsGlobal.mode = "add"; frmNewAgent fr = new frmNewAgent(this); fr.Show(); }