From d66421457584d2d22ce62a2d5da2aae1db5714af Mon Sep 17 00:00:00 2001 From: ataka Date: Sun, 31 May 2026 13:33:30 +0300 Subject: [PATCH] Add project files. --- CodingSandbox.slnx | 3 + UserPermissionTesting_CS_WinForms/App.config | 6 + .../Form1.Designer.cs | 40 ++++++ UserPermissionTesting_CS_WinForms/Form1.cs | 20 +++ UserPermissionTesting_CS_WinForms/Program.cs | 22 ++++ .../Properties/AssemblyInfo.cs | 33 +++++ .../Properties/Resources.Designer.cs | 71 +++++++++++ .../Properties/Resources.resx | 117 ++++++++++++++++++ .../Properties/Settings.Designer.cs | 30 +++++ .../Properties/Settings.settings | 7 ++ .../UserPermissionTesting_CS_WinForms.csproj | 80 ++++++++++++ 11 files changed, 429 insertions(+) create mode 100644 CodingSandbox.slnx create mode 100644 UserPermissionTesting_CS_WinForms/App.config create mode 100644 UserPermissionTesting_CS_WinForms/Form1.Designer.cs create mode 100644 UserPermissionTesting_CS_WinForms/Form1.cs create mode 100644 UserPermissionTesting_CS_WinForms/Program.cs create mode 100644 UserPermissionTesting_CS_WinForms/Properties/AssemblyInfo.cs create mode 100644 UserPermissionTesting_CS_WinForms/Properties/Resources.Designer.cs create mode 100644 UserPermissionTesting_CS_WinForms/Properties/Resources.resx create mode 100644 UserPermissionTesting_CS_WinForms/Properties/Settings.Designer.cs create mode 100644 UserPermissionTesting_CS_WinForms/Properties/Settings.settings create mode 100644 UserPermissionTesting_CS_WinForms/UserPermissionTesting_CS_WinForms.csproj diff --git a/CodingSandbox.slnx b/CodingSandbox.slnx new file mode 100644 index 0000000..a58f56b --- /dev/null +++ b/CodingSandbox.slnx @@ -0,0 +1,3 @@ + + + diff --git a/UserPermissionTesting_CS_WinForms/App.config b/UserPermissionTesting_CS_WinForms/App.config new file mode 100644 index 0000000..aee9adf --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UserPermissionTesting_CS_WinForms/Form1.Designer.cs b/UserPermissionTesting_CS_WinForms/Form1.Designer.cs new file mode 100644 index 0000000..ecfa8e3 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/Form1.Designer.cs @@ -0,0 +1,40 @@ +namespace UserPermissionTesting_CS_WinForms +{ + 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.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/UserPermissionTesting_CS_WinForms/Form1.cs b/UserPermissionTesting_CS_WinForms/Form1.cs new file mode 100644 index 0000000..80c8397 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/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 UserPermissionTesting_CS_WinForms +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/UserPermissionTesting_CS_WinForms/Program.cs b/UserPermissionTesting_CS_WinForms/Program.cs new file mode 100644 index 0000000..27dd9de --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace UserPermissionTesting_CS_WinForms +{ + 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/UserPermissionTesting_CS_WinForms/Properties/AssemblyInfo.cs b/UserPermissionTesting_CS_WinForms/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..1125d81 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +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("UserPermissionTesting_CS_WinForms")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("UserPermissionTesting_CS_WinForms")] +[assembly: AssemblyCopyright("Copyright © 2026")] +[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("64cf267a-0840-43c4-a915-2fe9d9874530")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/UserPermissionTesting_CS_WinForms/Properties/Resources.Designer.cs b/UserPermissionTesting_CS_WinForms/Properties/Resources.Designer.cs new file mode 100644 index 0000000..9a1b708 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/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 UserPermissionTesting_CS_WinForms.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("UserPermissionTesting_CS_WinForms.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/UserPermissionTesting_CS_WinForms/Properties/Resources.resx b/UserPermissionTesting_CS_WinForms/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/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/UserPermissionTesting_CS_WinForms/Properties/Settings.Designer.cs b/UserPermissionTesting_CS_WinForms/Properties/Settings.Designer.cs new file mode 100644 index 0000000..1f9f927 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/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 UserPermissionTesting_CS_WinForms.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/UserPermissionTesting_CS_WinForms/Properties/Settings.settings b/UserPermissionTesting_CS_WinForms/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/UserPermissionTesting_CS_WinForms/UserPermissionTesting_CS_WinForms.csproj b/UserPermissionTesting_CS_WinForms/UserPermissionTesting_CS_WinForms.csproj new file mode 100644 index 0000000..92fb92d --- /dev/null +++ b/UserPermissionTesting_CS_WinForms/UserPermissionTesting_CS_WinForms.csproj @@ -0,0 +1,80 @@ + + + + + Debug + AnyCPU + {64CF267A-0840-43C4-A915-2FE9D9874530} + WinExe + UserPermissionTesting_CS_WinForms + UserPermissionTesting_CS_WinForms + v4.8.1 + 512 + true + 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