/// <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(); } }
public void RefreshNote() { HTMLControlRef.FillNote(); }