GUI tweak

This commit is contained in:
Anton Kasyanov
2016-06-06 21:24:48 +03:00
parent b1a11db9a9
commit c47e13622f
2 changed files with 28 additions and 4 deletions

View File

@@ -43,6 +43,8 @@ namespace EveOPreview.UI
System.Windows.Forms.Panel ThumbnailsListPanel; System.Windows.Forms.Panel ThumbnailsListPanel;
System.Windows.Forms.Label ThumbnailsListLabel; System.Windows.Forms.Label ThumbnailsListLabel;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
System.Windows.Forms.ToolStripMenuItem TitleMenuItem;
System.Windows.Forms.ToolStripSeparator SeparatorMenuItem;
this.MinimizeToTrayCheckBox = new System.Windows.Forms.CheckBox(); this.MinimizeToTrayCheckBox = new System.Windows.Forms.CheckBox();
this.ThumbnailsOpacityScrollBar = new System.Windows.Forms.HScrollBar(); this.ThumbnailsOpacityScrollBar = new System.Windows.Forms.HScrollBar();
this.EnableClientLayoutTrackingCheckBox = new System.Windows.Forms.CheckBox(); this.EnableClientLayoutTrackingCheckBox = new System.Windows.Forms.CheckBox();
@@ -82,6 +84,8 @@ namespace EveOPreview.UI
ZoomAnchorLabel = new System.Windows.Forms.Label(); ZoomAnchorLabel = new System.Windows.Forms.Label();
ThumbnailsListPanel = new System.Windows.Forms.Panel(); ThumbnailsListPanel = new System.Windows.Forms.Panel();
ThumbnailsListLabel = new System.Windows.Forms.Label(); ThumbnailsListLabel = new System.Windows.Forms.Label();
TitleMenuItem = new System.Windows.Forms.ToolStripMenuItem();
SeparatorMenuItem = new System.Windows.Forms.ToolStripSeparator();
ContentFlowLayoutPanel.SuspendLayout(); ContentFlowLayoutPanel.SuspendLayout();
OpacityPanel.SuspendLayout(); OpacityPanel.SuspendLayout();
ResizeOptionsPanel.SuspendLayout(); ResizeOptionsPanel.SuspendLayout();
@@ -106,14 +110,14 @@ namespace EveOPreview.UI
// RestoreWindowMenuItem // RestoreWindowMenuItem
// //
RestoreWindowMenuItem.Name = "RestoreWindowMenuItem"; RestoreWindowMenuItem.Name = "RestoreWindowMenuItem";
RestoreWindowMenuItem.Size = new System.Drawing.Size(113, 22); RestoreWindowMenuItem.Size = new System.Drawing.Size(151, 22);
RestoreWindowMenuItem.Text = "Restore"; RestoreWindowMenuItem.Text = "Restore";
RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler); RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler);
// //
// ExitMenuItem // ExitMenuItem
// //
ExitMenuItem.Name = "ExitMenuItem"; ExitMenuItem.Name = "ExitMenuItem";
ExitMenuItem.Size = new System.Drawing.Size(113, 22); ExitMenuItem.Size = new System.Drawing.Size(151, 22);
ExitMenuItem.Text = "Exit"; ExitMenuItem.Text = "Exit";
ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler); ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler);
// //
@@ -588,10 +592,24 @@ namespace EveOPreview.UI
// TrayMenu // TrayMenu
// //
this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
TitleMenuItem,
RestoreWindowMenuItem, RestoreWindowMenuItem,
SeparatorMenuItem,
ExitMenuItem}); ExitMenuItem});
this.TrayMenu.Name = "contextMenuStrip1"; this.TrayMenu.Name = "contextMenuStrip1";
this.TrayMenu.Size = new System.Drawing.Size(114, 48); this.TrayMenu.Size = new System.Drawing.Size(152, 76);
//
// TitleMenuItem
//
TitleMenuItem.Enabled = false;
TitleMenuItem.Name = "TitleMenuItem";
TitleMenuItem.Size = new System.Drawing.Size(151, 22);
TitleMenuItem.Text = "EVE-O Preview";
//
// SeparatorMenuItem
//
SeparatorMenuItem.Name = "SeparatorMenuItem";
SeparatorMenuItem.Size = new System.Drawing.Size(148, 6);
// //
// MainForm // MainForm
// //
@@ -605,7 +623,7 @@ namespace EveOPreview.UI
this.Margin = new System.Windows.Forms.Padding(0); this.Margin = new System.Windows.Forms.Padding(0);
this.MaximizeBox = false; this.MaximizeBox = false;
this.Name = "MainForm"; this.Name = "MainForm";
this.Text = "EVE Online previewer"; this.Text = "EVE-O Preview";
this.TopMost = true; this.TopMost = true;
this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler);

View File

@@ -261,6 +261,12 @@
<metadata name="TrayMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="TrayMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>123, 17</value> <value>123, 17</value>
</metadata> </metadata>
<metadata name="TitleMenuItem.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="SeparatorMenuItem.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="NotifyIcon.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="NotifyIcon.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>