From ab0b91c51e42bea35e641452f9da90897696c75a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 30 Sep 2006 20:10:10 +0000 Subject: [PATCH] --- .../OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj | 9 ++-- .../Lesson01/Properties/Resources.Designer.cs | 44 ++++++++----------- .../Lesson01/Properties/Settings.Designer.cs | 20 ++++----- 3 files changed, 31 insertions(+), 42 deletions(-) diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj b/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj index 5ce40234..45e9b1f2 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj +++ b/Source/Examples/OpenGL/GLSL/Lesson01/GLSL.Lesson01.csproj @@ -7,14 +7,14 @@ {46980D11-67FA-4B33-903F-BC9D8A4FE60F} WinExe Properties - Lesson01 - Lesson01 + GLSL.Lesson01 + GLSL.Lesson01 true full false - bin\Debug\ + ..\..\..\..\..\Binaries\Debug\Examples\ DEBUG;TRACE prompt 4 @@ -22,7 +22,7 @@ pdbonly true - bin\Release\ + ..\..\..\..\..\Binaries\Release\Examples\ TRACE prompt 4 @@ -55,6 +55,7 @@ True Resources.resx + True SettingsSingleFileGenerator diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs index bd30a083..64315897 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace Lesson01.Properties -{ - - +namespace GLSL.Lesson01.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -22,48 +22,40 @@ namespace Lesson01.Properties [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.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)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Lesson01.Properties.Resources", typeof(Resources).Assembly); + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GLSL.Lesson01.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/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs index e399192e..1c8c6ba0 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Properties/Settings.Designer.cs @@ -8,21 +8,17 @@ // //------------------------------------------------------------------------------ -namespace Lesson01.Properties -{ - - +namespace GLSL.Lesson01.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.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; } }