Exemple #1
0
        private void tsbCreate_Click(object sender, EventArgs e)
        {
            if (!MyLove.PermissionsBalidation(this.Text, "01"))
            {
                return;
            }
            var frm = new frmBankUpdate();

            frm.ShowDialog();
            LoadBank();
        }
Exemple #2
0
        private void tsbUpload_Click(object sender, EventArgs e)
        {
            if (!MyLove.PermissionsBalidation(this.Text, "14"))
            {
                return;
            }
            DataRow dr = this.dgvBank.CurrentRow();

            if (dr == null)
            {
                return;
            }
            var bank = DB.ReflectionHelper.DataRowToModel <bi_t_bank_info>(dr);
            var frm  = new frmBankUpdate();

            frm.bank = bank;
            frm.ShowDialog();
            LoadBank();
        }