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);
        }
示例#3
0
        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);
        }