public bool GetRight(User pUser, eTypeAccess pTypeRight) { return((int)Right[pTypeRight] <= (int)pUser.TypeUser); }
// public ReceiptWares ReceiptWaresWait { get; set; } void SetWaitConfirm(eTypeAccess pTypeAccess, ReceiptWares pRW = null) { CurWares = pRW; TypeAccessWait = pTypeAccess; SetStateView(eStateMainWindows.WaitAdmin); }
public bool GetRight(eTypeAccess pTypeRight) { return((int)Right[pTypeRight] <= (int)СurUser.TypeUser); }