private void btnTambah_Click(object sender, EventArgs e) { FrmTambahData frm = new FrmTambahData(true); this.Hide(); frm.ShowDialog(); this.Show(); FrmAddressBook_Load(null, null); }
bool _addMode = false;//true = add Item, false = edit item public bool Run(FrmTambahData form) { form.ShowDialog(); return(_result); }