Beispiel #1
0
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateButtonsControlLayout();
     UpdateCancelButton();
     UpdateOkButton();
     UpdateMainControlLayout();
     UpdateRemoveRightsControlLayout();
     UpdateControlLayout1();
     UpdateAllRolesAndUsersRadioButton();
     UpdateControlLayout4();
     UpdateControlLayout9();
     UpdateEmployeesRadioButton();
     UpdateControlLayout3();
     UpdateControlLayout7();
     UpdateEmployeeParameterValueEdit();
     UpdateEmployeeRadioButton();
     UpdateControlLayout2();
     UpdateControlLayout5();
     UpdateRolesParameterValueEdit();
     UpdateRolesRadioButton();
     UpdateOperationsControlLayout();
     TopLevelControl.MoveItem(0, BaseMessagePanel);
     TopLevelControl.MoveItem(1, MainControlLayout);
     MainControlLayout.MoveItem(0, OperationsControlLayout);
     OperationsControlLayout.MoveItem(0, RightToReadCheckBox);
     OperationsControlLayout.MoveItem(1, RightToChangeCheckBox);
     OperationsControlLayout.MoveItem(2, RightToRemoveCheckBox);
     MainControlLayout.InsertItem(1, CreateOperationRightLevelControlLayout());
     OperationRightLevelControlLayout.InsertItem(0, CreateAllowRadioButton());
     OperationRightLevelControlLayout.InsertItem(1, CreateAllowAndGrantRadioButton());
     OperationRightLevelControlLayout.InsertItem(2, CreateDenyRadioButton());
     MainControlLayout.MoveItem(2, RemoveRightsControlLayout);
     RemoveRightsControlLayout.MoveItem(0, ControlLayout2);
     ControlLayout2.MoveItem(0, RolesRadioButton);
     ControlLayout2.MoveItem(1, ControlLayout5);
     ControlLayout5.MoveItem(0, RolesParameterValueEdit);
     RemoveRightsControlLayout.MoveItem(1, ControlLayout3);
     ControlLayout3.MoveItem(0, EmployeeRadioButton);
     ControlLayout3.MoveItem(1, ControlLayout7);
     ControlLayout7.MoveItem(0, EmployeeParameterValueEdit);
     RemoveRightsControlLayout.MoveItem(2, ControlLayout4);
     ControlLayout4.MoveItem(0, EmployeesRadioButton);
     ControlLayout4.MoveItem(1, ControlLayout9);
     ControlLayout9.MoveItem(0, ContactFilterEdit);
     RemoveRightsControlLayout.MoveItem(3, ControlLayout1);
     ControlLayout1.MoveItem(0, AllRolesAndUsersRadioButton);
     TopLevelControl.MoveItem(2, ButtonsControlLayout);
     ButtonsControlLayout.MoveItem(0, Spacer1);
     ButtonsControlLayout.MoveItem(1, OkButton);
     ButtonsControlLayout.MoveItem(2, CancelButton);
     TopLevelControl.MoveItem(3, EntityDataSource);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }
