コード例 #1
0
        protected override void Tambah()
        {
            var frm = new FrmEntrySupplier("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 supplier = _listOfSupplier[index];

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

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