/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); System.SetCaption(); global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png"); UI.SetLogo(logoImage); Layout.ConstOptionsByEnum = REXUI.SetupOptions.List | REXUI.SetupOptions.TabDialog; Layout.ConstOptionsByEnum |= REXUI.SetupOptions.HSplitFixed | REXUI.SetupOptions.VSplitFixed; Layout.ConstOptionsByEnum |= REXUI.SetupOptions.FormFixed; Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Layout", "", "Layout", (long)0, SubControlRef, null, null)); // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); System.SetCaption(); global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png"); // UI.SetLogo(logoImage); Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed | (long)REXUI.SetupOptions.TabDialog | (long)REXUI.SetupOptions.List | (long)REXUI.SetupOptions.FormFixed; Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Element", "", "Element", (long)0, SelectedElementControlRef, null, logoImage)); Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Recognition", "", "Recognition", (long)0, CGReadControlRef, null, logoImage)); Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Creation", "", "Creation", (long)0, CGCreateControlRef, null, logoImage)); // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } SelectedElementControlRef.SetDialog(); CGReadControlRef.SetDialog(); CGCreateControlRef.SetDialog(); }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed | (long)REXUI.SetupOptions.FormFixed; Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "L1", "Data", "Full", (long)REXUI.SetupOptions.TabDialog, SubControlRef, null, 0)); // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); System.SetCaption(); UI.SetLogo(Properties.Resources.REX_logo); $REXSrcExtension.Layouts.Options$ $REXSrcExtension.Layouts.AdditionalOptions$ $REXSrcExtension.Layouts$ // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); System.SetCaption(); global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png"); UI.SetLogo(logoImage); $REXSrcExtension.Layouts.Options$ $REXSrcExtension.Layouts.AdditionalOptions$ $REXSrcExtension.Layouts$ // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { //Step 4.4.: Extension class - 4 base.OnCreateLayout(); System.SetCaption(); global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png"); global::System.Windows.Media.Imaging.BitmapImage parametersImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/ICON_Parameters.png"); global::System.Windows.Media.Imaging.BitmapImage noteImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/ICON_Note.png"); UI.SetLogo(logoImage); Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed | (long)REXUI.SetupOptions.TabDialog | (long)REXUI.SetupOptions.List | (long)REXUI.SetupOptions.FormFixed; //Step 5.2.: Serialize Layout.ConstOptions |= (long)REXUI.SetupOptions.ToolMenu; Layout.CommandsOptions = (long)REXUI.CommandOptions.ToolMenuFile | (long)REXUI.CommandOptions.ToolMenuFileOpen | (long)REXUI.CommandOptions.ToolMenuFileSave | (long)REXUI.CommandOptions.ToolMenuFileSaveAs | (long)REXUI.CommandOptions.ToolMenuHelp | (long)REXUI.CommandOptions.ToolMenuHelpAbout | (long)REXUI.CommandOptions.ToolMenuHelpRun; Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Parameters", "", "Parameters", (long)0, ParameterControlRef, null, parametersImage)); Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Report", "", "Report", (long)0, NoteControlRef, null, noteImage)); if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed | (long)REXUI.SetupOptions.FormFixed; Layout.ConstOptions |= (long)REXUI.SetupOptions.List | (long)REXUI.SetupOptions.ToolMenu | (long)REXUI.SetupOptions.TabDialog; // insert code here. Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "L1", "", "Frame", (long)0, SubControlRef)); REXLayoutItem LayoutItem = Layout.GetItem("L1"); System.SetCaption(); if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }
/// <summary> /// Creates layout items and setups layout. /// </summary> public override void OnCreateLayout() { base.OnCreateLayout(); System.SetCaption(); global::System.Windows.Media.Imaging.BitmapImage logoImage = REXLibrary.GetResourceImage(GetType().Assembly, "Resources/Other/Images/REX_logo.png"); UI.SetLogo(logoImage); Layout.ConstOptions = (long)REXUI.SetupOptions.HSplitFixed | (long)REXUI.SetupOptions.VSplitFixed; Layout.ConstOptions |= (long)REXUI.SetupOptions.DialogBottom | (long)REXUI.SetupOptions.TabView; Layout.AddLayout(new REXLayoutItem(REXLayoutItem.LayoutType.Layout, "Layout", "", "Report", (long)0, HtmlSettingsControlRef, HTMLControlRef, logoImage)); HTMLControlRef.SetDialog(); HtmlSettingsControlRef.SetDialog(); // insert code here. if (ExtensionRef != null) { ExtensionRef.OnCreateLayout(); } }