private void btn_Add_Click(object sender, EventArgs e) { option = 1; fAEClient f2 = new fAEClient(option); f2.Show(); }
private void btn_Edit_Click(object sender, EventArgs e) { option = 2; if (status == "True") { status = "Active"; } else { status = "Inactive"; } fAEClient f2 = new fAEClient(id, zipcode, cocno, firstname, middlename, lastname, street, barangay, city, company, position, group, phone, mobile, units, amount, gender, status, bloodtype, civilstatus /*,dateReceived*/, birthdate); f2.ShowDialog(); }