first commit
This commit is contained in:
commit
28ad94683d
1
.vs/UISP.csproj.dtbcache.json
Normal file
1
.vs/UISP.csproj.dtbcache.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"RootPath":"C:\\Users\\Student\\Documents\\UISP","ProjectFileName":"UISP.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Form1.cs"},{"SourceFile":"Form1.Designer.cs"},{"SourceFile":"Program.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.7.2.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Users\\Student\\Downloads\\AnalaizerClass (3).dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Users\\Student\\Downloads\\CalcClass.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.7.2\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\Student\\Documents\\UISP\\bin\\Debug\\UISP.exe","OutputItemRelativePath":"UISP.exe"},{"OutputItemFullPath":"C:\\Users\\Student\\Documents\\UISP\\bin\\Debug\\UISP.pdb","OutputItemRelativePath":"UISP.pdb"}],"CopyToOutputEntries":[]}
|
||||||
Binary file not shown.
Binary file not shown.
BIN
.vs/UISP/v17/.suo
Normal file
BIN
.vs/UISP/v17/.suo
Normal file
Binary file not shown.
7
.vs/VSWorkspaceState.json
Normal file
7
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\UISP.sln",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
||||||
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
6
App.config
Normal file
6
App.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
502
Form1.Designer.cs
generated
Normal file
502
Form1.Designer.cs
generated
Normal file
@ -0,0 +1,502 @@
|
|||||||
|
namespace UISP
|
||||||
|
{
|
||||||
|
partial class Form1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Обязательная переменная конструктора.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Освободить все используемые ресурсы.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Код, автоматически созданный конструктором форм Windows
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
||||||
|
/// содержимое этого метода с помощью редактора кода.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
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.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.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.button20 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox1 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox2 = new System.Windows.Forms.Button();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.button23 = new System.Windows.Forms.Button();
|
||||||
|
this.button24 = new System.Windows.Forms.Button();
|
||||||
|
this.button25 = new System.Windows.Forms.Button();
|
||||||
|
this.button26 = new System.Windows.Forms.Button();
|
||||||
|
this.button21 = new System.Windows.Forms.Button();
|
||||||
|
this.button22 = new System.Windows.Forms.Button();
|
||||||
|
this.button27 = new System.Windows.Forms.Button();
|
||||||
|
this.button28 = new System.Windows.Forms.Button();
|
||||||
|
this.button29 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button1.Location = new System.Drawing.Point(81, 305);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button1.TabIndex = 0;
|
||||||
|
this.button1.Text = "+/-";
|
||||||
|
this.button1.UseVisualStyleBackColor = false;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button2.Location = new System.Drawing.Point(124, 305);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button2.TabIndex = 1;
|
||||||
|
this.button2.Text = "0";
|
||||||
|
this.button2.UseVisualStyleBackColor = false;
|
||||||
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button3.Location = new System.Drawing.Point(167, 305);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button3.TabIndex = 2;
|
||||||
|
this.button3.Text = "mod";
|
||||||
|
this.button3.UseVisualStyleBackColor = false;
|
||||||
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||||
|
//
|
||||||
|
// button4
|
||||||
|
//
|
||||||
|
this.button4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button4.Location = new System.Drawing.Point(210, 305);
|
||||||
|
this.button4.Name = "button4";
|
||||||
|
this.button4.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button4.TabIndex = 3;
|
||||||
|
this.button4.Text = "+";
|
||||||
|
this.button4.UseVisualStyleBackColor = false;
|
||||||
|
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||||||
|
//
|
||||||
|
// button5
|
||||||
|
//
|
||||||
|
this.button5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button5.Location = new System.Drawing.Point(81, 262);
|
||||||
|
this.button5.Name = "button5";
|
||||||
|
this.button5.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button5.TabIndex = 4;
|
||||||
|
this.button5.Text = "7";
|
||||||
|
this.button5.UseVisualStyleBackColor = false;
|
||||||
|
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||||||
|
//
|
||||||
|
// button6
|
||||||
|
//
|
||||||
|
this.button6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button6.Location = new System.Drawing.Point(124, 262);
|
||||||
|
this.button6.Name = "button6";
|
||||||
|
this.button6.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button6.TabIndex = 5;
|
||||||
|
this.button6.Text = "8";
|
||||||
|
this.button6.UseVisualStyleBackColor = false;
|
||||||
|
this.button6.Click += new System.EventHandler(this.button6_Click);
|
||||||
|
//
|
||||||
|
// button7
|
||||||
|
//
|
||||||
|
this.button7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button7.Location = new System.Drawing.Point(167, 262);
|
||||||
|
this.button7.Name = "button7";
|
||||||
|
this.button7.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button7.TabIndex = 6;
|
||||||
|
this.button7.Text = "9";
|
||||||
|
this.button7.UseVisualStyleBackColor = false;
|
||||||
|
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||||||
|
//
|
||||||
|
// button8
|
||||||
|
//
|
||||||
|
this.button8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button8.Location = new System.Drawing.Point(210, 262);
|
||||||
|
this.button8.Name = "button8";
|
||||||
|
this.button8.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button8.TabIndex = 7;
|
||||||
|
this.button8.Text = "-";
|
||||||
|
this.button8.UseVisualStyleBackColor = false;
|
||||||
|
this.button8.Click += new System.EventHandler(this.button8_Click);
|
||||||
|
//
|
||||||
|
// button9
|
||||||
|
//
|
||||||
|
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button9.Location = new System.Drawing.Point(81, 219);
|
||||||
|
this.button9.Name = "button9";
|
||||||
|
this.button9.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button9.TabIndex = 8;
|
||||||
|
this.button9.Text = "6";
|
||||||
|
this.button9.UseVisualStyleBackColor = false;
|
||||||
|
this.button9.Click += new System.EventHandler(this.button9_Click);
|
||||||
|
//
|
||||||
|
// button10
|
||||||
|
//
|
||||||
|
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button10.Location = new System.Drawing.Point(124, 219);
|
||||||
|
this.button10.Name = "button10";
|
||||||
|
this.button10.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button10.TabIndex = 9;
|
||||||
|
this.button10.Text = "5";
|
||||||
|
this.button10.UseVisualStyleBackColor = false;
|
||||||
|
this.button10.Click += new System.EventHandler(this.button10_Click);
|
||||||
|
//
|
||||||
|
// button11
|
||||||
|
//
|
||||||
|
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button11.Location = new System.Drawing.Point(167, 219);
|
||||||
|
this.button11.Name = "button11";
|
||||||
|
this.button11.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button11.TabIndex = 10;
|
||||||
|
this.button11.Text = "4";
|
||||||
|
this.button11.UseVisualStyleBackColor = false;
|
||||||
|
this.button11.Click += new System.EventHandler(this.button11_Click);
|
||||||
|
//
|
||||||
|
// button12
|
||||||
|
//
|
||||||
|
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button12.Location = new System.Drawing.Point(210, 219);
|
||||||
|
this.button12.Name = "button12";
|
||||||
|
this.button12.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button12.TabIndex = 11;
|
||||||
|
this.button12.Text = "*";
|
||||||
|
this.button12.UseVisualStyleBackColor = false;
|
||||||
|
this.button12.Click += new System.EventHandler(this.button12_Click);
|
||||||
|
//
|
||||||
|
// button13
|
||||||
|
//
|
||||||
|
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button13.Location = new System.Drawing.Point(81, 176);
|
||||||
|
this.button13.Name = "button13";
|
||||||
|
this.button13.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button13.TabIndex = 12;
|
||||||
|
this.button13.Text = "1";
|
||||||
|
this.button13.UseVisualStyleBackColor = false;
|
||||||
|
this.button13.Click += new System.EventHandler(this.button13_Click);
|
||||||
|
//
|
||||||
|
// button14
|
||||||
|
//
|
||||||
|
this.button14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button14.Location = new System.Drawing.Point(124, 176);
|
||||||
|
this.button14.Name = "button14";
|
||||||
|
this.button14.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button14.TabIndex = 13;
|
||||||
|
this.button14.Text = "2";
|
||||||
|
this.button14.UseVisualStyleBackColor = false;
|
||||||
|
this.button14.Click += new System.EventHandler(this.button14_Click);
|
||||||
|
//
|
||||||
|
// button15
|
||||||
|
//
|
||||||
|
this.button15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button15.Location = new System.Drawing.Point(167, 176);
|
||||||
|
this.button15.Name = "button15";
|
||||||
|
this.button15.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button15.TabIndex = 14;
|
||||||
|
this.button15.Text = "3";
|
||||||
|
this.button15.UseVisualStyleBackColor = false;
|
||||||
|
this.button15.Click += new System.EventHandler(this.button15_Click);
|
||||||
|
//
|
||||||
|
// button16
|
||||||
|
//
|
||||||
|
this.button16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button16.Location = new System.Drawing.Point(210, 176);
|
||||||
|
this.button16.Name = "button16";
|
||||||
|
this.button16.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button16.TabIndex = 15;
|
||||||
|
this.button16.Text = "/";
|
||||||
|
this.button16.UseVisualStyleBackColor = false;
|
||||||
|
this.button16.Click += new System.EventHandler(this.button16_Click);
|
||||||
|
//
|
||||||
|
// button17
|
||||||
|
//
|
||||||
|
this.button17.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button17.Location = new System.Drawing.Point(267, 176);
|
||||||
|
this.button17.Name = "button17";
|
||||||
|
this.button17.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button17.TabIndex = 16;
|
||||||
|
this.button17.Text = "MR";
|
||||||
|
this.button17.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// button18
|
||||||
|
//
|
||||||
|
this.button18.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button18.Location = new System.Drawing.Point(267, 219);
|
||||||
|
this.button18.Name = "button18";
|
||||||
|
this.button18.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button18.TabIndex = 17;
|
||||||
|
this.button18.Text = "M+";
|
||||||
|
this.button18.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// button19
|
||||||
|
//
|
||||||
|
this.button19.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button19.Location = new System.Drawing.Point(267, 262);
|
||||||
|
this.button19.Name = "button19";
|
||||||
|
this.button19.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button19.TabIndex = 18;
|
||||||
|
this.button19.Text = "MC";
|
||||||
|
this.button19.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// button20
|
||||||
|
//
|
||||||
|
this.button20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button20.Location = new System.Drawing.Point(267, 305);
|
||||||
|
this.button20.Name = "button20";
|
||||||
|
this.button20.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button20.TabIndex = 19;
|
||||||
|
this.button20.Text = "=";
|
||||||
|
this.button20.UseVisualStyleBackColor = false;
|
||||||
|
this.button20.Click += new System.EventHandler(this.button20_Click);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(165, 62);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(182, 31);
|
||||||
|
this.textBox1.TabIndex = 20;
|
||||||
|
this.textBox1.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(165, 96);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(182, 31);
|
||||||
|
this.textBox2.TabIndex = 21;
|
||||||
|
this.textBox2.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.label1.Location = new System.Drawing.Point(78, 71);
|
||||||
|
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.label2.Location = new System.Drawing.Point(78, 105);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(59, 13);
|
||||||
|
this.label2.TabIndex = 23;
|
||||||
|
this.label2.Text = "Результат";
|
||||||
|
//
|
||||||
|
// button23
|
||||||
|
//
|
||||||
|
this.button23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button23.ForeColor = System.Drawing.Color.Navy;
|
||||||
|
this.button23.Location = new System.Drawing.Point(81, 133);
|
||||||
|
this.button23.Name = "button23";
|
||||||
|
this.button23.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button23.TabIndex = 24;
|
||||||
|
this.button23.Text = "(";
|
||||||
|
this.button23.UseVisualStyleBackColor = false;
|
||||||
|
this.button23.Click += new System.EventHandler(this.button23_Click);
|
||||||
|
//
|
||||||
|
// button24
|
||||||
|
//
|
||||||
|
this.button24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
|
||||||
|
this.button24.Location = new System.Drawing.Point(124, 133);
|
||||||
|
this.button24.Name = "button24";
|
||||||
|
this.button24.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button24.TabIndex = 25;
|
||||||
|
this.button24.Text = ")";
|
||||||
|
this.button24.UseVisualStyleBackColor = false;
|
||||||
|
this.button24.Click += new System.EventHandler(this.button24_Click);
|
||||||
|
//
|
||||||
|
// button25
|
||||||
|
//
|
||||||
|
this.button25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||||
|
this.button25.Location = new System.Drawing.Point(167, 133);
|
||||||
|
this.button25.Name = "button25";
|
||||||
|
this.button25.Size = new System.Drawing.Size(80, 37);
|
||||||
|
this.button25.TabIndex = 26;
|
||||||
|
this.button25.Text = "Стереть";
|
||||||
|
this.button25.UseVisualStyleBackColor = false;
|
||||||
|
this.button25.Click += new System.EventHandler(this.button25_Click);
|
||||||
|
//
|
||||||
|
// button26
|
||||||
|
//
|
||||||
|
this.button26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||||
|
this.button26.Location = new System.Drawing.Point(267, 133);
|
||||||
|
this.button26.Name = "button26";
|
||||||
|
this.button26.Size = new System.Drawing.Size(80, 37);
|
||||||
|
this.button26.TabIndex = 27;
|
||||||
|
this.button26.Text = "Сброс";
|
||||||
|
this.button26.UseVisualStyleBackColor = false;
|
||||||
|
this.button26.Click += new System.EventHandler(this.button26_Click);
|
||||||
|
//
|
||||||
|
// button21
|
||||||
|
//
|
||||||
|
this.button21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||||
|
this.button21.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||||
|
this.button21.Location = new System.Drawing.Point(59, 48);
|
||||||
|
this.button21.Name = "button21";
|
||||||
|
this.button21.Size = new System.Drawing.Size(320, 317);
|
||||||
|
this.button21.TabIndex = 28;
|
||||||
|
this.button21.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// button22
|
||||||
|
//
|
||||||
|
this.button22.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button22.Location = new System.Drawing.Point(310, 176);
|
||||||
|
this.button22.Name = "button22";
|
||||||
|
this.button22.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button22.TabIndex = 29;
|
||||||
|
this.button22.Text = "cos";
|
||||||
|
this.button22.UseVisualStyleBackColor = false;
|
||||||
|
this.button22.Click += new System.EventHandler(this.button22_Click);
|
||||||
|
//
|
||||||
|
// button27
|
||||||
|
//
|
||||||
|
this.button27.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button27.Location = new System.Drawing.Point(310, 219);
|
||||||
|
this.button27.Name = "button27";
|
||||||
|
this.button27.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button27.TabIndex = 30;
|
||||||
|
this.button27.Text = "sin";
|
||||||
|
this.button27.UseVisualStyleBackColor = false;
|
||||||
|
this.button27.Click += new System.EventHandler(this.button27_Click);
|
||||||
|
//
|
||||||
|
// button28
|
||||||
|
//
|
||||||
|
this.button28.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button28.Location = new System.Drawing.Point(310, 262);
|
||||||
|
this.button28.Name = "button28";
|
||||||
|
this.button28.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button28.TabIndex = 31;
|
||||||
|
this.button28.Text = "√";
|
||||||
|
this.button28.UseVisualStyleBackColor = false;
|
||||||
|
this.button28.Click += new System.EventHandler(this.button28_Click);
|
||||||
|
//
|
||||||
|
// button29
|
||||||
|
//
|
||||||
|
this.button29.BackColor = System.Drawing.Color.Red;
|
||||||
|
this.button29.Location = new System.Drawing.Point(310, 305);
|
||||||
|
this.button29.Name = "button29";
|
||||||
|
this.button29.Size = new System.Drawing.Size(37, 37);
|
||||||
|
this.button29.TabIndex = 32;
|
||||||
|
this.button29.Text = "³";
|
||||||
|
this.button29.UseVisualStyleBackColor = false;
|
||||||
|
//
|
||||||
|
// 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.button29);
|
||||||
|
this.Controls.Add(this.button28);
|
||||||
|
this.Controls.Add(this.button27);
|
||||||
|
this.Controls.Add(this.button22);
|
||||||
|
this.Controls.Add(this.button26);
|
||||||
|
this.Controls.Add(this.button25);
|
||||||
|
this.Controls.Add(this.button24);
|
||||||
|
this.Controls.Add(this.button23);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.button20);
|
||||||
|
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.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.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.button21);
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
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 button10;
|
||||||
|
private System.Windows.Forms.Button button11;
|
||||||
|
private System.Windows.Forms.Button button12;
|
||||||
|
private System.Windows.Forms.Button button13;
|
||||||
|
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.Button button20;
|
||||||
|
private System.Windows.Forms.Button textBox1;
|
||||||
|
private System.Windows.Forms.Button textBox2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Button button23;
|
||||||
|
private System.Windows.Forms.Button button24;
|
||||||
|
private System.Windows.Forms.Button button25;
|
||||||
|
private System.Windows.Forms.Button button26;
|
||||||
|
private System.Windows.Forms.Button button21;
|
||||||
|
private System.Windows.Forms.Button button22;
|
||||||
|
private System.Windows.Forms.Button button27;
|
||||||
|
private System.Windows.Forms.Button button28;
|
||||||
|
private System.Windows.Forms.Button button29;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
291
Form1.cs
Normal file
291
Form1.cs
Normal file
@ -0,0 +1,291 @@
|
|||||||
|
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;
|
||||||
|
using BaseCalculator;
|
||||||
|
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||||
|
|
||||||
|
namespace UISP
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button11_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "4";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "+/-";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "0";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button6_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "8";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button16_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "/";
|
||||||
|
}
|
||||||
|
|
||||||
|
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 button5_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "7";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button7_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "9";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button8_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "-";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button9_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "6";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button10_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "5";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button12_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "*";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button4_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "+";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button23_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "(";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button24_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button20_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string expression = textBox1.Text;
|
||||||
|
|
||||||
|
AnalaizerClass.expression = expression;
|
||||||
|
|
||||||
|
if (!AnalaizerClass.CheckCurrency())
|
||||||
|
{
|
||||||
|
textBox2.Text = $"ошибка: незаконченное выражение";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
expression = expression.Replace(" ", "");
|
||||||
|
|
||||||
|
if (expression.StartsWith("sin(", StringComparison.OrdinalIgnoreCase) && expression.EndsWith(")"))
|
||||||
|
{
|
||||||
|
string innerExpression = expression.Substring(4, expression.Length - 5);
|
||||||
|
|
||||||
|
if (double.TryParse(innerExpression, out double angle))
|
||||||
|
{
|
||||||
|
double result = CalcClass.Sinus(angle);
|
||||||
|
textBox2.Text = result.ToString("F6");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBox2.Text = "Ошибка: некорректный аргумент для sin";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (expression.StartsWith("cos(", StringComparison.OrdinalIgnoreCase) && expression.EndsWith(")"))
|
||||||
|
{
|
||||||
|
string innerExpression = expression.Substring(4, expression.Length - 5);
|
||||||
|
|
||||||
|
if (double.TryParse(innerExpression, out double angle))
|
||||||
|
{
|
||||||
|
double result = CalcClass.Cosinus(angle);
|
||||||
|
textBox2.Text = result.ToString("F6");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBox2.Text = "ошибка: некоррентный аргумент для cos";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
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]);
|
||||||
|
double result = CalcClass.Power(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 if (expression.Contains("mod"))
|
||||||
|
{
|
||||||
|
string[] parts = expression.Split(new string[] { "mod" }, StringSplitOptions.None);
|
||||||
|
if (parts.Length == 2)
|
||||||
|
{
|
||||||
|
long a = long.Parse(parts[0].Trim());
|
||||||
|
long b = long.Parse(parts[1].Trim());
|
||||||
|
if (b == 0)
|
||||||
|
{
|
||||||
|
textBox2.Text = "ошибка: деления на ноль в операции mod";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
int result = CalcClass.Mod(a, b);
|
||||||
|
textBox2.Text = result.ToString();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBox2.Text = "ошибка: неверный формат выражения для mod";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBox2.Text = $"ошибка: неверный формат выражения";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
textBox2.Text = $"ошибка: {ex.Message}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button22_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "cos";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button27_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "sin";
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button26_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button25_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!String.IsNullOrEmpty(textBox1.Text))
|
||||||
|
{
|
||||||
|
textBox1.Text = textBox1.Text.Substring(0, textBox1.Text.Length - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void button28_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.Text += "√";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
120
Form1.resx
Normal file
120
Form1.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
22
Program.cs
Normal file
22
Program.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace UISP
|
||||||
|
{
|
||||||
|
internal static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Главная точка входа для приложения.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Form1());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
Properties/AssemblyInfo.cs
Normal file
36
Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Общие сведения об этой сборке предоставляются следующим набором
|
||||||
|
// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
|
||||||
|
// связанных со сборкой.
|
||||||
|
[assembly: AssemblyTitle("UISP")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("UISP")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2025")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
|
||||||
|
// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
|
||||||
|
// COM, следует установить атрибут ComVisible в TRUE для этого типа.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
|
||||||
|
[assembly: Guid("dc4a7a1b-2061-4d7c-9fca-dcf2279a23d9")]
|
||||||
|
|
||||||
|
// Сведения о версии сборки состоят из указанных ниже четырех значений:
|
||||||
|
//
|
||||||
|
// Основной номер версии
|
||||||
|
// Дополнительный номер версии
|
||||||
|
// Номер сборки
|
||||||
|
// Редакция
|
||||||
|
//
|
||||||
|
// Можно задать все значения или принять номера сборки и редакции по умолчанию
|
||||||
|
// используя "*", как показано ниже:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
71
Properties/Resources.Designer.cs
generated
Normal file
71
Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Этот код создан программным средством.
|
||||||
|
// Версия среды выполнения: 4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
|
||||||
|
// код создан повторно.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace UISP.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
|
||||||
|
/// </summary>
|
||||||
|
// Этот класс был автоматически создан при помощи 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()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
|
||||||
|
/// </summary>
|
||||||
|
[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("UISP.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Переопределяет свойство CurrentUICulture текущего потока для всех
|
||||||
|
/// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
Properties/Resources.resx
Normal file
117
Properties/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
30
Properties/Settings.Designer.cs
generated
Normal file
30
Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 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.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace UISP.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
Properties/Settings.settings
Normal file
7
Properties/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
89
UISP.csproj
Normal file
89
UISP.csproj
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>UISP</RootNamespace>
|
||||||
|
<AssemblyName>UISP</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="AnalaizerClass">
|
||||||
|
<HintPath>..\..\Downloads\AnalaizerClass.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="CalcClass">
|
||||||
|
<HintPath>..\..\Downloads\CalcClass.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.cs">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
25
UISP.sln
Normal file
25
UISP.sln
Normal file
@ -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}") = "UISP", "UISP.csproj", "{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{DC4A7A1B-2061-4D7C-9FCA-DCF2279A23D9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {24077E5D-9BB5-4B73-A5C9-402232DD6422}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
BIN
bin/Debug/AnalaizerClass.dll
Normal file
BIN
bin/Debug/AnalaizerClass.dll
Normal file
Binary file not shown.
BIN
bin/Debug/CalcClass.dll
Normal file
BIN
bin/Debug/CalcClass.dll
Normal file
Binary file not shown.
BIN
bin/Debug/UISP.exe
Normal file
BIN
bin/Debug/UISP.exe
Normal file
Binary file not shown.
6
bin/Debug/UISP.exe.config
Normal file
6
bin/Debug/UISP.exe.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
BIN
bin/Debug/UISP.pdb
Normal file
BIN
bin/Debug/UISP.pdb
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
Binary file not shown.
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
Binary file not shown.
BIN
obj/Debug/UISP.Form1.resources
Normal file
BIN
obj/Debug/UISP.Form1.resources
Normal file
Binary file not shown.
BIN
obj/Debug/UISP.Properties.Resources.resources
Normal file
BIN
obj/Debug/UISP.Properties.Resources.resources
Normal file
Binary file not shown.
BIN
obj/Debug/UISP.csproj.AssemblyReference.cache
Normal file
BIN
obj/Debug/UISP.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
0
obj/Debug/UISP.csproj.CopyComplete
Normal file
0
obj/Debug/UISP.csproj.CopyComplete
Normal file
1
obj/Debug/UISP.csproj.CoreCompileInputs.cache
Normal file
1
obj/Debug/UISP.csproj.CoreCompileInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
5502edf866e70af9c04d2aaf60a3b54efc276419c6f8d40738ddbe4d16e09b9b
|
||||||
13
obj/Debug/UISP.csproj.FileListAbsolute.txt
Normal file
13
obj/Debug/UISP.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
C:\Users\Student\Documents\UISP\bin\Debug\UISP.exe.config
|
||||||
|
C:\Users\Student\Documents\UISP\bin\Debug\UISP.exe
|
||||||
|
C:\Users\Student\Documents\UISP\bin\Debug\UISP.pdb
|
||||||
|
C:\Users\Student\Documents\UISP\bin\Debug\CalcClass.dll
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.csproj.AssemblyReference.cache
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.Form1.resources
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.Properties.Resources.resources
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.csproj.GenerateResource.cache
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.csproj.CopyComplete
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.exe
|
||||||
|
C:\Users\Student\Documents\UISP\obj\Debug\UISP.pdb
|
||||||
|
C:\Users\Student\Documents\UISP\bin\Debug\AnalaizerClass.dll
|
||||||
BIN
obj/Debug/UISP.csproj.GenerateResource.cache
Normal file
BIN
obj/Debug/UISP.csproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
obj/Debug/UISP.exe
Normal file
BIN
obj/Debug/UISP.exe
Normal file
Binary file not shown.
BIN
obj/Debug/UISP.pdb
Normal file
BIN
obj/Debug/UISP.pdb
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||||
BIN
obj/Release/UISP.csproj.AssemblyReference.cache
Normal file
BIN
obj/Release/UISP.csproj.AssemblyReference.cache
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user