Esempio n. 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();
 }
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateControlLayout1();
     UpdateCloseButton();
     UpdateTreeGrid();
     UpdateShowChangelogMenuItem();
     UpdateCallMenuItem();
     UpdateSendTemplateEmailMenuItem();
     UpdateSendEmailMenuItem();
     UpdateButtonsControlLayout();
     UpdateContextHelpButton();
     UpdatePrintButton();
     UpdateActionButton();
     UpdateDeleteButton();
     UpdateEditButton();
     UpdateCopyButton();
     UpdateAddButton();
     TopLevelControl.MoveItem(0, BaseMessagePanel);
     TopLevelControl.MoveItem(1, ButtonsControlLayout);
     ButtonsControlLayout.MoveItem(0, AddButton);
     ButtonsControlLayout.MoveItem(1, CopyButton);
     ButtonsControlLayout.MoveItem(2, EditButton);
     ButtonsControlLayout.MoveItem(3, DeleteButton);
     ButtonsControlLayout.MoveItem(4, SpacerPrintButton);
     ButtonsControlLayout.MoveItem(5, ActionButton);
     ButtonsControlLayout.MoveItem(6, PrintButton);
     ButtonsControlLayout.MoveItem(7, ContextHelpButton);
     TopLevelControl.MoveItem(2, TreeGrid);
     TreeGrid.MoveItem(0, SendEmailMenuItem);
     TreeGrid.MoveItem(1, SendTemplateEmailMenuItem);
     TreeGrid.MoveItem(2, CallMenuItem);
     TreeGrid.MoveItem(3, ShowChangelogMenuItem);
     TopLevelControl.MoveItem(3, ControlLayout1);
     ControlLayout1.MoveItem(0, Spacer1);
     ControlLayout1.MoveItem(1, CloseButton);
     TopLevelControl.MoveItem(4, DataSource);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateButtonsControlLayout();
     UpdateApplyChangesButton();
     UpdateCancelButton();
     UpdateOKButton();
     UpdateDesignerModeButton();
     UpdateContextHelpButton();
     UpdateMainControlLayout();
     UpdateCustomControls();
     UpdateLogoEdit();
     UpdateLoginParametersControlLayout();
     UpdateSMTPServerTimeoutEdit();
     UpdateControlLayout3();
     UpdateSMTPPortEdit();
     UpdateSMTPServerAddressTextEdit();
     UpdateAllowEmailSendingCheckBox();
     UpdateControlLayout1();
     UpdatePortEdit();
     UpdateAddressEdit();
     UpdateControlLayout2();
     UpdateEmailProtocolComboBoxEdit();
     UpdateAllowEmailDownloadingCheckBox();
     UpdateNameEdit();
     TopLevelControl.MoveItem(0, BaseMessagePanel);
     TopLevelControl.MoveItem(1, MainControlLayout);
     MainControlLayout.MoveItem(0, NameEdit);
     MainControlLayout.MoveItem(1, Downloading);
     MainControlLayout.MoveItem(2, ControlLayout2);
     ControlLayout2.MoveItem(0, AllowEmailDownloadingCheckBox);
     ControlLayout2.MoveItem(1, EmailProtocolComboBoxEdit);
     MainControlLayout.MoveItem(3, ControlLayout1);
     ControlLayout1.MoveItem(0, AddressEdit);
     ControlLayout1.MoveItem(1, PortEdit);
     MainControlLayout.MoveItem(4, UseSSLEdit);
     MainControlLayout.MoveItem(5, IsStartTlsEdit);
     MainControlLayout.MoveItem(6, Sending);
     MainControlLayout.MoveItem(7, AllowEmailSendingCheckBox);
     MainControlLayout.MoveItem(8, ControlLayout3);
     ControlLayout3.MoveItem(0, SMTPServerAddressTextEdit);
     ControlLayout3.MoveItem(1, SMTPPortEdit);
     MainControlLayout.MoveItem(9, SMTPServerTimeoutEdit);
     MainControlLayout.MoveItem(10, UseSSLforSendingCheckBox);
     MainControlLayout.MoveItem(11, LoginParametersControlLayout);
     LoginParametersControlLayout.MoveItem(0, UseLoginRadioButton);
     LoginParametersControlLayout.MoveItem(1, UseUserNameAsLoginRadioButton);
     LoginParametersControlLayout.MoveItem(2, UseEmailAddressAsLoginRadioButton);
     MainControlLayout.MoveItem(12, ImageAndSettingsLabel);
     MainControlLayout.MoveItem(13, LogoEdit);
     MainControlLayout.MoveItem(14, CustomControls);
     TopLevelControl.MoveItem(2, ButtonsControlLayout);
     ButtonsControlLayout.MoveItem(0, ContextHelpButton);
     ButtonsControlLayout.MoveItem(1, DesignerModeButton);
     ButtonsControlLayout.MoveItem(2, SpacerButton);
     ButtonsControlLayout.MoveItem(3, OKButton);
     ButtonsControlLayout.MoveItem(4, CancelButton);
     ButtonsControlLayout.MoveItem(5, ApplyChangesButton);
     TopLevelControl.MoveItem(3, DataSource);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }
Esempio n. 4
0
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateBottomControlLayout();
     UpdateCancelButton();
     UpdateOkButton();
     UpdateContextHelpButton();
     UpdateTopControlLayout();
     UpdateUserQuestionTabPanel();
     UpdateActivityTab();
     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();
     UpdateUserQuestionTab();
     UpdateControlLayoutQuestion();
     UpdateControlLayout1();
     UpdateButtonsControlLayout();
     UpdateDownButton();
     UpdateUpButton();
     UpdateDeleteButton();
     UpdateEditButton();
     UpdateAddButton();
     UpdateMultipleDecisionMode();
     UpdateSingleDecisionMode();
     UpdateUserTaskTitleEdit();
     TopLevelControl.MoveItem(0, MainMessagePanel);
     TopLevelControl.MoveItem(1, TopControlLayout);
     TopControlLayout.MoveItem(0, UserQuestionTabPanel);
     UserQuestionTabPanel.MoveItem(0, UserQuestionTab);
     UserQuestionTab.MoveItem(0, ControlLayoutQuestion);
     ControlLayoutQuestion.MoveItem(0, UserTaskTitleEdit);
     ControlLayoutQuestion.MoveItem(1, RecommendationEdit);
     ControlLayoutQuestion.MoveItem(2, LabelDecisionMode);
     ControlLayoutQuestion.MoveItem(3, SingleDecisionMode);
     ControlLayoutQuestion.MoveItem(4, MultipleDecisionMode);
     ControlLayoutQuestion.MoveItem(5, LabelAnswers);
     ControlLayoutQuestion.MoveItem(6, ControlLayout1);
     ControlLayout1.MoveItem(0, ButtonsControlLayout);
     ButtonsControlLayout.MoveItem(0, AddButton);
     ButtonsControlLayout.MoveItem(1, EditButton);
     ButtonsControlLayout.MoveItem(2, DeleteButton);
     ButtonsControlLayout.MoveItem(3, Spacer2);
     ButtonsControlLayout.MoveItem(4, UpButton);
     ButtonsControlLayout.MoveItem(5, DownButton);
     ControlLayout1.MoveItem(1, AnswersTreeGrid);
     ControlLayoutQuestion.MoveItem(7, IsDecisionRequiredEdit);
     UserQuestionTabPanel.MoveItem(1, ActivityTab);
     ActivityTab.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);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }