Beispiel #1
0
        internal void resetUI(string username)
        {
            Right right1 = SecBll.getRight(username);
            Right right2 = right1;

            if (right2 == Right.ReadOnly)
            {
                this.btnDeposit.Enabled = false;
                this.btnWith.Enabled    = false;
                goto L_002c;
            }
L_002c:
        }
Beispiel #2
0
        internal void resetUI(string username)
        {
            Right right1 = SecBll.getRight(username);
            Right right2 = right1;

            if (right2 == Right.ReadOnly)
            {
                this.btnAdd.Enabled    = false;
                this.btnEdit.Enabled   = false;
                this.btnSave.Enabled   = false;
                this.btnDelete.Enabled = false;
                goto L_0046;
            }
L_0046:
        }
Beispiel #3
0
        internal void resetUI(string username)
        {
            Right right = SecBll.getRight(username);

            switch (right)
            {
            case Right.RestrictedWrite:
            {
                this.btnAdd.set_Enabled(false);
                this.btnEdit.set_Enabled(false);
                this.btnDelete.set_Enabled(false);
                break;
            }
            }
        }
Beispiel #4
0
        internal void resetUI(string username)
        {
            Right right = SecBll.getRight(username);

            switch (right)
            {
            case Right.RestrictedWrite:
            {
                this.tsAdd.set_Enabled(false);
                this.toolstripButton2.set_Enabled(false);
                this.toolstripButton4.set_Enabled(false);
                break;
            }
            }
        }