From 7bf61228450b78caa3ce52f3171cdad1216db4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=B5=D0=BE=D1=80=D0=B3=D0=B8=D0=B9=20=D0=A6=D1=8B?= =?UTF-8?q?=D1=80=D0=BA=D0=BE=D0=B2?= Date: Tue, 27 Sep 2016 03:52:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A8=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20WF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 63 ++++++++++ tiSTLviewer/tiSTLviewer.sln | 22 ++++ tiSTLviewer/tiSTLviewer/App.config | 6 + tiSTLviewer/tiSTLviewer/Form1.Designer.cs | 39 ++++++ tiSTLviewer/tiSTLviewer/Form1.cs | 20 +++ tiSTLviewer/tiSTLviewer/Program.cs | 22 ++++ .../tiSTLviewer/Properties/AssemblyInfo.cs | 36 ++++++ .../Properties/Resources.Designer.cs | 71 +++++++++++ .../tiSTLviewer/Properties/Resources.resx | 117 ++++++++++++++++++ .../Properties/Settings.Designer.cs | 30 +++++ .../tiSTLviewer/Properties/Settings.settings | 7 ++ tiSTLviewer/tiSTLviewer/tiSTLviewer.csproj | 87 +++++++++++++ 12 files changed, 520 insertions(+) create mode 100644 .gitattributes create mode 100644 tiSTLviewer/tiSTLviewer.sln create mode 100644 tiSTLviewer/tiSTLviewer/App.config create mode 100644 tiSTLviewer/tiSTLviewer/Form1.Designer.cs create mode 100644 tiSTLviewer/tiSTLviewer/Form1.cs create mode 100644 tiSTLviewer/tiSTLviewer/Program.cs create mode 100644 tiSTLviewer/tiSTLviewer/Properties/AssemblyInfo.cs create mode 100644 tiSTLviewer/tiSTLviewer/Properties/Resources.Designer.cs create mode 100644 tiSTLviewer/tiSTLviewer/Properties/Resources.resx create mode 100644 tiSTLviewer/tiSTLviewer/Properties/Settings.Designer.cs create mode 100644 tiSTLviewer/tiSTLviewer/Properties/Settings.settings create mode 100644 tiSTLviewer/tiSTLviewer/tiSTLviewer.csproj diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/tiSTLviewer/tiSTLviewer.sln b/tiSTLviewer/tiSTLviewer.sln new file mode 100644 index 0000000..6fe4012 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tiSTLviewer", "tiSTLviewer\tiSTLviewer.csproj", "{846C3400-5050-4BAB-B59A-BE32A1612590}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {846C3400-5050-4BAB-B59A-BE32A1612590}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {846C3400-5050-4BAB-B59A-BE32A1612590}.Debug|Any CPU.Build.0 = Debug|Any CPU + {846C3400-5050-4BAB-B59A-BE32A1612590}.Release|Any CPU.ActiveCfg = Release|Any CPU + {846C3400-5050-4BAB-B59A-BE32A1612590}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/tiSTLviewer/tiSTLviewer/App.config b/tiSTLviewer/tiSTLviewer/App.config new file mode 100644 index 0000000..88fa402 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/tiSTLviewer/tiSTLviewer/Form1.Designer.cs b/tiSTLviewer/tiSTLviewer/Form1.Designer.cs new file mode 100644 index 0000000..8ae19dd --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace tiSTLviewer +{ + 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() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/tiSTLviewer/tiSTLviewer/Form1.cs b/tiSTLviewer/tiSTLviewer/Form1.cs new file mode 100644 index 0000000..7b134d8 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/Form1.cs @@ -0,0 +1,20 @@ +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; + +namespace tiSTLviewer +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/tiSTLviewer/tiSTLviewer/Program.cs b/tiSTLviewer/tiSTLviewer/Program.cs new file mode 100644 index 0000000..b2952f2 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace tiSTLviewer +{ + 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/tiSTLviewer/tiSTLviewer/Properties/AssemblyInfo.cs b/tiSTLviewer/tiSTLviewer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cc12345 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/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("tiSTLviewer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("tiSTLviewer")] +[assembly: AssemblyCopyright("Copyright © 2016")] +[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("846c3400-5050-4bab-b59a-be32a1612590")] + +// 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/tiSTLviewer/tiSTLviewer/Properties/Resources.Designer.cs b/tiSTLviewer/tiSTLviewer/Properties/Resources.Designer.cs new file mode 100644 index 0000000..4eeedae --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/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 tiSTLviewer.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("tiSTLviewer.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/tiSTLviewer/tiSTLviewer/Properties/Resources.resx b/tiSTLviewer/tiSTLviewer/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/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/tiSTLviewer/tiSTLviewer/Properties/Settings.Designer.cs b/tiSTLviewer/tiSTLviewer/Properties/Settings.Designer.cs new file mode 100644 index 0000000..f0c2ba5 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/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 tiSTLviewer.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/tiSTLviewer/tiSTLviewer/Properties/Settings.settings b/tiSTLviewer/tiSTLviewer/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tiSTLviewer/tiSTLviewer/tiSTLviewer.csproj b/tiSTLviewer/tiSTLviewer/tiSTLviewer.csproj new file mode 100644 index 0000000..ac158d6 --- /dev/null +++ b/tiSTLviewer/tiSTLviewer/tiSTLviewer.csproj @@ -0,0 +1,87 @@ + + + + + Debug + AnyCPU + {846C3400-5050-4BAB-B59A-BE32A1612590} + WinExe + Properties + tiSTLviewer + tiSTLviewer + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + \ No newline at end of file