Skip to content

Commit

Permalink
Removed snapshot page from the designer. Add it to the main window li…
Browse files Browse the repository at this point in the history
…ke the other pages.

Signed-off-by: Konstantina Chremmou <[email protected]>
  • Loading branch information
kc284 committed Oct 25, 2023
1 parent 56628d4 commit 9b2204d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 102 deletions.
11 changes: 0 additions & 11 deletions XenAdmin/MainWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions XenAdmin/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public partial class MainWindow : Form, ISynchronizeInvoke, IMainWindow, IFormWi
internal readonly DockerProcessPage DockerProcessPage = new DockerProcessPage();
internal readonly DockerDetailsPage DockerDetailsPage = new DockerDetailsPage();
internal readonly UsbPage UsbPage = new UsbPage();
private readonly SnapshotsPage snapshotPage = new SnapshotsPage();

private readonly NotificationsBasePage[] _notificationPages;

Expand Down Expand Up @@ -188,6 +189,7 @@ public MainWindow(string[] args)
components.Add(DockerProcessPage);
components.Add(DockerDetailsPage);
components.Add(UsbPage);
components.Add(snapshotPage);

AddTabContents(VMStoragePage, TabPageStorage);
AddTabContents(SrStoragePage, TabPageSR);
Expand All @@ -212,6 +214,7 @@ public MainWindow(string[] args)
AddTabContents(DockerProcessPage, TabPageDockerProcess);
AddTabContents(DockerDetailsPage, TabPageDockerDetails);
AddTabContents(UsbPage, TabPageUSB);
AddTabContents(snapshotPage, TabPageSnapshots);

#endregion

Expand Down
30 changes: 0 additions & 30 deletions XenAdmin/MainWindow.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -555,36 +555,6 @@
<data name="&gt;&gt;TabPageHAUpsell.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="snapshotPage.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="snapshotPage.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="snapshotPage.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="snapshotPage.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>
<data name="snapshotPage.Size" type="System.Drawing.Size, System.Drawing">
<value>753, 592</value>
</data>
<data name="snapshotPage.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;snapshotPage.Name" xml:space="preserve">
<value>snapshotPage</value>
</data>
<data name="&gt;&gt;snapshotPage.Type" xml:space="preserve">
<value>XenAdmin.TabPages.SnapshotsPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;snapshotPage.Parent" xml:space="preserve">
<value>TabPageSnapshots</value>
</data>
<data name="&gt;&gt;snapshotPage.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="TabPageSnapshots.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 22</value>
</data>
Expand Down
32 changes: 1 addition & 31 deletions XenAdmin/MainWindow.resx
Original file line number Diff line number Diff line change
Expand Up @@ -555,36 +555,6 @@
<data name="&gt;&gt;TabPageHAUpsell.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="snapshotPage.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="snapshotPage.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="snapshotPage.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="snapshotPage.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>
<data name="snapshotPage.Size" type="System.Drawing.Size, System.Drawing">
<value>753, 591</value>
</data>
<data name="snapshotPage.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;snapshotPage.Name" xml:space="preserve">
<value>snapshotPage</value>
</data>
<data name="&gt;&gt;snapshotPage.Type" xml:space="preserve">
<value>XenAdmin.TabPages.SnapshotsPage, [XenCenter], Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;snapshotPage.Parent" xml:space="preserve">
<value>TabPageSnapshots</value>
</data>
<data name="&gt;&gt;snapshotPage.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="TabPageSnapshots.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 22</value>
</data>
Expand Down Expand Up @@ -2917,7 +2887,7 @@
<value>None</value>
</data>
<data name="statusLabel.Size" type="System.Drawing.Size, System.Drawing">
<value>483, 22</value>
<value>514, 22</value>
</data>
<data name="statusLabel.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
Expand Down
30 changes: 0 additions & 30 deletions XenAdmin/MainWindow.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -555,36 +555,6 @@
<data name="&gt;&gt;TabPageHAUpsell.ZOrder" xml:space="preserve">
<value>12</value>
</data>
<data name="snapshotPage.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="snapshotPage.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="snapshotPage.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="snapshotPage.Margin" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>0, 0, 0, 0</value>
</data>
<data name="snapshotPage.Size" type="System.Drawing.Size, System.Drawing">
<value>753, 592</value>
</data>
<data name="snapshotPage.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;snapshotPage.Name" xml:space="preserve">
<value>snapshotPage</value>
</data>
<data name="&gt;&gt;snapshotPage.Type" xml:space="preserve">
<value>XenAdmin.TabPages.SnapshotsPage, XenCenterMain, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;snapshotPage.Parent" xml:space="preserve">
<value>TabPageSnapshots</value>
</data>
<data name="&gt;&gt;snapshotPage.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="TabPageSnapshots.Location" type="System.Drawing.Point, System.Drawing">
<value>4, 22</value>
</data>
Expand Down

0 comments on commit 9b2204d

Please sign in to comment.