コード例 #1
0
        protected override void Tambah()
        {
            var frm = new FrmEntryCustomer("Tambah Data " + this.TabText, _bll);

            frm.Listener = this;
            frm.ShowDialog();
        }
コード例 #2
0
        protected override void Perbaiki()
        {
            var index = this.gridList.SelectedIndex;

            if (!base.IsSelectedItem(index, this.TabText))
            {
                return;
            }

            var customer = _listOfCustomer[index];

            var frm = new FrmEntryCustomer("Edit Data " + this.TabText, customer, _bll);

            frm.Listener = this;
            frm.ShowDialog();
        }