protected override void InitializeControls()
 {
     base.InitializeControls();
     UpdateTreeGrid();
     UpdateShowChangelogMenuItem();
     UpdateCallMenuItem();
     UpdateSendTemplateEmailMenuItem();
     UpdateSendEmailMenuItem();
     UpdateButtonsControlLayout();
     UpdateContextHelpButton();
     UpdatePrintButton();
     UpdateActionButton();
     UpdateDeleteButton();
     UpdateEditButton();
     UpdateCopyButton();
     UpdateAddButton();
     TopLevelControl.MoveItem(0, 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(1, TreeGrid);
     TreeGrid.MoveItem(0, SendEmailMenuItem);
     TreeGrid.MoveItem(1, SendTemplateEmailMenuItem);
     TreeGrid.MoveItem(2, CallMenuItem);
     TreeGrid.MoveItem(3, ShowChangelogMenuItem);
     TopLevelControl.MoveItem(2, DataSource);
     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();
 }