public GuiBuilderView (IViewContent content, GuiBuilderWindow window): base (content) { rootName = window.Name; designerPage = new DesignerPage (window.Project); designerPage.Show (); AddButton (GettextCatalog.GetString ("Designer"), designerPage); actionsPage = new ActionGroupPage (); actionsPage.Show (); AttachWindow (window); }
public GuiBuilderView(IViewContent content, GuiBuilderWindow window) : base(content) { rootName = window.Name; designerPage = new DesignerPage(); designerPage.Show(); AddButton(GettextCatalog.GetString("Designer"), designerPage); actionsPage = new ActionGroupPage(); actionsPage.Show(); AttachWindow(window); }
protected override async Task <DocumentView> OnInitializeView() { designerPage = new DesignerPage(window.Project); actionsPage = new ActionGroupPage(); designerPage.Show(); actionsPage.Show(); var view = await base.OnInitializeView(); AddButton(GettextCatalog.GetString("Designer"), designerPage); AttachWindow(window); return(view); }