From a913f006708312fa844d304641b207e9ff730b30 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 8 May 2015 11:55:09 -0700 Subject: Windows WebControl based wrapper for web UI. --- windows/WebUIWrapper/Properties/AssemblyInfo.cs | 36 +++++++ .../WebUIWrapper/Properties/Resources.Designer.cs | 71 +++++++++++++ windows/WebUIWrapper/Properties/Resources.resx | 117 +++++++++++++++++++++ .../WebUIWrapper/Properties/Settings.Designer.cs | 30 ++++++ windows/WebUIWrapper/Properties/Settings.settings | 7 ++ windows/WebUIWrapper/Properties/app.manifest | 52 +++++++++ 6 files changed, 313 insertions(+) create mode 100644 windows/WebUIWrapper/Properties/AssemblyInfo.cs create mode 100644 windows/WebUIWrapper/Properties/Resources.Designer.cs create mode 100644 windows/WebUIWrapper/Properties/Resources.resx create mode 100644 windows/WebUIWrapper/Properties/Settings.Designer.cs create mode 100644 windows/WebUIWrapper/Properties/Settings.settings create mode 100644 windows/WebUIWrapper/Properties/app.manifest (limited to 'windows/WebUIWrapper/Properties') diff --git a/windows/WebUIWrapper/Properties/AssemblyInfo.cs b/windows/WebUIWrapper/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..b097a358 --- /dev/null +++ b/windows/WebUIWrapper/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("WebUIWrapper")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WebUIWrapper")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[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("98eb6dae-d218-4a8c-9935-a0ccdca3e936")] + +// 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/windows/WebUIWrapper/Properties/Resources.Designer.cs b/windows/WebUIWrapper/Properties/Resources.Designer.cs new file mode 100644 index 00000000..2419dce3 --- /dev/null +++ b/windows/WebUIWrapper/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebUIWrapper.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("WebUIWrapper.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/windows/WebUIWrapper/Properties/Resources.resx b/windows/WebUIWrapper/Properties/Resources.resx new file mode 100644 index 00000000..af7dbebb --- /dev/null +++ b/windows/WebUIWrapper/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/windows/WebUIWrapper/Properties/Settings.Designer.cs b/windows/WebUIWrapper/Properties/Settings.Designer.cs new file mode 100644 index 00000000..8eb61166 --- /dev/null +++ b/windows/WebUIWrapper/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace WebUIWrapper.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/windows/WebUIWrapper/Properties/Settings.settings b/windows/WebUIWrapper/Properties/Settings.settings new file mode 100644 index 00000000..39645652 --- /dev/null +++ b/windows/WebUIWrapper/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/windows/WebUIWrapper/Properties/app.manifest b/windows/WebUIWrapper/Properties/app.manifest new file mode 100644 index 00000000..4e1881fb --- /dev/null +++ b/windows/WebUIWrapper/Properties/app.manifest @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 92ca53e14113f3243d1516fe3c4c841aa967626d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 8 May 2015 12:16:02 -0700 Subject: Add pre-build signed UI wrapper .exe. --- ext/win-ui-wrapper/ZeroTier One.exe | Bin 0 -> 761304 bytes windows/WebUIWrapper/Properties/AssemblyInfo.cs | 10 ++--- .../WebUIWrapper/Properties/Resources.Designer.cs | 42 +++++++++------------ .../WebUIWrapper/Properties/Settings.Designer.cs | 20 ++++------ windows/WebUIWrapper/WebUIWrapper.csproj | 1 + 5 files changed, 31 insertions(+), 42 deletions(-) create mode 100644 ext/win-ui-wrapper/ZeroTier One.exe (limited to 'windows/WebUIWrapper/Properties') diff --git a/ext/win-ui-wrapper/ZeroTier One.exe b/ext/win-ui-wrapper/ZeroTier One.exe new file mode 100644 index 00000000..6abbc129 Binary files /dev/null and b/ext/win-ui-wrapper/ZeroTier One.exe differ diff --git a/windows/WebUIWrapper/Properties/AssemblyInfo.cs b/windows/WebUIWrapper/Properties/AssemblyInfo.cs index b097a358..5573fc09 100644 --- a/windows/WebUIWrapper/Properties/AssemblyInfo.cs +++ b/windows/WebUIWrapper/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ 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("WebUIWrapper")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyTitle("ZeroTier One")] +[assembly: AssemblyDescription("UI Wrapper")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("WebUIWrapper")] -[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyCompany("ZeroTier, Inc.")] +[assembly: AssemblyProduct("ZeroTier One")] +[assembly: AssemblyCopyright("Copyright ©2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/windows/WebUIWrapper/Properties/Resources.Designer.cs b/windows/WebUIWrapper/Properties/Resources.Designer.cs index 2419dce3..463c7ea3 100644 --- a/windows/WebUIWrapper/Properties/Resources.Designer.cs +++ b/windows/WebUIWrapper/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace WebUIWrapper.Properties -{ - - +namespace WebUIWrapper.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -22,48 +22,40 @@ namespace WebUIWrapper.Properties [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 - { - + 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() - { + 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)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WebUIWrapper.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 - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/windows/WebUIWrapper/Properties/Settings.Designer.cs b/windows/WebUIWrapper/Properties/Settings.Designer.cs index 8eb61166..8115e015 100644 --- a/windows/WebUIWrapper/Properties/Settings.Designer.cs +++ b/windows/WebUIWrapper/Properties/Settings.Designer.cs @@ -8,21 +8,17 @@ // //------------------------------------------------------------------------------ -namespace WebUIWrapper.Properties -{ - - +namespace WebUIWrapper.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 - { - + 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 - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/windows/WebUIWrapper/WebUIWrapper.csproj b/windows/WebUIWrapper/WebUIWrapper.csproj index c541bce9..44fef263 100644 --- a/windows/WebUIWrapper/WebUIWrapper.csproj +++ b/windows/WebUIWrapper/WebUIWrapper.csproj @@ -97,6 +97,7 @@ True Resources.resx + True -- cgit v1.2.3