278 lines
11 KiB
C#
278 lines
11 KiB
C#
namespace Lab6
|
|
{
|
|
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()
|
|
{
|
|
textBoxMatrix1 = new TextBox();
|
|
textBoxResult = new TextBox();
|
|
buttonAlg1 = new Button();
|
|
buttonAlg2 = new Button();
|
|
openFileDialog1 = new OpenFileDialog();
|
|
label3 = new Label();
|
|
labelResultTime = new Label();
|
|
label4 = new Label();
|
|
countStream = new NumericUpDown();
|
|
buttonGenerateMatrix1 = new Button();
|
|
label5 = new Label();
|
|
genCountRowCol = new NumericUpDown();
|
|
checkBoxIsTyping = new CheckBox();
|
|
matrix1IsFull = new CheckBox();
|
|
button1 = new Button();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
((System.ComponentModel.ISupportInitialize)countStream).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)genCountRowCol).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// textBoxMatrix1
|
|
//
|
|
textBoxMatrix1.Location = new Point(666, 50);
|
|
textBoxMatrix1.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxMatrix1.Multiline = true;
|
|
textBoxMatrix1.Name = "textBoxMatrix1";
|
|
textBoxMatrix1.Size = new Size(491, 384);
|
|
textBoxMatrix1.TabIndex = 0;
|
|
//
|
|
// textBoxResult
|
|
//
|
|
textBoxResult.Location = new Point(12, 50);
|
|
textBoxResult.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxResult.Multiline = true;
|
|
textBoxResult.Name = "textBoxResult";
|
|
textBoxResult.Size = new Size(294, 52);
|
|
textBoxResult.TabIndex = 1;
|
|
//
|
|
// buttonAlg1
|
|
//
|
|
buttonAlg1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonAlg1.Location = new Point(12, 260);
|
|
buttonAlg1.Margin = new Padding(3, 4, 3, 4);
|
|
buttonAlg1.Name = "buttonAlg1";
|
|
buttonAlg1.Size = new Size(295, 53);
|
|
buttonAlg1.TabIndex = 2;
|
|
buttonAlg1.Text = "Обычный алгоритм";
|
|
buttonAlg1.UseVisualStyleBackColor = true;
|
|
buttonAlg1.Click += buttonAlg1_Click;
|
|
//
|
|
// buttonAlg2
|
|
//
|
|
buttonAlg2.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonAlg2.Location = new Point(14, 342);
|
|
buttonAlg2.Margin = new Padding(3, 4, 3, 4);
|
|
buttonAlg2.Name = "buttonAlg2";
|
|
buttonAlg2.Size = new Size(292, 55);
|
|
buttonAlg2.TabIndex = 8;
|
|
buttonAlg2.Text = "Паралелльный алгоритм";
|
|
buttonAlg2.UseVisualStyleBackColor = true;
|
|
buttonAlg2.Click += buttonAlg2_Click;
|
|
//
|
|
// openFileDialog1
|
|
//
|
|
openFileDialog1.FileName = "openFileDialog1";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
label3.Location = new Point(14, 453);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(141, 37);
|
|
label3.TabIndex = 9;
|
|
label3.Text = "Результат:";
|
|
//
|
|
// labelResultTime
|
|
//
|
|
labelResultTime.AutoSize = true;
|
|
labelResultTime.Font = new Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
labelResultTime.Location = new Point(130, 453);
|
|
labelResultTime.Name = "labelResultTime";
|
|
labelResultTime.Size = new Size(0, 37);
|
|
labelResultTime.TabIndex = 10;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(335, 61);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(154, 20);
|
|
label4.TabIndex = 12;
|
|
label4.Text = "Количество потоков:";
|
|
//
|
|
// countStream
|
|
//
|
|
countStream.Location = new Point(555, 61);
|
|
countStream.Margin = new Padding(3, 4, 3, 4);
|
|
countStream.Maximum = new decimal(new int[] { 10, 0, 0, 0 });
|
|
countStream.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
|
countStream.Name = "countStream";
|
|
countStream.Size = new Size(75, 27);
|
|
countStream.TabIndex = 13;
|
|
countStream.Value = new decimal(new int[] { 4, 0, 0, 0 });
|
|
//
|
|
// buttonGenerateMatrix1
|
|
//
|
|
buttonGenerateMatrix1.ForeColor = SystemColors.Highlight;
|
|
buttonGenerateMatrix1.Location = new Point(802, 455);
|
|
buttonGenerateMatrix1.Margin = new Padding(3, 4, 3, 4);
|
|
buttonGenerateMatrix1.Name = "buttonGenerateMatrix1";
|
|
buttonGenerateMatrix1.Size = new Size(213, 43);
|
|
buttonGenerateMatrix1.TabIndex = 14;
|
|
buttonGenerateMatrix1.Text = "Сгенерировать матрицу";
|
|
buttonGenerateMatrix1.UseVisualStyleBackColor = true;
|
|
buttonGenerateMatrix1.Click += buttonGenerateMatrix1_Click;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(335, 26);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(130, 20);
|
|
label5.TabIndex = 16;
|
|
label5.Text = "Размер матрицы:";
|
|
//
|
|
// genCountRowCol
|
|
//
|
|
genCountRowCol.Location = new Point(555, 26);
|
|
genCountRowCol.Margin = new Padding(3, 4, 3, 4);
|
|
genCountRowCol.Maximum = new decimal(new int[] { 500, 0, 0, 0 });
|
|
genCountRowCol.Minimum = new decimal(new int[] { 2, 0, 0, 0 });
|
|
genCountRowCol.Name = "genCountRowCol";
|
|
genCountRowCol.Size = new Size(75, 27);
|
|
genCountRowCol.TabIndex = 17;
|
|
genCountRowCol.Value = new decimal(new int[] { 3, 0, 0, 0 });
|
|
//
|
|
// checkBoxIsTyping
|
|
//
|
|
checkBoxIsTyping.AutoSize = true;
|
|
checkBoxIsTyping.Checked = true;
|
|
checkBoxIsTyping.CheckState = CheckState.Checked;
|
|
checkBoxIsTyping.Location = new Point(352, 269);
|
|
checkBoxIsTyping.Margin = new Padding(3, 4, 3, 4);
|
|
checkBoxIsTyping.Name = "checkBoxIsTyping";
|
|
checkBoxIsTyping.Size = new Size(192, 24);
|
|
checkBoxIsTyping.TabIndex = 18;
|
|
checkBoxIsTyping.Text = "Выводить все в textbox";
|
|
checkBoxIsTyping.UseVisualStyleBackColor = true;
|
|
//
|
|
// matrix1IsFull
|
|
//
|
|
matrix1IsFull.AutoSize = true;
|
|
matrix1IsFull.Location = new Point(1050, 474);
|
|
matrix1IsFull.Margin = new Padding(3, 4, 3, 4);
|
|
matrix1IsFull.Name = "matrix1IsFull";
|
|
matrix1IsFull.Size = new Size(107, 24);
|
|
matrix1IsFull.TabIndex = 19;
|
|
matrix1IsFull.Text = "Заполнена";
|
|
matrix1IsFull.UseVisualStyleBackColor = true;
|
|
//
|
|
// button1
|
|
//
|
|
button1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|
button1.ForeColor = Color.Red;
|
|
button1.Location = new Point(14, 128);
|
|
button1.Margin = new Padding(3, 4, 3, 4);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(292, 33);
|
|
button1.TabIndex = 22;
|
|
button1.Text = "Очистить матрицу";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
label1.ForeColor = Color.Blue;
|
|
label1.Location = new Point(709, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(398, 37);
|
|
label1.TabIndex = 23;
|
|
label1.Text = "Поиск определителя матрицы:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
label2.ForeColor = Color.Blue;
|
|
label2.Location = new Point(14, 9);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(201, 37);
|
|
label2.TabIndex = 24;
|
|
label2.Text = "Определитель:";
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1169, 523);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(button1);
|
|
Controls.Add(matrix1IsFull);
|
|
Controls.Add(checkBoxIsTyping);
|
|
Controls.Add(genCountRowCol);
|
|
Controls.Add(label5);
|
|
Controls.Add(buttonGenerateMatrix1);
|
|
Controls.Add(countStream);
|
|
Controls.Add(label4);
|
|
Controls.Add(labelResultTime);
|
|
Controls.Add(label3);
|
|
Controls.Add(buttonAlg2);
|
|
Controls.Add(buttonAlg1);
|
|
Controls.Add(textBoxResult);
|
|
Controls.Add(textBoxMatrix1);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "Form1";
|
|
Text = "Лабораторная работа №6. Клементьева Жанна ИСЭбд-41.";
|
|
((System.ComponentModel.ISupportInitialize)countStream).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)genCountRowCol).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxMatrix1;
|
|
private TextBox textBoxResult;
|
|
private Button buttonAlg1;
|
|
private Button buttonAlg2;
|
|
private OpenFileDialog openFileDialog1;
|
|
private Label label3;
|
|
private Label labelResultTime;
|
|
private Label label4;
|
|
private NumericUpDown countStream;
|
|
private Button buttonGenerateMatrix1;
|
|
private Label label5;
|
|
private NumericUpDown genCountRowCol;
|
|
private CheckBox checkBoxIsTyping;
|
|
private CheckBox matrix1IsFull;
|
|
private Button button1;
|
|
private Label label1;
|
|
private Label label2;
|
|
}
|
|
} |