From feb0f7b16b6de0f83958061e25e9effab65f2c3f Mon Sep 17 00:00:00 2001 From: Ian Burgmyer Date: Fri, 7 Jun 2019 11:44:11 -0400 Subject: [PATCH] Initial commit. * Visual Studio solution and project, complete with a shiny .gitignore. * Has enough features to create and copy GUID strings. * Pretty much intended for use with Pane plugins, and it shows. :P * MIT license (naturally). --- .gitignore | 261 ++++++++++++++++++++++++++++ GUIDacious.sln | 25 +++ GUIDacious/App.config | 6 + GUIDacious/GUIDacious.csproj | 83 +++++++++ GUIDacious/GuidForm.Designer.cs | 195 +++++++++++++++++++++ GUIDacious/GuidForm.cs | 62 +++++++ GUIDacious/GuidForm.resx | 120 +++++++++++++ GUIDacious/Program.cs | 19 ++ GUIDacious/Properties/AssemblyInfo.cs | 36 ++++ GUIDacious/Properties/Resources.Designer.cs | 62 +++++++ GUIDacious/Properties/Resources.resx | 117 +++++++++++++ GUIDacious/Properties/Settings.Designer.cs | 26 +++ GUIDacious/Properties/Settings.settings | 7 + LICENSE | 19 ++ 14 files changed, 1038 insertions(+) create mode 100644 .gitignore create mode 100644 GUIDacious.sln create mode 100644 GUIDacious/App.config create mode 100644 GUIDacious/GUIDacious.csproj create mode 100644 GUIDacious/GuidForm.Designer.cs create mode 100644 GUIDacious/GuidForm.cs create mode 100644 GUIDacious/GuidForm.resx create mode 100644 GUIDacious/Program.cs create mode 100644 GUIDacious/Properties/AssemblyInfo.cs create mode 100644 GUIDacious/Properties/Resources.Designer.cs create mode 100644 GUIDacious/Properties/Resources.resx create mode 100644 GUIDacious/Properties/Settings.Designer.cs create mode 100644 GUIDacious/Properties/Settings.settings create mode 100644 LICENSE diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c4efe2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,261 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +project.fragment.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +#*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignoreable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc \ No newline at end of file diff --git a/GUIDacious.sln b/GUIDacious.sln new file mode 100644 index 0000000..60d6d2e --- /dev/null +++ b/GUIDacious.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29001.49 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUIDacious", "GUIDacious\GUIDacious.csproj", "{B6AFEBDE-570F-42AC-B34D-D78B1872628C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B6AFEBDE-570F-42AC-B34D-D78B1872628C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B6AFEBDE-570F-42AC-B34D-D78B1872628C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B6AFEBDE-570F-42AC-B34D-D78B1872628C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B6AFEBDE-570F-42AC-B34D-D78B1872628C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {799047DC-E47C-4A3C-BFBB-FE6914DF247A} + EndGlobalSection +EndGlobal diff --git a/GUIDacious/App.config b/GUIDacious/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/GUIDacious/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/GUIDacious/GUIDacious.csproj b/GUIDacious/GUIDacious.csproj new file mode 100644 index 0000000..acec6f5 --- /dev/null +++ b/GUIDacious/GUIDacious.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {B6AFEBDE-570F-42AC-B34D-D78B1872628C} + WinExe + GUIDacious + GUIDacious + 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 + + + GuidForm.cs + + + + + GuidForm.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/GUIDacious/GuidForm.Designer.cs b/GUIDacious/GuidForm.Designer.cs new file mode 100644 index 0000000..334abb9 --- /dev/null +++ b/GUIDacious/GuidForm.Designer.cs @@ -0,0 +1,195 @@ +namespace GUIDacious { + partial class GuidForm { + /// + /// 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.NewGuidButton = new System.Windows.Forms.Button(); + this.CurrentGuidLabel = new System.Windows.Forms.Label(); + this.CurrentGuidDisplay = new System.Windows.Forms.Label(); + this.GuidFormatBox = new System.Windows.Forms.TextBox(); + this.CopyButton = new System.Windows.Forms.Button(); + this.FormatsGroup = new System.Windows.Forms.GroupBox(); + this.FormatComponentsUpper = new System.Windows.Forms.RadioButton(); + this.FormatStringUpper = new System.Windows.Forms.RadioButton(); + this.FormatNewGuid = new System.Windows.Forms.RadioButton(); + this.FormatComponentsLower = new System.Windows.Forms.RadioButton(); + this.FormatStringLower = new System.Windows.Forms.RadioButton(); + this.FormatsGroup.SuspendLayout(); + this.SuspendLayout(); + // + // NewGuidButton + // + this.NewGuidButton.Location = new System.Drawing.Point(12, 12); + this.NewGuidButton.Name = "NewGuidButton"; + this.NewGuidButton.Size = new System.Drawing.Size(75, 23); + this.NewGuidButton.TabIndex = 0; + this.NewGuidButton.Text = "&New GUID"; + this.NewGuidButton.UseVisualStyleBackColor = true; + this.NewGuidButton.Click += new System.EventHandler(this.NewGuidButton_Click); + // + // CurrentGuidLabel + // + this.CurrentGuidLabel.AutoSize = true; + this.CurrentGuidLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.CurrentGuidLabel.Location = new System.Drawing.Point(105, 17); + this.CurrentGuidLabel.Name = "CurrentGuidLabel"; + this.CurrentGuidLabel.Size = new System.Drawing.Size(87, 13); + this.CurrentGuidLabel.TabIndex = 1; + this.CurrentGuidLabel.Text = "Current GUID:"; + // + // CurrentGuidDisplay + // + this.CurrentGuidDisplay.AutoSize = true; + this.CurrentGuidDisplay.Location = new System.Drawing.Point(198, 17); + this.CurrentGuidDisplay.Name = "CurrentGuidDisplay"; + this.CurrentGuidDisplay.Size = new System.Drawing.Size(211, 13); + this.CurrentGuidDisplay.TabIndex = 2; + this.CurrentGuidDisplay.Text = "00000000-0000-0000-0000-000000000000"; + // + // GuidFormatBox + // + this.GuidFormatBox.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.GuidFormatBox.Location = new System.Drawing.Point(13, 160); + this.GuidFormatBox.Multiline = true; + this.GuidFormatBox.Name = "GuidFormatBox"; + this.GuidFormatBox.ReadOnly = true; + this.GuidFormatBox.Size = new System.Drawing.Size(397, 138); + this.GuidFormatBox.TabIndex = 4; + // + // CopyButton + // + this.CopyButton.Location = new System.Drawing.Point(298, 304); + this.CopyButton.Name = "CopyButton"; + this.CopyButton.Size = new System.Drawing.Size(112, 23); + this.CopyButton.TabIndex = 5; + this.CopyButton.Text = "&Copy to Clipboard"; + this.CopyButton.UseVisualStyleBackColor = true; + this.CopyButton.Click += new System.EventHandler(this.CopyButton_Click); + // + // FormatsGroup + // + this.FormatsGroup.Controls.Add(this.FormatComponentsUpper); + this.FormatsGroup.Controls.Add(this.FormatStringUpper); + this.FormatsGroup.Controls.Add(this.FormatNewGuid); + this.FormatsGroup.Controls.Add(this.FormatComponentsLower); + this.FormatsGroup.Controls.Add(this.FormatStringLower); + this.FormatsGroup.Location = new System.Drawing.Point(13, 41); + this.FormatsGroup.Name = "FormatsGroup"; + this.FormatsGroup.Size = new System.Drawing.Size(396, 113); + this.FormatsGroup.TabIndex = 3; + this.FormatsGroup.TabStop = false; + this.FormatsGroup.Text = "&Formats"; + // + // FormatComponentsUpper + // + this.FormatComponentsUpper.AutoSize = true; + this.FormatComponentsUpper.Location = new System.Drawing.Point(6, 88); + this.FormatComponentsUpper.Name = "FormatComponentsUpper"; + this.FormatComponentsUpper.Size = new System.Drawing.Size(143, 17); + this.FormatComponentsUpper.TabIndex = 4; + this.FormatComponentsUpper.Text = "Components (uppercase)"; + this.FormatComponentsUpper.UseVisualStyleBackColor = true; + this.FormatComponentsUpper.CheckedChanged += new System.EventHandler(this.Format_CheckedChanged); + // + // FormatStringUpper + // + this.FormatStringUpper.AutoSize = true; + this.FormatStringUpper.Location = new System.Drawing.Point(6, 42); + this.FormatStringUpper.Name = "FormatStringUpper"; + this.FormatStringUpper.Size = new System.Drawing.Size(111, 17); + this.FormatStringUpper.TabIndex = 3; + this.FormatStringUpper.Text = "String (uppercase)"; + this.FormatStringUpper.UseVisualStyleBackColor = true; + this.FormatStringUpper.CheckedChanged += new System.EventHandler(this.Format_CheckedChanged); + // + // FormatNewGuid + // + this.FormatNewGuid.AutoSize = true; + this.FormatNewGuid.Location = new System.Drawing.Point(205, 19); + this.FormatNewGuid.Name = "FormatNewGuid"; + this.FormatNewGuid.Size = new System.Drawing.Size(79, 17); + this.FormatNewGuid.TabIndex = 2; + this.FormatNewGuid.Text = "new Guid();"; + this.FormatNewGuid.UseVisualStyleBackColor = true; + this.FormatNewGuid.CheckedChanged += new System.EventHandler(this.Format_CheckedChanged); + // + // FormatComponentsLower + // + this.FormatComponentsLower.AutoSize = true; + this.FormatComponentsLower.Location = new System.Drawing.Point(6, 65); + this.FormatComponentsLower.Name = "FormatComponentsLower"; + this.FormatComponentsLower.Size = new System.Drawing.Size(141, 17); + this.FormatComponentsLower.TabIndex = 1; + this.FormatComponentsLower.Text = "Components (lowercase)"; + this.FormatComponentsLower.UseVisualStyleBackColor = true; + this.FormatComponentsLower.CheckedChanged += new System.EventHandler(this.Format_CheckedChanged); + // + // FormatStringLower + // + this.FormatStringLower.AutoSize = true; + this.FormatStringLower.Checked = true; + this.FormatStringLower.Location = new System.Drawing.Point(6, 19); + this.FormatStringLower.Name = "FormatStringLower"; + this.FormatStringLower.Size = new System.Drawing.Size(109, 17); + this.FormatStringLower.TabIndex = 0; + this.FormatStringLower.TabStop = true; + this.FormatStringLower.Text = "String (lowercase)"; + this.FormatStringLower.UseVisualStyleBackColor = true; + this.FormatStringLower.CheckedChanged += new System.EventHandler(this.Format_CheckedChanged); + // + // GuidForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(420, 339); + this.Controls.Add(this.FormatsGroup); + this.Controls.Add(this.CopyButton); + this.Controls.Add(this.GuidFormatBox); + this.Controls.Add(this.CurrentGuidDisplay); + this.Controls.Add(this.CurrentGuidLabel); + this.Controls.Add(this.NewGuidButton); + this.Name = "GuidForm"; + this.Text = "Form1"; + this.FormatsGroup.ResumeLayout(false); + this.FormatsGroup.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button NewGuidButton; + private System.Windows.Forms.Label CurrentGuidLabel; + private System.Windows.Forms.Label CurrentGuidDisplay; + private System.Windows.Forms.TextBox GuidFormatBox; + private System.Windows.Forms.Button CopyButton; + private System.Windows.Forms.GroupBox FormatsGroup; + private System.Windows.Forms.RadioButton FormatNewGuid; + private System.Windows.Forms.RadioButton FormatComponentsLower; + private System.Windows.Forms.RadioButton FormatStringLower; + private System.Windows.Forms.RadioButton FormatComponentsUpper; + private System.Windows.Forms.RadioButton FormatStringUpper; + } +} + diff --git a/GUIDacious/GuidForm.cs b/GUIDacious/GuidForm.cs new file mode 100644 index 0000000..52f4aa5 --- /dev/null +++ b/GUIDacious/GuidForm.cs @@ -0,0 +1,62 @@ +using System; +using System.Linq; +using System.Windows.Forms; + +namespace GUIDacious { + public partial class GuidForm : Form { + private Guid _currentGuid; + + private Guid CurrentGuid { + get => _currentGuid; + set { + _currentGuid = value; + RefreshView(); + } + } + + public GuidForm() { + InitializeComponent(); + NewGuid(); + } + + private string ComponentsString(bool upperCase = false) { + // Byte counts per components: 4, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1 + + var bytes = CurrentGuid.ToByteArray(); + var c0 = BitConverter.ToString(bytes.Take(4).ToArray()).Replace("-", ""); + var c1 = BitConverter.ToString(bytes.Skip(4).Take(2).ToArray()).Replace("-", ""); + var c2 = BitConverter.ToString(bytes.Skip(6).Take(2).ToArray()).Replace("-", ""); + var result = $"0x{c0}, 0x{c1}, 0x{c2}, 0x{bytes[8]:x2}, 0x{bytes[9]:x2}, 0x{bytes[10]:x2}, 0x{bytes[11]:x2}, 0x{bytes[12]:x2}, 0x{bytes[13]:x2}, 0x{bytes[14]:x2}, 0x{bytes[15]:x2}"; + + return upperCase + ? result.ToUpper().Replace("X", "x") + : result.ToLower(); + } + + private void CopyButton_Click(object sender, EventArgs e) => + Clipboard.SetText(GuidFormatBox.Text); + + private void Format_CheckedChanged(object sender, EventArgs e) => + RefreshView(); + + private void NewGuid() => CurrentGuid = Guid.NewGuid(); + + private void NewGuidButton_Click(object sender, EventArgs e) => NewGuid(); + + private void RefreshView() { + CurrentGuidDisplay.Text = CurrentGuid.ToString(); + + if(FormatStringLower.Checked) { + GuidFormatBox.Text = CurrentGuid.ToString(); + } else if(FormatStringUpper.Checked) { + GuidFormatBox.Text = CurrentGuid.ToString().ToUpper(); + } else if(FormatComponentsLower.Checked) { + GuidFormatBox.Text = ComponentsString(); + } else if(FormatComponentsUpper.Checked) { + GuidFormatBox.Text = ComponentsString(true); + } else if(FormatNewGuid.Checked) { + GuidFormatBox.Text = $"new Guid({ComponentsString()});"; + } + } + } +} diff --git a/GUIDacious/GuidForm.resx b/GUIDacious/GuidForm.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/GUIDacious/GuidForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/GUIDacious/Program.cs b/GUIDacious/Program.cs new file mode 100644 index 0000000..ce99c3d --- /dev/null +++ b/GUIDacious/Program.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace GUIDacious { + static class Program { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new GuidForm()); + } + } +} diff --git a/GUIDacious/Properties/AssemblyInfo.cs b/GUIDacious/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cf66b15 --- /dev/null +++ b/GUIDacious/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("GUIDacious")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("GUIDacious")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[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("b6afebde-570f-42ac-b34d-d78b1872628c")] + +// 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/GUIDacious/Properties/Resources.Designer.cs b/GUIDacious/Properties/Resources.Designer.cs new file mode 100644 index 0000000..d988c87 --- /dev/null +++ b/GUIDacious/Properties/Resources.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// 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 GUIDacious.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("GUIDacious.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/GUIDacious/Properties/Resources.resx b/GUIDacious/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/GUIDacious/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/GUIDacious/Properties/Settings.Designer.cs b/GUIDacious/Properties/Settings.Designer.cs new file mode 100644 index 0000000..a8cdbc7 --- /dev/null +++ b/GUIDacious/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// 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 GUIDacious.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/GUIDacious/Properties/Settings.settings b/GUIDacious/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/GUIDacious/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dd6ca18 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2019 Ian J. Burgmyer + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.