public EditRequestItemDialog(LocalData local, RequestItem request, IList <ProgramItem> programs) { this.local = local; this.request = request; this.programs = programs; changer = new RequestStateChanger(request, local.CurrentUserID, this); InitializeComponent(); ReadOnly = false; UpdateToolbar(); ReadRequest(); }
public abstract bool IsRequestVisible(LocalData local, RequestItem item);
public override bool IsRequestVisible(LocalData local, RequestItem item) { return(!local.KnownRequests.Contains(item.Number)); }
public override bool IsRequestVisible(LocalData local, RequestItem item) { return(item.State == State); }
public override bool IsRequestVisible(LocalData local, RequestItem item) { return(true); }
public override bool IsRequestVisible(LocalData local, RequestItem item) { return(item.State != RequestItemState.Fixed); }