Beispiel #2
0
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateBottomControlLayout();
     UpdateCancelButton();
     UpdateOkButton();
     UpdateContextHelpButton();
     UpdateTopControlLayout();
     UpdateOpenEditPageControlLayout();
     UpdateOpenEditPageTabPanel();
     UpdateActivityParametersTab();
     UpdateActivityControlLayout1();
     UpdateActivityControlLayout5();
     UpdateActivityControlLayout7();
     UpdateDocumentEdit();
     UpdateInvoiceEdit();
     UpdateActivityControlLayout6();
     UpdateOpportunityEdit();
     UpdateContactEdit();
     UpdateAccountEdit();
     UpdateLeadEdit();
     UpdateActivityControlLayout11();
     UpdateBaseProcessUserTaskPageControlLayout2();
     UpdateBaseProcessUserTaskPageControlLayout1();
     UpdateActivityControlLayout2();
     UpdateActivityControlLayout4();
     UpdateExecutionContextEdit();
     UpdateActivityControlLayout10();
     UpdateRemindBeforePeriodEdit();
     UpdateRemindBeforeEdit();
     UpdateOwnerEdit();
     UpdateActivityControlLayout3();
     UpdateActivityCategoryEdit();
     UpdateActivityControlLayout9();
     UpdateDurationPeriodEdit();
     UpdateDurationEdit();
     UpdateActivityControlLayout8();
     UpdateStartInPeriodEdit();
     UpdateStartInEdit();
     UpdateGeneralParametersTab();
     UpdateControlLayout5();
     UpdateCreateResultListByColumnControlLayout();
     UpdateDecisionalColumnEdit();
     UpdateExploreButton();
     UpdateGenerateDecisionsFromColumnEdit();
     UpdateIsMatchConditionsEdit();
     UpdateEditExistingEntityControlLayout();
     UpdateRecordIdEdit();
     UpdateExistingRecordEdit();
     UpdateSetDefColumnValuesControlLayout();
     UpdateSetDefaultColumnValuesButton();
     UpdateNewRecordEdit();
     UpdateEntityPageControlLayout1();
     UpdateObjectEdit();
     UpdatePageEdit();
     UpdateUserTaskTitleEdit();
     TopLevelControl.MoveItem(0, MainMessagePanel);
     TopLevelControl.MoveItem(1, TopControlLayout);
     TopControlLayout.MoveItem(0, OpenEditPageControlLayout);
     OpenEditPageControlLayout.MoveItem(0, OpenEditPageTabPanel);
     OpenEditPageTabPanel.MoveItem(0, GeneralParametersTab);
     GeneralParametersTab.MoveItem(0, ControlLayout5);
     ControlLayout5.MoveItem(0, UserTaskTitleEdit);
     ControlLayout5.MoveItem(1, RecommendationEdit);
     ControlLayout5.MoveItem(2, EntityPageControlLayout1);
     EntityPageControlLayout1.MoveItem(0, PageEdit);
     EntityPageControlLayout1.MoveItem(1, ObjectEdit);
     ControlLayout5.MoveItem(3, NewRecordEdit);
     ControlLayout5.MoveItem(4, SetDefColumnValuesControlLayout);
     SetDefColumnValuesControlLayout.MoveItem(0, SetDefaultColumnValuesButton);
     ControlLayout5.MoveItem(5, ExistingRecordEdit);
     ControlLayout5.MoveItem(6, EditExistingEntityControlLayout);
     EditExistingEntityControlLayout.MoveItem(0, RecordIdEdit);
     ControlLayout5.MoveItem(7, IsMatchConditionsEdit);
     ControlLayout5.MoveItem(8, FilterEdit);
     ControlLayout5.MoveItem(9, GenerateDecisionsFromColumnEdit);
     ControlLayout5.MoveItem(10, CreateResultListByColumnControlLayout);
     CreateResultListByColumnControlLayout.MoveItem(0, DecisionalColumnEdit);
     DecisionalColumnEdit.MoveItem(0, ExploreButton);
     OpenEditPageTabPanel.MoveItem(1, ActivityParametersTab);
     ActivityParametersTab.MoveItem(0, ActivityControlLayout1);
     ActivityControlLayout1.MoveItem(0, ActivityControlLayout2);
     ActivityControlLayout2.MoveItem(0, ActivityControlLayout3);
     ActivityControlLayout3.MoveItem(0, ActivityControlLayout8);
     ActivityControlLayout8.MoveItem(0, StartInEdit);
     ActivityControlLayout8.MoveItem(1, StartInPeriodEdit);
     ActivityControlLayout3.MoveItem(1, ActivityControlLayout9);
     ActivityControlLayout9.MoveItem(0, DurationEdit);
     ActivityControlLayout9.MoveItem(1, DurationPeriodEdit);
     ActivityControlLayout3.MoveItem(2, ActivityCategoryEdit);
     ActivityControlLayout2.MoveItem(1, ActivityControlLayout4);
     ActivityControlLayout4.MoveItem(0, OwnerEdit);
     ActivityControlLayout4.MoveItem(1, ActivityControlLayout10);
     ActivityControlLayout10.MoveItem(0, RemindBeforeEdit);
     ActivityControlLayout10.MoveItem(1, RemindBeforePeriodEdit);
     ActivityControlLayout4.MoveItem(2, ExecutionContextEdit);
     ActivityControlLayout1.MoveItem(1, ActivityControlLayout11);
     ActivityControlLayout11.MoveItem(0, BaseProcessUserTaskPageControlLayout1);
     BaseProcessUserTaskPageControlLayout1.MoveItem(0, ShowExecutionPageEdit);
     ActivityControlLayout11.MoveItem(1, BaseProcessUserTaskPageControlLayout2);
     BaseProcessUserTaskPageControlLayout2.MoveItem(0, ShowInSchedulerEdit);
     ActivityControlLayout1.MoveItem(2, ActivityControlLayout5);
     ActivityControlLayout5.MoveItem(0, ActivityControlLayout6);
     ActivityControlLayout6.MoveItem(0, LeadEdit);
     ActivityControlLayout6.MoveItem(1, AccountEdit);
     ActivityControlLayout6.MoveItem(2, ContactEdit);
     ActivityControlLayout6.MoveItem(3, OpportunityEdit);
     ActivityControlLayout5.MoveItem(1, ActivityControlLayout7);
     ActivityControlLayout7.MoveItem(0, InvoiceEdit);
     ActivityControlLayout7.MoveItem(1, DocumentEdit);
     TopLevelControl.MoveItem(2, BottomControlLayout);
     BottomControlLayout.MoveItem(0, ContextHelpButton);
     BottomControlLayout.MoveItem(1, Spacer1);
     BottomControlLayout.MoveItem(2, OkButton);
     BottomControlLayout.MoveItem(3, CancelButton);
     TopLevelControl.MoveItem(3, EntityDataSource);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }