diff --git a/PreviewHandler.Designer.cs b/PreviewHandler.Designer.cs index 50d8f62..3cd5e9a 100644 --- a/PreviewHandler.Designer.cs +++ b/PreviewHandler.Designer.cs @@ -45,7 +45,6 @@ namespace PreviewToy this.option_always_on_top = new System.Windows.Forms.CheckBox(); this.option_show_thumbnail_frames = new System.Windows.Forms.CheckBox(); this.forum_url = new System.Windows.Forms.LinkLabel(); - this.previewToyMainBindingSource = new System.Windows.Forms.BindingSource(this.components); this.option_sync_size_x = new System.Windows.Forms.TextBox(); this.option_sync_size_y = new System.Windows.Forms.TextBox(); this.option_zoom_on_hover = new System.Windows.Forms.CheckBox(); @@ -80,7 +79,7 @@ namespace PreviewToy this.contextMenuStrip_notifyIcon = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem_restore = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem_exit = new System.Windows.Forms.ToolStripMenuItem(); - ((System.ComponentModel.ISupportInitialize)(this.previewToyMainBindingSource)).BeginInit(); + this.previewToyMainBindingSource = new System.Windows.Forms.BindingSource(this.components); this.flowLayoutPanel1.SuspendLayout(); this.panel6.SuspendLayout(); this.panel1.SuspendLayout(); @@ -89,6 +88,7 @@ namespace PreviewToy this.panel5.SuspendLayout(); this.panel4.SuspendLayout(); this.contextMenuStrip_notifyIcon.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.previewToyMainBindingSource)).BeginInit(); this.SuspendLayout(); // // option_hide_active @@ -183,10 +183,6 @@ namespace PreviewToy this.forum_url.Text = "https://bitbucket.org/ulph/eve-o-preview-git"; this.forum_url.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // - // previewToyMainBindingSource - // - this.previewToyMainBindingSource.CurrentChanged += new System.EventHandler(this.previewToyMainBindingSource_CurrentChanged); - // // option_sync_size_x // this.option_sync_size_x.BackColor = System.Drawing.SystemColors.ControlDark; @@ -555,6 +551,10 @@ namespace PreviewToy this.toolStripMenuItem_exit.Text = "Exit"; this.toolStripMenuItem_exit.Click += new System.EventHandler(this.toolStripMenuItem_exit_Click); // + // previewToyMainBindingSource + // + this.previewToyMainBindingSource.CurrentChanged += new System.EventHandler(this.previewToyMainBindingSource_CurrentChanged); + // // PreviewToyHandler // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -571,7 +571,6 @@ namespace PreviewToy this.TopMost = true; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.Load += new System.EventHandler(this.GlassForm_Load); - ((System.ComponentModel.ISupportInitialize)(this.previewToyMainBindingSource)).EndInit(); this.flowLayoutPanel1.ResumeLayout(false); this.flowLayoutPanel1.PerformLayout(); this.panel6.ResumeLayout(false); @@ -587,6 +586,7 @@ namespace PreviewToy this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); this.contextMenuStrip_notifyIcon.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.previewToyMainBindingSource)).EndInit(); this.ResumeLayout(false); } diff --git a/PreviewHandler.resx b/PreviewHandler.resx index 47a47d8..d933aef 100644 --- a/PreviewHandler.resx +++ b/PreviewHandler.resx @@ -117,9 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - 237, 17 @@ -706,6 +703,9 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////////// + + 17, 17 + 182 diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index 865ebe0..bc8c639 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18034 +// Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -59,5 +59,15 @@ namespace PreviewToy.Properties { resourceCulture = value; } } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap icon { + get { + object obj = ResourceManager.GetObject("icon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } } } diff --git a/Properties/Resources.resx b/Properties/Resources.resx index ffecec8..d026a06 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,13 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/preview toy.csproj b/preview toy.csproj index f7ace58..b3eaada 100644 --- a/preview toy.csproj +++ b/preview toy.csproj @@ -77,6 +77,8 @@ LocalIntranet + + true @@ -173,6 +175,9 @@ true + + +