diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo b/20240325_doga_szabomarton/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo new file mode 100644 index 0000000..3077edd Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/.vs/WindowsFormsApp1/v16/.suo differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/App.config b/20240325_doga_szabomarton/WindowsFormsApp1/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/Form1.Designer.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.Designer.cs new file mode 100644 index 0000000..b0067c9 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.Designer.cs @@ -0,0 +1,320 @@ + +namespace WindowsFormsApp1 +{ + 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.textBox1 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.button6 = new System.Windows.Forms.Button(); + this.button7 = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.button9 = new System.Windows.Forms.Button(); + this.division = new System.Windows.Forms.Button(); + this.multiplication = new System.Windows.Forms.Button(); + this.substraction = new System.Windows.Forms.Button(); + this.addition = new System.Windows.Forms.Button(); + this.enter = new System.Windows.Forms.Button(); + this.button_0 = new System.Windows.Forms.Button(); + this.point = new System.Windows.Forms.Button(); + this.clear = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.Color.Plum; + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F); + this.textBox1.Location = new System.Drawing.Point(70, 53); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(262, 25); + this.textBox1.TabIndex = 0; + this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // button1 + // + this.button1.BackColor = System.Drawing.Color.HotPink; + this.button1.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button1.Location = new System.Drawing.Point(46, 367); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(50, 50); + this.button1.TabIndex = 1; + this.button1.Text = "1"; + this.button1.UseVisualStyleBackColor = false; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.BackColor = System.Drawing.Color.HotPink; + this.button2.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button2.Location = new System.Drawing.Point(139, 367); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(50, 50); + this.button2.TabIndex = 2; + this.button2.Text = "2"; + this.button2.UseVisualStyleBackColor = false; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.BackColor = System.Drawing.Color.HotPink; + this.button3.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button3.Location = new System.Drawing.Point(231, 367); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(50, 50); + this.button3.TabIndex = 3; + this.button3.Text = "3"; + this.button3.UseVisualStyleBackColor = false; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // button4 + // + this.button4.BackColor = System.Drawing.Color.HotPink; + this.button4.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button4.Location = new System.Drawing.Point(46, 289); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(50, 50); + this.button4.TabIndex = 4; + this.button4.Text = "4"; + this.button4.UseVisualStyleBackColor = false; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // button5 + // + this.button5.BackColor = System.Drawing.Color.HotPink; + this.button5.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button5.Location = new System.Drawing.Point(139, 289); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(50, 50); + this.button5.TabIndex = 5; + this.button5.Text = "5"; + this.button5.UseVisualStyleBackColor = false; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // button6 + // + this.button6.BackColor = System.Drawing.Color.HotPink; + this.button6.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button6.Location = new System.Drawing.Point(231, 289); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(50, 50); + this.button6.TabIndex = 6; + this.button6.Text = "6"; + this.button6.UseVisualStyleBackColor = false; + this.button6.Click += new System.EventHandler(this.button6_Click); + // + // button7 + // + this.button7.BackColor = System.Drawing.Color.HotPink; + this.button7.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button7.Location = new System.Drawing.Point(46, 206); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(50, 50); + this.button7.TabIndex = 7; + this.button7.Text = "7"; + this.button7.UseVisualStyleBackColor = false; + this.button7.Click += new System.EventHandler(this.button7_Click); + // + // button8 + // + this.button8.BackColor = System.Drawing.Color.HotPink; + this.button8.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button8.Location = new System.Drawing.Point(139, 206); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(50, 50); + this.button8.TabIndex = 8; + this.button8.Text = "8"; + this.button8.UseVisualStyleBackColor = false; + this.button8.Click += new System.EventHandler(this.button8_Click); + // + // button9 + // + this.button9.BackColor = System.Drawing.Color.HotPink; + this.button9.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button9.Location = new System.Drawing.Point(231, 206); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(50, 50); + this.button9.TabIndex = 9; + this.button9.Text = "9"; + this.button9.UseVisualStyleBackColor = false; + this.button9.Click += new System.EventHandler(this.button9_Click); + // + // division + // + this.division.BackColor = System.Drawing.Color.HotPink; + this.division.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.division.Location = new System.Drawing.Point(46, 124); + this.division.Name = "division"; + this.division.Size = new System.Drawing.Size(50, 50); + this.division.TabIndex = 10; + this.division.Text = "/"; + this.division.UseVisualStyleBackColor = false; + this.division.Click += new System.EventHandler(this.division_Click_1); + // + // multiplication + // + this.multiplication.BackColor = System.Drawing.Color.HotPink; + this.multiplication.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.multiplication.Location = new System.Drawing.Point(139, 124); + this.multiplication.Name = "multiplication"; + this.multiplication.Size = new System.Drawing.Size(50, 50); + this.multiplication.TabIndex = 11; + this.multiplication.Text = "*"; + this.multiplication.UseVisualStyleBackColor = false; + this.multiplication.Click += new System.EventHandler(this.multiplication_Click); + // + // substraction + // + this.substraction.BackColor = System.Drawing.Color.HotPink; + this.substraction.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.substraction.Location = new System.Drawing.Point(231, 124); + this.substraction.Name = "substraction"; + this.substraction.Size = new System.Drawing.Size(50, 50); + this.substraction.TabIndex = 12; + this.substraction.Text = "-"; + this.substraction.UseVisualStyleBackColor = false; + this.substraction.Click += new System.EventHandler(this.substraction_Click); + // + // addition + // + this.addition.BackColor = System.Drawing.Color.HotPink; + this.addition.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.addition.Location = new System.Drawing.Point(305, 206); + this.addition.Name = "addition"; + this.addition.Size = new System.Drawing.Size(50, 132); + this.addition.TabIndex = 13; + this.addition.Text = "+"; + this.addition.UseVisualStyleBackColor = false; + this.addition.Click += new System.EventHandler(this.addition_Click); + // + // enter + // + this.enter.BackColor = System.Drawing.Color.HotPink; + this.enter.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.enter.Location = new System.Drawing.Point(305, 367); + this.enter.Name = "enter"; + this.enter.Size = new System.Drawing.Size(50, 128); + this.enter.TabIndex = 14; + this.enter.Text = "="; + this.enter.UseVisualStyleBackColor = false; + this.enter.Click += new System.EventHandler(this.enter_Click); + // + // button_0 + // + this.button_0.BackColor = System.Drawing.Color.HotPink; + this.button_0.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.button_0.Location = new System.Drawing.Point(46, 445); + this.button_0.Name = "button_0"; + this.button_0.Size = new System.Drawing.Size(143, 50); + this.button_0.TabIndex = 15; + this.button_0.Text = "0"; + this.button_0.UseVisualStyleBackColor = false; + this.button_0.Click += new System.EventHandler(this.button_0_Click); + // + // point + // + this.point.BackColor = System.Drawing.Color.HotPink; + this.point.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.point.Location = new System.Drawing.Point(231, 445); + this.point.Name = "point"; + this.point.Size = new System.Drawing.Size(50, 50); + this.point.TabIndex = 16; + this.point.Text = ","; + this.point.UseVisualStyleBackColor = false; + this.point.Click += new System.EventHandler(this.point_Click); + // + // clear + // + this.clear.BackColor = System.Drawing.Color.HotPink; + this.clear.Font = new System.Drawing.Font("Microsoft Tai Le", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.clear.Location = new System.Drawing.Point(305, 124); + this.clear.Name = "clear"; + this.clear.Size = new System.Drawing.Size(50, 50); + this.clear.TabIndex = 17; + this.clear.Text = "CE"; + this.clear.UseVisualStyleBackColor = false; + this.clear.Click += new System.EventHandler(this.clear_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.DarkCyan; + this.ClientSize = new System.Drawing.Size(392, 520); + this.Controls.Add(this.clear); + this.Controls.Add(this.point); + this.Controls.Add(this.button_0); + this.Controls.Add(this.enter); + this.Controls.Add(this.addition); + this.Controls.Add(this.substraction); + this.Controls.Add(this.multiplication); + this.Controls.Add(this.division); + this.Controls.Add(this.button9); + this.Controls.Add(this.button8); + this.Controls.Add(this.button7); + this.Controls.Add(this.button6); + this.Controls.Add(this.button5); + this.Controls.Add(this.button4); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox1); + this.Name = "Form1"; + this.Text = "Calculator"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button button9; + private System.Windows.Forms.Button division; + private System.Windows.Forms.Button multiplication; + private System.Windows.Forms.Button substraction; + private System.Windows.Forms.Button addition; + private System.Windows.Forms.Button enter; + private System.Windows.Forms.Button button_0; + private System.Windows.Forms.Button point; + private System.Windows.Forms.Button clear; + } +} + diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/Form1.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.cs new file mode 100644 index 0000000..49cb4ae --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.cs @@ -0,0 +1,198 @@ +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 WindowsFormsApp1 +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void button_0_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "0"; + } + + private void button1_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "1"; + } + private void button2_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "2"; + } + + private void button3_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "3"; + } + + private void button4_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "4"; + } + + private void button5_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "5"; + + } + + private void button6_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "6"; + } + + private void button7_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "7"; + } + + private void button8_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "8"; + } + + private void button9_Click(object sender, EventArgs e) + { + textBox1.Text = textBox1.Text + "9"; + } + + + + + private void textBox1_TextChanged(object sender, EventArgs e) + { + + } + + + private void division_Click_1(object sender, EventArgs e) + { + Dataread(); + Data.mode = '/'; + } + + + private void multiplication_Click(object sender, EventArgs e) + { + Dataread(); + Data.mode = '*'; + } + + private void substraction_Click(object sender, EventArgs e) + { + Dataread(); + Data.mode = '-'; + } + + private void addition_Click(object sender, EventArgs e) + { + Dataread(); + Data.mode = '+'; + } + + private void enter_Click(object sender, EventArgs e) + { + ModeCase(); + } + + + + private void point_Click(object sender, EventArgs e) + { + textBox1.Text += ','; + } + + private void clear_Click(object sender, EventArgs e) + { + textBox1.Clear(); + Data.mode = ' '; + ModeCase(); + } + + public void Dataread() + { + bool eredmeny = textBox1.Text.Any(x => !char.IsLetter(x)); + if (eredmeny) + { + Data.x = Convert.ToDouble(textBox1.Text); + textBox1.Clear(); + } + else + { + textBox1.Text = ""; + } + + + } + + + public void ModeCase() + { + switch (Data.mode) + { + case '+': + Data.y = Convert.ToDouble(textBox1.Text); + textBox1.Clear(); + Data.ans = Data.x + Data.y; + textBox1.Text = Data.ans.ToString(); + break; + case '-': + Data.y = Convert.ToDouble(textBox1.Text); + textBox1.Clear(); + Data.ans = Data.x - Data.y; + textBox1.Text = Data.ans.ToString(); + break; + case '/': + Data.y = Convert.ToDouble(textBox1.Text); + textBox1.Clear(); + if (Data.x != 0) + { + Data.ans = Data.x / Data.y; + textBox1.Text = Data.ans.ToString(); + } + else + { + textBox1.Text = "Error"; + } + break; + case '*': + Data.y = Convert.ToDouble(textBox1.Text); + textBox1.Clear(); + Data.ans = Data.x * Data.y; + textBox1.Text = Data.ans.ToString(); + break; + case ' ': + Data.x = 0.0; + Data.y = 0.0; + textBox1.Clear(); + Data.ans = 0.0; + textBox1.Text = ""; + break; + default: + textBox1.Text = "Error"; + break; + } + } + } + + public static class Data + { + public static double x; + public static double y; + + public static double ans; + + public static char mode; + } +} diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/Form1.resx b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Form1.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/20240325_doga_szabomarton/WindowsFormsApp1/Program.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Program.cs new file mode 100644 index 0000000..30a0128 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace WindowsFormsApp1 +{ + 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/20240325_doga_szabomarton/WindowsFormsApp1/Properties/AssemblyInfo.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..22fe6a7 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/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("WindowsFormsApp1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WindowsFormsApp1")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[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("864f4c6e-d5d3-4b86-aa6d-aea0727966eb")] + +// 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/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Resources.Designer.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Resources.Designer.cs new file mode 100644 index 0000000..2b9cd9f --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 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 WindowsFormsApp1.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("WindowsFormsApp1.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/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Resources.resx b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/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/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.Designer.cs b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.Designer.cs new file mode 100644 index 0000000..3cdaf80 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.Designer.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// 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 WindowsFormsApp1.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/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.settings b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.csproj b/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.csproj new file mode 100644 index 0000000..f46aade --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.csproj @@ -0,0 +1,83 @@ + + + + + Debug + AnyCPU + {864F4C6E-D5D3-4B86-AA6D-AEA0727966EB} + WinExe + WindowsFormsApp1 + WindowsFormsApp1 + 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 + + + Form1.cs + + + + + Form1.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/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.sln b/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.sln new file mode 100644 index 0000000..a3066d8 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/WindowsFormsApp1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.33529.622 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1.csproj", "{864F4C6E-D5D3-4B86-AA6D-AEA0727966EB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {864F4C6E-D5D3-4B86-AA6D-AEA0727966EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {864F4C6E-D5D3-4B86-AA6D-AEA0727966EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {864F4C6E-D5D3-4B86-AA6D-AEA0727966EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {864F4C6E-D5D3-4B86-AA6D-AEA0727966EB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4EC20507-C73D-4308-BA3D-5939E347573E} + EndGlobalSection +EndGlobal diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe new file mode 100644 index 0000000..baea8ec Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb new file mode 100644 index 0000000..d1a102f Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..a6920de Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..715f167 Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Form1.resources differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.Properties.Resources.resources differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f5e894a Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.AssemblyReference.cache differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..4a5524a --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +8069502011d0681850e57a53d5a1673222f430a6 diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..75ff4ce --- /dev/null +++ b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.AssemblyReference.cache +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Form1.resources +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.Properties.Resources.resources +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.GenerateResource.cache +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.csproj.CoreCompileInputs.cache +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.exe +C:\Users\szabomarton\Desktop\C#\20240325_doga\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache new file mode 100644 index 0000000..48abe59 Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe new file mode 100644 index 0000000..baea8ec Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe differ diff --git a/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb new file mode 100644 index 0000000..d1a102f Binary files /dev/null and b/20240325_doga_szabomarton/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb differ