protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateContentControlLayout();
     UpdateNavigationControlsImageList();
     UpdateTopControlLayout();
     UpdateTopRightControlLayout();
     UpdateMultiLevelTabs();
     UpdateExitButton();
     UpdateContextHelpButton();
     UpdateShowWelcomeScreen();
     UpdateOpenModuleHelp();
     UpdateOpenContextHelp();
     UpdateUserSettingsButton();
     UpdateSettingsButton();
     UpdateSearchEdit();
     UpdateSearchToolButton();
     UpdateModulesToolButton();
     UpdateClearToolButton();
     UpdateTopLeftControlLayout();
     UpdateNavigationControlLayout();
     UpdateNavigationButtonsControlLayout();
     UpdateControlLayout1();
     UpdateRunProcessButton();
     UpdateNewRemindingsCountButton();
     UpdateUnreadEmailCountButton();
     UpdateAddButton();
     UpdateLogoControlLayout();
     UpdateImageBox1();
     TopLevelControl.MoveItem(0, TopControlLayout);
     TopControlLayout.MoveItem(0, TopLeftControlLayout);
     TopLeftControlLayout.MoveItem(0, LogoControlLayout);
     LogoControlLayout.MoveItem(0, ImageBox1);
     TopLeftControlLayout.MoveItem(1, NavigationControlLayout);
     NavigationControlLayout.MoveItem(0, NavigationButtonsControlLayout);
     NavigationButtonsControlLayout.MoveItem(0, AddButton);
     NavigationButtonsControlLayout.MoveItem(1, UnreadEmailCountButton);
     NavigationButtonsControlLayout.MoveItem(2, NewRemindingsCountButton);
     NavigationButtonsControlLayout.MoveItem(3, RunProcessButton);
     NavigationButtonsControlLayout.MoveItem(4, Spacer1);
     NavigationButtonsControlLayout.MoveItem(5, ControlLayout1);
     TopControlLayout.MoveItem(1, TopRightControlLayout);
     TopRightControlLayout.MoveItem(0, MultiLevelTabs);
     MultiLevelTabs.MoveItem(0, SearchEdit);
     SearchEdit.MoveItem(0, ClearToolButton);
     SearchEdit.MoveItem(1, ModulesToolButton);
     SearchEdit.MoveItem(2, SearchToolButton);
     MultiLevelTabs.MoveItem(1, SettingsButton);
     MultiLevelTabs.MoveItem(2, UserSettingsButton);
     MultiLevelTabs.MoveItem(3, ContextHelpButton);
     ContextHelpButton.MoveItem(0, OpenContextHelp);
     ContextHelpButton.MoveItem(1, OpenModuleHelp);
     ContextHelpButton.MoveItem(2, ShowWelcomeScreen);
     MultiLevelTabs.MoveItem(4, ExitButton);
     TopLevelControl.MoveItem(1, BaseMessagePanel);
     TopLevelControl.MoveItem(2, NavigationControlsImageList);
     TopLevelControl.MoveItem(3, ContentControlLayout);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }
示例#2
0
 protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateActionButtonsControlLayout();
     UpdateCancelButton();
     UpdateOKButton();
     UpdateCommonControlLayout();
     UpdateSelectedRowsControlLayout();
     UpdateSelectedRecordsGridContolLayout();
     UpdateSelectedRecordButtonsControlLayout();
     UpdateRemoveSelectedRecordButton();
     UpdateAddSelectedRecordButton();
     UpdateTreeGrid();
     UpdateShowChangelogMenuItem();
     UpdateCallMenuItem();
     UpdateSendEmailMenuItem();
     UpdateButtonsControlLayout();
     UpdateActionButton();
     UpdateContextHelpButton();
     UpdatePrintButton();
     UpdateDeleteButton();
     UpdateEditButton();
     UpdateCopyButton();
     UpdateAddButton();
     UpdateSearchControlLayout();
     UpdateSearchButton();
     UpdateSearchEdit();
     UpdateToolButtonClearSearch();
     UpdateSearchComboBoxEdit();
     UpdateSchemaListEdit();
     TopLevelControl.MoveItem(0, BaseMessagePanel);
     TopLevelControl.MoveItem(1, SearchControlLayout);
     SearchControlLayout.MoveItem(0, SchemaListEdit);
     SearchControlLayout.MoveItem(1, SearchComboBoxEdit);
     SearchControlLayout.MoveItem(2, SearchEdit);
     SearchEdit.MoveItem(0, ToolButtonClearSearch);
     SearchControlLayout.MoveItem(3, SearchButton);
     TopLevelControl.MoveItem(2, ButtonsControlLayout);
     ButtonsControlLayout.MoveItem(0, AddButton);
     ButtonsControlLayout.MoveItem(1, CopyButton);
     ButtonsControlLayout.MoveItem(2, EditButton);
     ButtonsControlLayout.MoveItem(3, DeleteButton);
     ButtonsControlLayout.MoveItem(4, SpacerDeleteButton);
     ButtonsControlLayout.MoveItem(5, SpacerPrintButton);
     ButtonsControlLayout.MoveItem(6, PrintButton);
     ButtonsControlLayout.MoveItem(7, ContextHelpButton);
     ButtonsControlLayout.MoveItem(8, ActionButton);
     TopLevelControl.MoveItem(3, CommonControlLayout);
     CommonControlLayout.MoveItem(0, TreeGrid);
     TreeGrid.MoveItem(0, SendEmailMenuItem);
     TreeGrid.MoveItem(1, CallMenuItem);
     TreeGrid.MoveItem(2, ShowChangelogMenuItem);
     CommonControlLayout.MoveItem(1, SelectedRowsControlLayout);
     SelectedRowsControlLayout.MoveItem(0, SelectedRecordButtonsControlLayout);
     SelectedRecordButtonsControlLayout.MoveItem(0, Spacer1);
     SelectedRecordButtonsControlLayout.MoveItem(1, AddSelectedRecordButton);
     SelectedRecordButtonsControlLayout.MoveItem(2, RemoveSelectedRecordButton);
     SelectedRecordButtonsControlLayout.MoveItem(3, Spacer2);
     SelectedRowsControlLayout.MoveItem(1, SelectedRecordsGridContolLayout);
     SelectedRecordsGridContolLayout.MoveItem(0, SelectedRecordsGrid);
     TopLevelControl.MoveItem(4, ActionButtonsControlLayout);
     ActionButtonsControlLayout.MoveItem(0, SpacerOKButton);
     ActionButtonsControlLayout.MoveItem(1, OKButton);
     ActionButtonsControlLayout.MoveItem(2, CancelButton);
     TopLevelControl.MoveItem(5, DataSource);
     SetControlsDefInheritance(UId);
     InitializeLocalizableValues();
 }