protected override void Tambah() { var frm = new FrmEntryJabatan("Tambah Data " + this.TabText, _bll); frm.Listener = this; frm.ShowDialog(); }
protected override void Perbaiki() { var index = this.gridList.SelectedIndex; if (!base.IsSelectedItem(index, this.TabText)) { return; } var jabatan = _listOfJabatan[index]; var frm = new FrmEntryJabatan("Edit Data " + this.TabText, jabatan, _bll); frm.Listener = this; frm.ShowDialog(); }