diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs index 4181be3..7efada8 100644 --- a/MainForm.Designer.cs +++ b/MainForm.Designer.cs @@ -171,11 +171,9 @@ namespace VideoPreview this.textBox1.BackColor = System.Drawing.Color.Transparent; this.textBox1.FileDialog = null; this.textBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); - this.textBox1.HighlightImage = ((System.Drawing.Image)(resources.GetObject("textBox1.HighlightImage"))); this.textBox1.Location = new System.Drawing.Point(111, 9); this.textBox1.Margin = new System.Windows.Forms.Padding(10, 0, 0, 10); this.textBox1.Name = "textBox1"; - this.textBox1.NormalImage = ((System.Drawing.Image)(resources.GetObject("textBox1.NormalImage"))); this.textBox1.Padding = new System.Windows.Forms.Padding(10, 9, 9, 9); this.textBox1.Size = new System.Drawing.Size(334, 34); this.textBox1.SubmitButton = null; @@ -186,14 +184,11 @@ namespace VideoPreview // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button2.BackColor = System.Drawing.Color.Transparent; - this.button2.DefaultImage = ((System.Drawing.Image)(resources.GetObject("button2.DefaultImage"))); - this.button2.DownImage = ((System.Drawing.Image)(resources.GetObject("button2.DownImage"))); this.button2.IsSelected = false; this.button2.LabelText = ""; this.button2.Location = new System.Drawing.Point(12, 705); this.button2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 10); this.button2.Name = "button2"; - this.button2.OverImage = ((System.Drawing.Image)(resources.GetObject("button2.OverImage"))); this.button2.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3); this.button2.Size = new System.Drawing.Size(37, 37); this.button2.TabIndex = 17; @@ -204,14 +199,11 @@ namespace VideoPreview // this.button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button3.BackColor = System.Drawing.Color.Transparent; - this.button3.DefaultImage = ((System.Drawing.Image)(resources.GetObject("button3.DefaultImage"))); - this.button3.DownImage = ((System.Drawing.Image)(resources.GetObject("button3.DownImage"))); this.button3.IsSelected = false; this.button3.LabelText = ""; this.button3.Location = new System.Drawing.Point(53, 705); this.button3.Margin = new System.Windows.Forms.Padding(10, 0, 10, 10); this.button3.Name = "button3"; - this.button3.OverImage = ((System.Drawing.Image)(resources.GetObject("button3.OverImage"))); this.button3.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3); this.button3.Size = new System.Drawing.Size(35, 37); this.button3.TabIndex = 23; @@ -222,14 +214,11 @@ namespace VideoPreview // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button4.BackColor = System.Drawing.Color.Transparent; - this.button4.DefaultImage = ((System.Drawing.Image)(resources.GetObject("button4.DefaultImage"))); - this.button4.DownImage = ((System.Drawing.Image)(resources.GetObject("button4.DownImage"))); this.button4.IsSelected = false; this.button4.LabelText = ""; this.button4.Location = new System.Drawing.Point(94, 705); this.button4.Margin = new System.Windows.Forms.Padding(10, 0, 10, 10); this.button4.Name = "button4"; - this.button4.OverImage = ((System.Drawing.Image)(resources.GetObject("button4.OverImage"))); this.button4.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3); this.button4.Size = new System.Drawing.Size(37, 37); this.button4.TabIndex = 24; diff --git a/MainForm.cs b/MainForm.cs index c0f9323..a845e27 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -27,6 +27,15 @@ namespace VideoPreview { InitializeComponent(); + textBox1.NormalImage = UIcon.GetIcon("file", 16, UIcon.IconState.Idle); + textBox1.HighlightImage = UIcon.GetIcon("file", 16, UIcon.IconState.Hover); + button2.DefaultImage = button2.DownImage = UIcon.GetIcon("settings", 16, UIcon.IconState.Idle); + button2.OverImage = UIcon.GetIcon("settings", 16, UIcon.IconState.Hover); + button3.DefaultImage = button3.DownImage = UIcon.GetIcon("refresh-cw", 16, UIcon.IconState.Idle); + button3.OverImage = UIcon.GetIcon("refresh-cw", 16, UIcon.IconState.Hover); + button4.DefaultImage = button4.DownImage = UIcon.GetIcon("arrow-right-circle", 16, UIcon.IconState.Idle); + button4.OverImage = UIcon.GetIcon("arrow-right-circle", 16, UIcon.IconState.Hover); + randy = new Random(); textBox1.InnerTextBox.ReadOnly = true; @@ -61,7 +70,7 @@ namespace VideoPreview { isBusy = value; - ThreadControl.SetValue(pictureBox1, (isBusy ? RyzStudio.UIResource.loading_block : null)); + ThreadControl.SetValue(pictureBox1, (isBusy ? UIcon.GetImage("loading_block") : null)); ThreadControl.SetEnable(textBox1, !isBusy); ThreadControl.SetEnable(button1, !isBusy); ThreadControl.SetEnable(button2, !isBusy); diff --git a/MainForm.resx b/MainForm.resx index 8ed59e9..715cf87 100644 --- a/MainForm.resx +++ b/MainForm.resx @@ -1,4 +1,64 @@ - + + + @@ -52,144 +112,19 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vAAADrwBlbxySQAAAK9JREFUOE/t0zsKwkAURuGp1BWJK3EhIrgAV+EOLLWwtRQLwQdiIbbiIkwynj+O - IVwnyhR2XvjyInNIkXHee8f0cEQBPbDOaKEarSvXhsAJO4wirlB4jipiA3phoIvIrLFChhnKiA3o8Ckw - RR93LNBODVwwwRL62kNKYIxNzQ1FSsDOEHk08HrYJMw/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PC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAVBJREFUOE+Vk0FOwlAYhBsXLNSTgFfRFXu9ghcgYKJLagSWbhGPoIk36KZpywlc - 10TcqanflGktFkyYZNL3Zub/8/f1NfiLLMu6aZqOE8Dz3RRCvJ5jbWB2qLnj+UX4DT7AkYi2kCbPmY7L - 1pBA4MXFoziOj2zVwDvGu3JG2d8mCBMZ8MzSTiijrCaphJ6FYSk0gN6n+bm3NTSlamBXmxDmO8a+xivg - paUSyqLpnEI1EOb2NlAUxQFN7vFbTZj4ESZq8NEc32M/VWT/DF9ZF8vlcuqYGgxVu1cDOHGsarBSgwzu - /QroC5okWtxi5lEUHdqrgX+zrbhxiOOA9zph8U2jgf0aaH144W0N8tVnXF9thBn8hKel8A8oKi8S2fo8 - JJZXWU1YD7a9jsbWwbl48yoLbjJzIIdzFYhaS7M3bRU3oTMhoIPV19GvvPJ6y+8cBD/MdMJz9za4mgAA - AABJRU5ErkJggg== - - - + 114, 17 - + + AAABAAQAMDAAAAEAIACoJQAARgAAACAgAAABACAAqBAAAO4lAAAYGAAAAQAgAIgJAACWNgAAEBAAAAEA diff --git a/Program.cs b/Program.cs index 79d1084..82231cb 100644 --- a/Program.cs +++ b/Program.cs @@ -1,7 +1,5 @@ +using RyzStudio.IO; using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using System.Windows.Forms; namespace VideoPreview @@ -14,6 +12,8 @@ namespace VideoPreview [STAThread] static void Main() { + UIcon.UIResource = typeof(UIResource); + Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); diff --git a/References/RyzStudio3.dll b/References/RyzStudio3.dll index 7fa0e80..4d9321c 100644 Binary files a/References/RyzStudio3.dll and b/References/RyzStudio3.dll differ diff --git a/Resources/arrow-right-circle-2.png b/Resources/arrow-right-circle-2.png new file mode 100644 index 0000000..bde1708 Binary files /dev/null and b/Resources/arrow-right-circle-2.png differ diff --git a/Resources/arrow-right-circle.png b/Resources/arrow-right-circle.png new file mode 100644 index 0000000..01f3573 Binary files /dev/null and b/Resources/arrow-right-circle.png differ diff --git a/Resources/file-2.png b/Resources/file-2.png new file mode 100644 index 0000000..704a111 Binary files /dev/null and b/Resources/file-2.png differ diff --git a/Resources/file.png b/Resources/file.png new file mode 100644 index 0000000..d57f91f Binary files /dev/null and b/Resources/file.png differ diff --git a/Resources/loading-block.gif b/Resources/loading-block.gif new file mode 100644 index 0000000..a5aa827 Binary files /dev/null and b/Resources/loading-block.gif differ diff --git a/Resources/refresh-cw-2.png b/Resources/refresh-cw-2.png new file mode 100644 index 0000000..d10f3d2 Binary files /dev/null and b/Resources/refresh-cw-2.png differ diff --git a/Resources/refresh-cw.png b/Resources/refresh-cw.png new file mode 100644 index 0000000..187e7ba Binary files /dev/null and b/Resources/refresh-cw.png differ diff --git a/Resources/settings-2.png b/Resources/settings-2.png new file mode 100644 index 0000000..b349e57 Binary files /dev/null and b/Resources/settings-2.png differ diff --git a/Resources/settings.png b/Resources/settings.png new file mode 100644 index 0000000..2d8003f Binary files /dev/null and b/Resources/settings.png differ diff --git a/UIResource.Designer.cs b/UIResource.Designer.cs new file mode 100644 index 0000000..2df38e8 --- /dev/null +++ b/UIResource.Designer.cs @@ -0,0 +1,153 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace VideoPreview { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class UIResource { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal UIResource() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("VideoPreview.UIResource", typeof(UIResource).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + public static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap arrow_right_circle { + get { + object obj = ResourceManager.GetObject("arrow_right_circle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap arrow_right_circle_2 { + get { + object obj = ResourceManager.GetObject("arrow_right_circle_2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap file { + get { + object obj = ResourceManager.GetObject("file", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap file_2 { + get { + object obj = ResourceManager.GetObject("file_2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap loading_block { + get { + object obj = ResourceManager.GetObject("loading_block", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap refresh_cw { + get { + object obj = ResourceManager.GetObject("refresh_cw", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap refresh_cw_2 { + get { + object obj = ResourceManager.GetObject("refresh_cw_2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap settings { + get { + object obj = ResourceManager.GetObject("settings", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap settings_2 { + get { + object obj = ResourceManager.GetObject("settings_2", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/UIResource.resx b/UIResource.resx new file mode 100644 index 0000000..1f0b7eb --- /dev/null +++ b/UIResource.resx @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + Resources\arrow-right-circle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\arrow-right-circle-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\file.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\file-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\loading-block.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\refresh-cw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\refresh-cw-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\settings-2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/VideoPreview.csproj b/VideoPreview.csproj index 99f4b6a..3481123 100644 --- a/VideoPreview.csproj +++ b/VideoPreview.csproj @@ -11,7 +11,7 @@ Ray Lam favicon.ico true - 0.1.1.022 + 0.1.2.007 @@ -19,6 +19,10 @@ false + + x64 + + @@ -31,19 +35,47 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -54,6 +86,11 @@ True AppResource.resx + + True + True + UIResource.resx + @@ -61,6 +98,10 @@ ResXFileCodeGenerator AppResource.Designer.cs + + PublicResXFileCodeGenerator + UIResource.Designer.cs +