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