From 0818f7940696eefd27a42565cbf3d5ce784f4c55 Mon Sep 17 00:00:00 2001 From: boris Date: Fri, 9 Feb 2024 11:51:10 +0000 Subject: [PATCH] advanced file viewer initial commit --- advancedpictureviewer/App.config | 6 + advancedpictureviewer/Form1.Designer.cs | 219 ++++++++++++++++++ advancedpictureviewer/Form1.cs | 58 +++++ advancedpictureviewer/Form1.resx | 190 +++++++++++++++ advancedpictureviewer/Program.cs | 22 ++ .../Properties/AssemblyInfo.cs | 36 +++ .../Properties/Resources.Designer.cs | 71 ++++++ .../Properties/Resources.resx | 117 ++++++++++ .../Properties/Settings.Designer.cs | 30 +++ .../Properties/Settings.settings | 7 + .../advancedpictureviewer.csproj | 83 +++++++ .../advancedpictureviewer.sln | 25 ++ 12 files changed, 864 insertions(+) create mode 100644 advancedpictureviewer/App.config create mode 100644 advancedpictureviewer/Form1.Designer.cs create mode 100644 advancedpictureviewer/Form1.cs create mode 100644 advancedpictureviewer/Form1.resx create mode 100644 advancedpictureviewer/Program.cs create mode 100644 advancedpictureviewer/Properties/AssemblyInfo.cs create mode 100644 advancedpictureviewer/Properties/Resources.Designer.cs create mode 100644 advancedpictureviewer/Properties/Resources.resx create mode 100644 advancedpictureviewer/Properties/Settings.Designer.cs create mode 100644 advancedpictureviewer/Properties/Settings.settings create mode 100644 advancedpictureviewer/advancedpictureviewer.csproj create mode 100644 advancedpictureviewer/advancedpictureviewer.sln diff --git a/advancedpictureviewer/App.config b/advancedpictureviewer/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/advancedpictureviewer/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/advancedpictureviewer/Form1.Designer.cs b/advancedpictureviewer/Form1.Designer.cs new file mode 100644 index 0000000..ce22b0b --- /dev/null +++ b/advancedpictureviewer/Form1.Designer.cs @@ -0,0 +1,219 @@ +namespace advancedpictureviewer +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); + this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolButton_rotL = new System.Windows.Forms.ToolStripButton(); + this.toolButton_rotY = new System.Windows.Forms.ToolStripButton(); + this.toolButton_flipX = new System.Windows.Forms.ToolStripButton(); + this.toolButton_flipY = new System.Windows.Forms.ToolStripButton(); + this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.fileSizeLabel = new System.Windows.Forms.Label(); + this.toolStripContainer1.ContentPanel.SuspendLayout(); + this.toolStripContainer1.TopToolStripPanel.SuspendLayout(); + this.toolStripContainer1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.menuStrip1.SuspendLayout(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // toolStripContainer1 + // + // + // toolStripContainer1.ContentPanel + // + this.toolStripContainer1.ContentPanel.Controls.Add(this.fileSizeLabel); + this.toolStripContainer1.ContentPanel.Controls.Add(this.pictureBox1); + this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(384, 312); + this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); + this.toolStripContainer1.Name = "toolStripContainer1"; + this.toolStripContainer1.Size = new System.Drawing.Size(384, 361); + this.toolStripContainer1.TabIndex = 0; + this.toolStripContainer1.Text = "toolStripContainer1"; + // + // toolStripContainer1.TopToolStripPanel + // + this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1); + this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1); + // + // pictureBox1 + // + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(384, 312); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // menuStrip1 + // + this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(384, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.openToolStripMenuItem, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // openToolStripMenuItem + // + this.openToolStripMenuItem.Name = "openToolStripMenuItem"; + this.openToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.openToolStripMenuItem.Text = "Open"; + this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // toolStrip1 + // + this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None; + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolButton_rotL, + this.toolButton_rotY, + this.toolButton_flipX, + this.toolButton_flipY}); + this.toolStrip1.Location = new System.Drawing.Point(3, 24); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(233, 25); + this.toolStrip1.TabIndex = 1; + // + // toolButton_rotL + // + this.toolButton_rotL.Image = ((System.Drawing.Image)(resources.GetObject("toolButton_rotL.Image"))); + this.toolButton_rotL.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolButton_rotL.Name = "toolButton_rotL"; + this.toolButton_rotL.Size = new System.Drawing.Size(54, 22); + this.toolButton_rotL.Text = "Rot L"; + this.toolButton_rotL.Click += new System.EventHandler(this.toolButton_RotL_Click); + // + // toolButton_rotY + // + this.toolButton_rotY.Image = ((System.Drawing.Image)(resources.GetObject("toolButton_rotY.Image"))); + this.toolButton_rotY.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolButton_rotY.Name = "toolButton_rotY"; + this.toolButton_rotY.Size = new System.Drawing.Size(55, 22); + this.toolButton_rotY.Text = "Rot R"; + this.toolButton_rotY.Click += new System.EventHandler(this.toolButton_RotY_Click); + // + // toolButton_flipX + // + this.toolButton_flipX.Image = ((System.Drawing.Image)(resources.GetObject("toolButton_flipX.Image"))); + this.toolButton_flipX.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolButton_flipX.Name = "toolButton_flipX"; + this.toolButton_flipX.Size = new System.Drawing.Size(56, 22); + this.toolButton_flipX.Text = "Flip X"; + this.toolButton_flipX.Click += new System.EventHandler(this.toolButton_FlipX_Click); + // + // toolButton_flipY + // + this.toolButton_flipY.Image = ((System.Drawing.Image)(resources.GetObject("toolButton_flipY.Image"))); + this.toolButton_flipY.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolButton_flipY.Name = "toolButton_flipY"; + this.toolButton_flipY.Size = new System.Drawing.Size(56, 22); + this.toolButton_flipY.Text = "Flip Y"; + this.toolButton_flipY.Click += new System.EventHandler(this.toolButton_FlipY_Click); + // + // openFileDialog1 + // + this.openFileDialog1.FileName = "openFileDialog1"; + // + // fileSizeLabel + // + this.fileSizeLabel.AutoSize = true; + this.fileSizeLabel.Location = new System.Drawing.Point(337, 290); + this.fileSizeLabel.Name = "fileSizeLabel"; + this.fileSizeLabel.Size = new System.Drawing.Size(0, 13); + this.fileSizeLabel.TabIndex = 1; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(384, 361); + this.Controls.Add(this.toolStripContainer1); + this.MainMenuStrip = this.menuStrip1; + this.Name = "Form1"; + this.Text = "Form1"; + this.toolStripContainer1.ContentPanel.ResumeLayout(false); + this.toolStripContainer1.ContentPanel.PerformLayout(); + this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false); + this.toolStripContainer1.TopToolStripPanel.PerformLayout(); + this.toolStripContainer1.ResumeLayout(false); + this.toolStripContainer1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ToolStripContainer toolStripContainer1; + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton toolButton_rotL; + private System.Windows.Forms.ToolStripButton toolButton_rotY; + private System.Windows.Forms.ToolStripButton toolButton_flipX; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.ToolStripButton toolButton_flipY; + private System.Windows.Forms.OpenFileDialog openFileDialog1; + private System.Windows.Forms.Label fileSizeLabel; + } +} + diff --git a/advancedpictureviewer/Form1.cs b/advancedpictureviewer/Form1.cs new file mode 100644 index 0000000..61ed1ae --- /dev/null +++ b/advancedpictureviewer/Form1.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.IO; + +namespace advancedpictureviewer +{ + public partial class Form1 : Form + { + Bitmap bitmap1; + public Form1() + { + InitializeComponent(); + } + + private void openToolStripMenuItem_Click(object sender, EventArgs e) + { + openFileDialog1.ShowDialog(); + bitmap1 = (Bitmap)Bitmap.FromFile(openFileDialog1.FileName); + pictureBox1.Image = bitmap1; + fileSizeLabel.Text = openFileDialog1.FileName.Length.ToString(); + } + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + Application.Exit(); + } + + private void toolButton_FlipX_Click(object sender, EventArgs e) + { + bitmap1.RotateFlip(RotateFlipType.RotateNoneFlipX); + pictureBox1.Image = bitmap1; + } + + private void toolButton_FlipY_Click(object sender, EventArgs e) + { + bitmap1.RotateFlip(RotateFlipType.RotateNoneFlipY); + pictureBox1.Image = bitmap1; + } + + private void toolButton_RotY_Click(object sender, EventArgs e) + { + bitmap1.RotateFlip(RotateFlipType.Rotate270FlipNone); + pictureBox1.Image = bitmap1; + } + + private void toolButton_RotL_Click(object sender, EventArgs e) + { + bitmap1.RotateFlip(RotateFlipType.Rotate90FlipNone); + pictureBox1.Image = bitmap1; + } + } +} diff --git a/advancedpictureviewer/Form1.resx b/advancedpictureviewer/Form1.resx new file mode 100644 index 0000000..c91cec8 --- /dev/null +++ b/advancedpictureviewer/Form1.resx @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 132, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJ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ANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + 237, 17 + + \ No newline at end of file diff --git a/advancedpictureviewer/Program.cs b/advancedpictureviewer/Program.cs new file mode 100644 index 0000000..3751071 --- /dev/null +++ b/advancedpictureviewer/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace advancedpictureviewer +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/advancedpictureviewer/Properties/AssemblyInfo.cs b/advancedpictureviewer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8e40ec9 --- /dev/null +++ b/advancedpictureviewer/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("advancedpictureviewer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("advancedpictureviewer")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f865c025-eb0b-4813-b743-1db3473d7d0a")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/advancedpictureviewer/Properties/Resources.Designer.cs b/advancedpictureviewer/Properties/Resources.Designer.cs new file mode 100644 index 0000000..89f53a0 --- /dev/null +++ b/advancedpictureviewer/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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 advancedpictureviewer.Properties +{ + + + /// + /// 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", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("advancedpictureviewer.Properties.Resources", typeof(Resources).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)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/advancedpictureviewer/Properties/Resources.resx b/advancedpictureviewer/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/advancedpictureviewer/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/advancedpictureviewer/Properties/Settings.Designer.cs b/advancedpictureviewer/Properties/Settings.Designer.cs new file mode 100644 index 0000000..51c9679 --- /dev/null +++ b/advancedpictureviewer/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// 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 advancedpictureviewer.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/advancedpictureviewer/Properties/Settings.settings b/advancedpictureviewer/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/advancedpictureviewer/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/advancedpictureviewer/advancedpictureviewer.csproj b/advancedpictureviewer/advancedpictureviewer.csproj new file mode 100644 index 0000000..25db5fa --- /dev/null +++ b/advancedpictureviewer/advancedpictureviewer.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {F865C025-EB0B-4813-B743-1DB3473D7D0A} + WinExe + advancedpictureviewer + advancedpictureviewer + v4.7.2 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/advancedpictureviewer/advancedpictureviewer.sln b/advancedpictureviewer/advancedpictureviewer.sln new file mode 100644 index 0000000..9e6cbc3 --- /dev/null +++ b/advancedpictureviewer/advancedpictureviewer.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34330.188 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "advancedpictureviewer", "advancedpictureviewer.csproj", "{F865C025-EB0B-4813-B743-1DB3473D7D0A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F865C025-EB0B-4813-B743-1DB3473D7D0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F865C025-EB0B-4813-B743-1DB3473D7D0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F865C025-EB0B-4813-B743-1DB3473D7D0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F865C025-EB0B-4813-B743-1DB3473D7D0A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {EE6329C2-AEA2-4E6A-AE7B-34BB0639B2A1} + EndGlobalSection +EndGlobal