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: }
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: }
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; } } }
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; } } }