rename StartPagePanel to StartPage (because it displays in the document area, it is a Page)
This commit is contained in:
parent
98bc3b45d4
commit
497b56ec93
@ -852,7 +852,7 @@ namespace UniversalEditor.UserInterface
|
||||
|
||||
private void InitStartPage()
|
||||
{
|
||||
StartPagePanel lblStartPage = new StartPagePanel();
|
||||
StartPage lblStartPage = new StartPage();
|
||||
InitDocTab("Start Page", "Start Page", lblStartPage);
|
||||
}
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
//
|
||||
// SolutionExplorerPanel.cs
|
||||
// StartPage.cs - the initial Page the user sees at application startup
|
||||
//
|
||||
// Author:
|
||||
// Michael Becker <alcexhim@gmail.com>
|
||||
//
|
||||
// Copyright (c) 2019
|
||||
// Copyright (c) 2019-2021 Mike Becker's Software
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@ -27,7 +27,7 @@ using MBS.Framework.UserInterface.Layouts;
|
||||
namespace UniversalEditor.UserInterface.Panels
|
||||
{
|
||||
[ContainerLayout("~/Panels/StartPage.glade", "GtkWindow")]
|
||||
public class StartPagePanel : Panel
|
||||
public class StartPage : Page
|
||||
{
|
||||
private Button cmdCreateNewProject;
|
||||
private Button cmdOpenExistingProject;
|
||||
@ -37,6 +37,11 @@ namespace UniversalEditor.UserInterface.Panels
|
||||
private Label lblHeader;
|
||||
private Label lblNewsTitle;
|
||||
|
||||
public StartPage()
|
||||
{
|
||||
Title = "Start Page";
|
||||
}
|
||||
|
||||
protected override void OnCreated(EventArgs e)
|
||||
{
|
||||
base.OnCreated(e);
|
||||
@ -93,7 +93,6 @@
|
||||
<Compile Include="Editors\PropertyList\PropertyListEditor.cs" />
|
||||
<Compile Include="Dialogs\DocumentPropertiesDialog.cs" />
|
||||
<Compile Include="Dialogs\GenericBrowserPopup.cs" />
|
||||
<Compile Include="Panels\StartPagePanel.cs" />
|
||||
<Compile Include="Dialogs\DocumentPropertiesDialogMode.cs" />
|
||||
<Compile Include="Dialogs\DocumentPropertiesDialogV2.cs" />
|
||||
<Compile Include="Controls\UniversalEditorFileBrowserControl.cs" />
|
||||
@ -136,6 +135,7 @@
|
||||
<Compile Include="IHostApplication.cs" />
|
||||
<Compile Include="Controls\PrintDialogOptionsTabPage.cs" />
|
||||
<Compile Include="Editors\Database\Dialogs\ColumnPropertiesDialog.cs" />
|
||||
<Compile Include="Pages\StartPage.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user