325 lines
11 KiB
C#
325 lines
11 KiB
C#
namespace Praktika
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
panel1 = new Panel();
|
|
button9 = new Button();
|
|
button6 = new Button();
|
|
button5 = new Button();
|
|
button4 = new Button();
|
|
button3 = new Button();
|
|
button2 = new Button();
|
|
button1 = new Button();
|
|
panel2 = new Panel();
|
|
arrayTextBox = new RichTextBox();
|
|
panel3 = new Panel();
|
|
richTextBox1 = new RichTextBox();
|
|
button10 = new Button();
|
|
label4 = new Label();
|
|
label3 = new Label();
|
|
label2 = new Label();
|
|
textBoxMax = new TextBox();
|
|
textBoxMin = new TextBox();
|
|
label1 = new Label();
|
|
textBoxLen = new TextBox();
|
|
button8 = new Button();
|
|
button7 = new Button();
|
|
panel1.SuspendLayout();
|
|
panel2.SuspendLayout();
|
|
panel3.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(button9);
|
|
panel1.Controls.Add(button6);
|
|
panel1.Controls.Add(button5);
|
|
panel1.Controls.Add(button4);
|
|
panel1.Controls.Add(button3);
|
|
panel1.Controls.Add(button2);
|
|
panel1.Controls.Add(button1);
|
|
panel1.Dock = DockStyle.Left;
|
|
panel1.Location = new Point(0, 0);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(176, 653);
|
|
panel1.TabIndex = 0;
|
|
//
|
|
// button9
|
|
//
|
|
button9.BackColor = Color.DarkViolet;
|
|
button9.Location = new Point(12, 324);
|
|
button9.Name = "button9";
|
|
button9.Size = new Size(147, 41);
|
|
button9.TabIndex = 6;
|
|
button9.Text = "Вывод задания ";
|
|
button9.UseVisualStyleBackColor = false;
|
|
button9.Click += Button9_Click;
|
|
//
|
|
// button6
|
|
//
|
|
button6.BackColor = Color.Crimson;
|
|
button6.Location = new Point(3, 222);
|
|
button6.Name = "button6";
|
|
button6.Size = new Size(165, 36);
|
|
button6.TabIndex = 5;
|
|
button6.Text = "Задание 6";
|
|
button6.UseVisualStyleBackColor = false;
|
|
button6.Click += Button6_Click;
|
|
//
|
|
// button5
|
|
//
|
|
button5.BackColor = Color.Crimson;
|
|
button5.Location = new Point(3, 180);
|
|
button5.Name = "button5";
|
|
button5.Size = new Size(165, 36);
|
|
button5.TabIndex = 4;
|
|
button5.Text = "задание 5";
|
|
button5.UseVisualStyleBackColor = false;
|
|
button5.Click += Button5_Click;
|
|
//
|
|
// button4
|
|
//
|
|
button4.BackColor = Color.Crimson;
|
|
button4.Location = new Point(3, 138);
|
|
button4.Name = "button4";
|
|
button4.Size = new Size(165, 36);
|
|
button4.TabIndex = 3;
|
|
button4.Text = "Задание 4";
|
|
button4.UseVisualStyleBackColor = false;
|
|
button4.Click += Button4_Click;
|
|
//
|
|
// button3
|
|
//
|
|
button3.BackColor = Color.Crimson;
|
|
button3.Location = new Point(3, 96);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(165, 36);
|
|
button3.TabIndex = 2;
|
|
button3.Text = "Задание 3";
|
|
button3.UseVisualStyleBackColor = false;
|
|
button3.Click += Button3_Click;
|
|
//
|
|
// button2
|
|
//
|
|
button2.BackColor = Color.Crimson;
|
|
button2.Location = new Point(3, 54);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(165, 36);
|
|
button2.TabIndex = 1;
|
|
button2.Text = "Задание 2";
|
|
button2.UseVisualStyleBackColor = false;
|
|
button2.Click += Button2_Click;
|
|
//
|
|
// button1
|
|
//
|
|
button1.BackColor = Color.Crimson;
|
|
button1.Location = new Point(3, 12);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(165, 36);
|
|
button1.TabIndex = 0;
|
|
button1.Text = "Задание 1";
|
|
button1.UseVisualStyleBackColor = false;
|
|
button1.Click += Button1_Click;
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.Controls.Add(arrayTextBox);
|
|
panel2.Controls.Add(panel3);
|
|
panel2.Controls.Add(label4);
|
|
panel2.Controls.Add(label3);
|
|
panel2.Controls.Add(label2);
|
|
panel2.Controls.Add(textBoxMax);
|
|
panel2.Controls.Add(textBoxMin);
|
|
panel2.Controls.Add(label1);
|
|
panel2.Controls.Add(textBoxLen);
|
|
panel2.Controls.Add(button8);
|
|
panel2.Controls.Add(button7);
|
|
panel2.Dock = DockStyle.Right;
|
|
panel2.Location = new Point(697, 0);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(238, 653);
|
|
panel2.TabIndex = 1;
|
|
//
|
|
// arrayTextBox
|
|
//
|
|
arrayTextBox.Location = new Point(26, 12);
|
|
arrayTextBox.Name = "arrayTextBox";
|
|
arrayTextBox.Size = new Size(185, 120);
|
|
arrayTextBox.TabIndex = 11;
|
|
arrayTextBox.Text = "";
|
|
//
|
|
// panel3
|
|
//
|
|
panel3.Controls.Add(richTextBox1);
|
|
panel3.Controls.Add(button10);
|
|
panel3.Location = new Point(26, 390);
|
|
panel3.Name = "panel3";
|
|
panel3.Size = new Size(200, 251);
|
|
panel3.TabIndex = 10;
|
|
//
|
|
// richTextBox1
|
|
//
|
|
richTextBox1.Location = new Point(12, 12);
|
|
richTextBox1.Name = "richTextBox1";
|
|
richTextBox1.Size = new Size(173, 173);
|
|
richTextBox1.TabIndex = 12;
|
|
richTextBox1.Text = "";
|
|
//
|
|
// button10
|
|
//
|
|
button10.BackColor = Color.Blue;
|
|
button10.Location = new Point(36, 200);
|
|
button10.Name = "button10";
|
|
button10.Size = new Size(142, 37);
|
|
button10.TabIndex = 1;
|
|
button10.Text = "Вывод результата";
|
|
button10.UseVisualStyleBackColor = false;
|
|
button10.Click += button10_Click;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(26, 201);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(199, 15);
|
|
label4.TabIndex = 9;
|
|
label4.Text = "Диапазон генерируемых значений";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(174, 243);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(30, 15);
|
|
label3.TabIndex = 8;
|
|
label3.Text = "Max";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(39, 243);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(28, 15);
|
|
label2.TabIndex = 7;
|
|
label2.Text = "Min";
|
|
//
|
|
// textBoxMax
|
|
//
|
|
textBoxMax.Location = new Point(141, 273);
|
|
textBoxMax.Name = "textBoxMax";
|
|
textBoxMax.Size = new Size(85, 23);
|
|
textBoxMax.TabIndex = 6;
|
|
//
|
|
// textBoxMin
|
|
//
|
|
textBoxMin.Location = new Point(15, 273);
|
|
textBoxMin.Name = "textBoxMin";
|
|
textBoxMin.Size = new Size(81, 23);
|
|
textBoxMin.TabIndex = 5;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(26, 159);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(91, 15);
|
|
label1.TabIndex = 4;
|
|
label1.Text = "Длина массива";
|
|
//
|
|
// textBoxLen
|
|
//
|
|
textBoxLen.Location = new Point(123, 159);
|
|
textBoxLen.Name = "textBoxLen";
|
|
textBoxLen.Size = new Size(101, 23);
|
|
textBoxLen.TabIndex = 3;
|
|
//
|
|
// button8
|
|
//
|
|
button8.BackColor = Color.Chartreuse;
|
|
button8.Location = new Point(15, 341);
|
|
button8.Name = "button8";
|
|
button8.Size = new Size(211, 33);
|
|
button8.TabIndex = 2;
|
|
button8.Text = "Генерация двумерного массива";
|
|
button8.UseVisualStyleBackColor = false;
|
|
button8.Click += ButtonTwo_Click;
|
|
//
|
|
// button7
|
|
//
|
|
button7.BackColor = Color.Chartreuse;
|
|
button7.Location = new Point(15, 302);
|
|
button7.Name = "button7";
|
|
button7.Size = new Size(211, 33);
|
|
button7.TabIndex = 1;
|
|
button7.Text = "Генерация одномерного массива";
|
|
button7.UseVisualStyleBackColor = false;
|
|
button7.Click += ButtonOne_Click;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(935, 653);
|
|
Controls.Add(panel2);
|
|
Controls.Add(panel1);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
panel1.ResumeLayout(false);
|
|
panel2.ResumeLayout(false);
|
|
panel2.PerformLayout();
|
|
panel3.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Panel panel1;
|
|
private Button button6;
|
|
private Button button5;
|
|
private Button button4;
|
|
private Button button3;
|
|
private Button button2;
|
|
private Button button1;
|
|
private Panel panel2;
|
|
private Button button7;
|
|
private Label label4;
|
|
private Label label3;
|
|
private Label label2;
|
|
private TextBox textBoxMax;
|
|
private TextBox textBoxMin;
|
|
private Label label1;
|
|
private TextBox textBoxLen;
|
|
private Button button8;
|
|
private Button button9;
|
|
private Panel panel3;
|
|
private Button button10;
|
|
private RichTextBox arrayTextBox;
|
|
private RichTextBox richTextBox1;
|
|
}
|
|
} |