private void standarServiceToolStripMenuItem_Click(object sender, EventArgs e) { //Master.frmStandarServiceBrowse ifrmChild = new Master.frmStandarServiceBrowse(); Master.frmStandarBiayaServiceBrowse ifrmChild = new Master.frmStandarBiayaServiceBrowse(); ifrmChild.MdiParent = this; this.RegisterChild(ifrmChild); ifrmChild.Show(); }
private void closeForm() { if (this.DialogResult == DialogResult.OK) { if (this.Caller is frmStandarBiayaServiceBrowse) { frmStandarBiayaServiceBrowse frmCaller = (frmStandarBiayaServiceBrowse)this.Caller; frmCaller.RefreshData(); frmCaller.FindRow("kode", kode.Text); } } }