private void Initialize() { ExportCommand = new Misc.Command(ExportAction, CanExportAction); SendCommand = new Misc.Command(SendAction, CanExportAction); CloseCommand = new Misc.Command(CloseAction); InitializeWorkQuestionnaires(); }
protected virtual void Initialize() { ItemNextCommand = new Misc.Command(NextAction); ItemPreviousCommand = new Misc.Command(PreviousAction); ItemFirstCommand = new Misc.Command(FirstAction); ItemLastCommand = new Misc.Command(LastAction); MinNumber = MaxNumber = 1; }