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

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

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

            var userOperator = _listOfOperator[index];

            var frm = new FrmEntryOperator("Edit Data " + this.TabText, userOperator, _listOfRole, _bll);

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