示例#1
0
        protected override void Tambah()
        {
            var frm = new FrmEntryReturPenjualanProduk("Tambah Data " + this.Text, _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 retur = _listOfRetur[index];

            LogicalThreadContext.Properties["OldValue"] = retur.ToJson();

            var frm = new FrmEntryReturPenjualanProduk("Edit Data " + this.Text, retur, _bll);

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