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

            frm.ShowDialog();

            tv_AfterSelect(null, null);
        }
Beispiel #2
0
        private void tsbUpload_Click(object sender, EventArgs e)
        {
            if (!MyLove.PermissionsBalidation(this.Text, "14"))
            {
                return;
            }
            DataRow dr = this.dgvOper.CurrentRow();

            if (dr == null)
            {
                return;
            }
            var oper = DB.ReflectionHelper.DataRowToModel <sa_t_operator_i>(dr);
            var frm  = new frmOperUpdate();

            frm.oper = oper;
            frm.ShowDialog();

            tv_AfterSelect(null, null);
        }