commit 051749e128d4622dc3ec5013bd388c5912e084b9 Author: Student Date: Thu Nov 27 17:53:52 2025 +0400 first commit diff --git a/.vs/Volkova/FileContentIndex/610bbdf2-cf61-4f2c-8828-c591e059996e.vsidx b/.vs/Volkova/FileContentIndex/610bbdf2-cf61-4f2c-8828-c591e059996e.vsidx new file mode 100644 index 0000000..6b48877 Binary files /dev/null and b/.vs/Volkova/FileContentIndex/610bbdf2-cf61-4f2c-8828-c591e059996e.vsidx differ diff --git a/.vs/Volkova/FileContentIndex/b567c382-49a3-423a-95d0-d4ec292dbd20.vsidx b/.vs/Volkova/FileContentIndex/b567c382-49a3-423a-95d0-d4ec292dbd20.vsidx new file mode 100644 index 0000000..41261e6 Binary files /dev/null and b/.vs/Volkova/FileContentIndex/b567c382-49a3-423a-95d0-d4ec292dbd20.vsidx differ diff --git a/.vs/Volkova/v17/.suo b/.vs/Volkova/v17/.suo new file mode 100644 index 0000000..fbabc6b Binary files /dev/null and b/.vs/Volkova/v17/.suo differ diff --git a/Volkova.sln b/Volkova.sln new file mode 100644 index 0000000..c834ebf --- /dev/null +++ b/Volkova.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34511.84 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volkova", "Volkova\Volkova.csproj", "{9F336A2B-ED75-484E-8859-90070342B690}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9F336A2B-ED75-484E-8859-90070342B690}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9F336A2B-ED75-484E-8859-90070342B690}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9F336A2B-ED75-484E-8859-90070342B690}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9F336A2B-ED75-484E-8859-90070342B690}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {58905264-CFA3-4BAF-9B5A-9DAAB8C5744C} + EndGlobalSection +EndGlobal diff --git a/Volkova/App.config b/Volkova/App.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/Volkova/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Volkova/Form1.Designer.cs b/Volkova/Form1.Designer.cs new file mode 100644 index 0000000..db190fd --- /dev/null +++ b/Volkova/Form1.Designer.cs @@ -0,0 +1,336 @@ +namespace Volkova +{ + partial class Form1 + { + /// + /// Обязательная переменная конструктора. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Освободить все используемые ресурсы. + /// + /// истинно, если управляемый ресурс должен быть удален; иначе ложно. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Код, автоматически созданный конструктором форм Windows + + /// + /// Требуемый метод для поддержки конструктора — не изменяйте + /// содержимое этого метода с помощью редактора кода. + /// + private void InitializeComponent() + { + 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.button1 = 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.button10 = new System.Windows.Forms.Button(); + this.button11 = new System.Windows.Forms.Button(); + this.button12 = new System.Windows.Forms.Button(); + this.button13 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.button14 = new System.Windows.Forms.Button(); + this.button15 = new System.Windows.Forms.Button(); + this.button16 = new System.Windows.Forms.Button(); + this.button17 = new System.Windows.Forms.Button(); + this.button18 = new System.Windows.Forms.Button(); + this.button19 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(130, 139); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(70, 55); + this.button2.TabIndex = 1; + this.button2.Text = "+/-"; + this.button2.UseVisualStyleBackColor = true; + // + // button3 + // + this.button3.Location = new System.Drawing.Point(221, 139); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(70, 55); + this.button3.TabIndex = 2; + this.button3.Text = "%"; + this.button3.UseVisualStyleBackColor = true; + // + // button4 + // + this.button4.Location = new System.Drawing.Point(311, 139); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(70, 55); + this.button4.TabIndex = 3; + this.button4.Text = "/"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(40, 139); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(70, 55); + this.button5.TabIndex = 4; + this.button5.Text = "C"; + this.button5.UseVisualStyleBackColor = true; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(40, 200); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(70, 55); + this.button1.TabIndex = 5; + this.button1.Text = "7"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); + // + // button6 + // + this.button6.Location = new System.Drawing.Point(130, 200); + this.button6.Name = "button6"; + this.button6.Size = new System.Drawing.Size(70, 55); + this.button6.TabIndex = 6; + this.button6.Text = "8"; + this.button6.UseVisualStyleBackColor = true; + this.button6.Click += new System.EventHandler(this.button6_Click); + // + // button7 + // + this.button7.Location = new System.Drawing.Point(221, 200); + this.button7.Name = "button7"; + this.button7.Size = new System.Drawing.Size(70, 55); + this.button7.TabIndex = 7; + this.button7.Text = "9"; + this.button7.UseVisualStyleBackColor = true; + this.button7.Click += new System.EventHandler(this.button7_Click); + // + // button8 + // + this.button8.Location = new System.Drawing.Point(311, 200); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(70, 55); + this.button8.TabIndex = 8; + this.button8.Text = "*"; + this.button8.UseVisualStyleBackColor = true; + this.button8.Click += new System.EventHandler(this.button8_Click); + // + // button9 + // + this.button9.Location = new System.Drawing.Point(40, 261); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(70, 55); + this.button9.TabIndex = 9; + this.button9.Text = "4"; + this.button9.UseVisualStyleBackColor = true; + this.button9.Click += new System.EventHandler(this.button9_Click); + // + // button10 + // + this.button10.Location = new System.Drawing.Point(130, 261); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(70, 55); + this.button10.TabIndex = 10; + this.button10.Text = "5"; + this.button10.UseVisualStyleBackColor = true; + this.button10.Click += new System.EventHandler(this.button10_Click); + // + // button11 + // + this.button11.Location = new System.Drawing.Point(221, 261); + this.button11.Name = "button11"; + this.button11.Size = new System.Drawing.Size(70, 55); + this.button11.TabIndex = 11; + this.button11.Text = "6"; + this.button11.UseVisualStyleBackColor = true; + this.button11.Click += new System.EventHandler(this.button11_Click); + // + // button12 + // + this.button12.Location = new System.Drawing.Point(311, 261); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(70, 55); + this.button12.TabIndex = 12; + this.button12.Text = "-"; + this.button12.UseVisualStyleBackColor = true; + this.button12.Click += new System.EventHandler(this.button12_Click); + // + // button13 + // + this.button13.Location = new System.Drawing.Point(40, 322); + this.button13.Name = "button13"; + this.button13.Size = new System.Drawing.Size(70, 55); + this.button13.TabIndex = 13; + this.button13.Text = "1"; + this.button13.UseVisualStyleBackColor = true; + this.button13.Click += new System.EventHandler(this.button13_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(40, 95); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(160, 20); + this.textBox1.TabIndex = 14; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(221, 95); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(160, 20); + this.textBox2.TabIndex = 15; + // + // button14 + // + this.button14.Location = new System.Drawing.Point(130, 322); + this.button14.Name = "button14"; + this.button14.Size = new System.Drawing.Size(70, 55); + this.button14.TabIndex = 16; + this.button14.Text = "2"; + this.button14.UseVisualStyleBackColor = true; + this.button14.Click += new System.EventHandler(this.button14_Click); + // + // button15 + // + this.button15.Location = new System.Drawing.Point(221, 322); + this.button15.Name = "button15"; + this.button15.Size = new System.Drawing.Size(70, 55); + this.button15.TabIndex = 17; + this.button15.Text = "3"; + this.button15.UseVisualStyleBackColor = true; + this.button15.Click += new System.EventHandler(this.button15_Click); + // + // button16 + // + this.button16.Location = new System.Drawing.Point(311, 322); + this.button16.Name = "button16"; + this.button16.Size = new System.Drawing.Size(70, 55); + this.button16.TabIndex = 18; + this.button16.Text = "+"; + this.button16.UseVisualStyleBackColor = true; + this.button16.Click += new System.EventHandler(this.button16_Click); + // + // button17 + // + this.button17.Location = new System.Drawing.Point(40, 383); + this.button17.Name = "button17"; + this.button17.Size = new System.Drawing.Size(70, 55); + this.button17.TabIndex = 19; + this.button17.Text = "0"; + this.button17.UseVisualStyleBackColor = true; + this.button17.Click += new System.EventHandler(this.button17_Click); + // + // button18 + // + this.button18.Location = new System.Drawing.Point(130, 383); + this.button18.Name = "button18"; + this.button18.Size = new System.Drawing.Size(70, 55); + this.button18.TabIndex = 20; + this.button18.Text = ","; + this.button18.UseVisualStyleBackColor = true; + // + // button19 + // + this.button19.Location = new System.Drawing.Point(221, 383); + this.button19.Name = "button19"; + this.button19.Size = new System.Drawing.Size(160, 55); + this.button19.TabIndex = 21; + this.button19.Text = "="; + this.button19.UseVisualStyleBackColor = true; + this.button19.Click += new System.EventHandler(this.button19_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(37, 79); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(66, 13); + this.label1.TabIndex = 22; + this.label1.Text = "Выражение"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(225, 79); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(59, 13); + this.label2.TabIndex = 23; + this.label2.Text = "Результат"; + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.button19); + this.Controls.Add(this.button18); + this.Controls.Add(this.button17); + this.Controls.Add(this.button16); + this.Controls.Add(this.button15); + this.Controls.Add(this.button14); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button13); + this.Controls.Add(this.button12); + this.Controls.Add(this.button11); + this.Controls.Add(this.button10); + this.Controls.Add(this.button9); + this.Controls.Add(this.button8); + this.Controls.Add(this.button7); + this.Controls.Add(this.button6); + this.Controls.Add(this.button1); + this.Controls.Add(this.button5); + this.Controls.Add(this.button4); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Name = "Form1"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + 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 button1; + 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 button10; + private System.Windows.Forms.Button button11; + private System.Windows.Forms.Button button12; + private System.Windows.Forms.Button button13; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Button button14; + private System.Windows.Forms.Button button15; + private System.Windows.Forms.Button button16; + private System.Windows.Forms.Button button17; + private System.Windows.Forms.Button button18; + private System.Windows.Forms.Button button19; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + } +} + diff --git a/Volkova/Form1.cs b/Volkova/Form1.cs new file mode 100644 index 0000000..3a77eba --- /dev/null +++ b/Volkova/Form1.cs @@ -0,0 +1,197 @@ + +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Diagnostics.Eventing.Reader; +using System.Drawing; +using System.Linq; +using System.Linq.Expressions; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using static System.Windows.Forms.VisualStyles.VisualStyleElement; +using BaseCalculator; + +namespace Volkova +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + + } + + private void button4_Click(object sender, EventArgs e) + { + textBox1.Text += "/"; + } + + private void Form1_Load(object sender, EventArgs e) + { + + } + + private void button13_Click(object sender, EventArgs e) + { + textBox1.Text += "1"; + + } + + private void button14_Click(object sender, EventArgs e) + { + textBox1.Text += "2"; + } + + private void button15_Click(object sender, EventArgs e) + { + textBox1.Text += "3"; + } + + private void button9_Click(object sender, EventArgs e) + { + textBox1.Text += "4"; + } + + private void button10_Click(object sender, EventArgs e) + { + textBox1.Text += "5"; + } + + private void button11_Click(object sender, EventArgs e) + { + textBox1.Text += "6"; + } + + private void button1_Click_1(object sender, EventArgs e) + { + textBox1.Text += "7"; + } + + private void button6_Click(object sender, EventArgs e) + { + textBox1.Text += "8"; + } + + private void button7_Click(object sender, EventArgs e) + { + textBox1.Text += "9"; + } + + private void button17_Click(object sender, EventArgs e) + { + textBox1.Text += "0"; + } + + private void button16_Click(object sender, EventArgs e) + { + textBox1.Text += "+"; + } + + private void button12_Click(object sender, EventArgs e) + { + textBox1.Text += "-"; + } + + private void button19_Click(object sender, EventArgs e) + { + try + { + string expression = textBox1.Text; + if (expression.Contains("+")) + { + string[] parts = expression.Split('+'); + + if (parts.Length == 2) + { + long a = long.Parse(parts[0]); + long b = long.Parse(parts[1]); + + int result = CalcClass.Add(a, b); + + textBox2.Text = result.ToString(); + } + } + + + else if (expression.Contains("-")) + { + string[] parts = expression.Split('-'); + + if (parts.Length == 2) + { + long a = long.Parse(parts[0]); + long b = long.Parse(parts[1]); + + int result = CalcClass.Sub(a, b); + + textBox2.Text = result.ToString(); + } + } + + else if (expression.Contains("*")) + { + string[] parts = expression.Split('*'); + + if (parts.Length == 2) + { + long a = long.Parse(parts[0]); + long b = long.Parse(parts[1]); + + int result = CalcClass.Mult(a, b); + + textBox2.Text = result.ToString(); + } + } + + else if (expression.Contains("/")) + { + string[] parts = expression.Split('/'); + + if (parts.Length == 2) + { + long a = long.Parse(parts[0]); + long b = long.Parse(parts[1]); + + int result = CalcClass.Div(a, b); + + textBox2.Text = result.ToString(); + } + } + + else + { + textBox2.Text = "Ошибка: неверный формат выражения"; + } + } + catch (Exception ex) + { + textBox2.Text = $"Ошибка: {ex.Message}"; + } + + } + + private void button8_Click(object sender, EventArgs e) + { + textBox1.Text += "*"; + } + + private void button5_Click(object sender, EventArgs e) + { + if (!String.IsNullOrEmpty(textBox1.Text)) + { + textBox1.Text = textBox1.Text.Substring(0, textBox1.Text.Length - 1); + } + } + } + } + + + + + \ No newline at end of file diff --git a/Volkova/Form1.resx b/Volkova/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Volkova/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/Volkova/Program.cs b/Volkova/Program.cs new file mode 100644 index 0000000..4485a56 --- /dev/null +++ b/Volkova/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Volkova +{ + internal static class Program + { + /// + /// Главная точка входа для приложения. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Volkova/Properties/AssemblyInfo.cs b/Volkova/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..669c1ef --- /dev/null +++ b/Volkova/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Общие сведения об этой сборке предоставляются следующим набором +// набора атрибутов. Измените значения этих атрибутов для изменения сведений, +// связанных со сборкой. +[assembly: AssemblyTitle("Volkova")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Volkova")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// COM, следует установить атрибут ComVisible в TRUE для этого типа. +[assembly: ComVisible(false)] + +// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM +[assembly: Guid("9f336a2b-ed75-484e-8859-90070342b690")] + +// Сведения о версии сборки состоят из указанных ниже четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Редакция +// +// Можно задать все значения или принять номера сборки и редакции по умолчанию +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Volkova/Properties/Resources.Designer.cs b/Volkova/Properties/Resources.Designer.cs new file mode 100644 index 0000000..15077f2 --- /dev/null +++ b/Volkova/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программным средством. +// Версия среды выполнения: 4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если +// код создан повторно. +// +//------------------------------------------------------------------------------ + +namespace Volkova.Properties +{ + + + /// + /// Класс ресурсов со строгим типом для поиска локализованных строк и пр. + /// + // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder + // класс с помощью таких средств, как ResGen или Visual Studio. + // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen + // с параметром /str или заново постройте свой VS-проект. + [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() + { + } + + /// + /// Возврат кэшированного экземпляра ResourceManager, используемого этим классом. + /// + [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("Volkova.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Переопределяет свойство CurrentUICulture текущего потока для всех + /// подстановки ресурсов с помощью этого класса ресурсов со строгим типом. + /// + [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/Volkova/Properties/Resources.resx b/Volkova/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Volkova/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/Volkova/Properties/Settings.Designer.cs b/Volkova/Properties/Settings.Designer.cs new file mode 100644 index 0000000..6700202 --- /dev/null +++ b/Volkova/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 Volkova.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/Volkova/Properties/Settings.settings b/Volkova/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/Volkova/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Volkova/Volkova.csproj b/Volkova/Volkova.csproj new file mode 100644 index 0000000..b715fad --- /dev/null +++ b/Volkova/Volkova.csproj @@ -0,0 +1,86 @@ + + + + + Debug + AnyCPU + {9F336A2B-ED75-484E-8859-90070342B690} + WinExe + Volkova + Volkova + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\..\Downloads\CalcClass.dll + + + + + + + + + + + + + + + + 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/Volkova/bin/Debug/CalcClass.dll b/Volkova/bin/Debug/CalcClass.dll new file mode 100644 index 0000000..272e88f Binary files /dev/null and b/Volkova/bin/Debug/CalcClass.dll differ diff --git a/Volkova/bin/Debug/Volkova.exe b/Volkova/bin/Debug/Volkova.exe new file mode 100644 index 0000000..49acdc6 Binary files /dev/null and b/Volkova/bin/Debug/Volkova.exe differ diff --git a/Volkova/bin/Debug/Volkova.exe.config b/Volkova/bin/Debug/Volkova.exe.config new file mode 100644 index 0000000..193aecc --- /dev/null +++ b/Volkova/bin/Debug/Volkova.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Volkova/bin/Debug/Volkova.pdb b/Volkova/bin/Debug/Volkova.pdb new file mode 100644 index 0000000..5875391 Binary files /dev/null and b/Volkova/bin/Debug/Volkova.pdb differ diff --git a/Volkova/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Volkova/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/Volkova/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Volkova/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Volkova/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..157e3c3 Binary files /dev/null and b/Volkova/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Volkova/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Volkova/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..815a6f6 Binary files /dev/null and b/Volkova/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Volkova/obj/Debug/Volkova.Form1.resources b/Volkova/obj/Debug/Volkova.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Volkova/obj/Debug/Volkova.Form1.resources differ diff --git a/Volkova/obj/Debug/Volkova.Properties.Resources.resources b/Volkova/obj/Debug/Volkova.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Volkova/obj/Debug/Volkova.Properties.Resources.resources differ diff --git a/Volkova/obj/Debug/Volkova.csproj.AssemblyReference.cache b/Volkova/obj/Debug/Volkova.csproj.AssemblyReference.cache new file mode 100644 index 0000000..78abd2c Binary files /dev/null and b/Volkova/obj/Debug/Volkova.csproj.AssemblyReference.cache differ diff --git a/Volkova/obj/Debug/Volkova.csproj.CopyComplete b/Volkova/obj/Debug/Volkova.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/Volkova/obj/Debug/Volkova.csproj.CoreCompileInputs.cache b/Volkova/obj/Debug/Volkova.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..bef09d7 --- /dev/null +++ b/Volkova/obj/Debug/Volkova.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +9c7793ab3ec272c54045968b9426fe07786691e189848e9017ffefd4885acb2f diff --git a/Volkova/obj/Debug/Volkova.csproj.FileListAbsolute.txt b/Volkova/obj/Debug/Volkova.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5f7071c --- /dev/null +++ b/Volkova/obj/Debug/Volkova.csproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\bin\Debug\Volkova.exe.config +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\bin\Debug\Volkova.exe +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\bin\Debug\Volkova.pdb +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.csproj.AssemblyReference.cache +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.Form1.resources +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.Properties.Resources.resources +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.csproj.GenerateResource.cache +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.csproj.CoreCompileInputs.cache +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.csproj.CopyComplete +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.exe +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\obj\Debug\Volkova.pdb +C:\Users\Student\Documents\Новая папка (2)\Volkova\Volkova\bin\Debug\CalcClass.dll diff --git a/Volkova/obj/Debug/Volkova.csproj.GenerateResource.cache b/Volkova/obj/Debug/Volkova.csproj.GenerateResource.cache new file mode 100644 index 0000000..fc1c514 Binary files /dev/null and b/Volkova/obj/Debug/Volkova.csproj.GenerateResource.cache differ diff --git a/Volkova/obj/Debug/Volkova.exe b/Volkova/obj/Debug/Volkova.exe new file mode 100644 index 0000000..49acdc6 Binary files /dev/null and b/Volkova/obj/Debug/Volkova.exe differ diff --git a/Volkova/obj/Debug/Volkova.pdb b/Volkova/obj/Debug/Volkova.pdb new file mode 100644 index 0000000..5875391 Binary files /dev/null and b/Volkova/obj/Debug/Volkova.pdb differ