366 lines
17 KiB
C#
366 lines
17 KiB
C#
|
namespace RVIP_Lab5
|
|||
|
{
|
|||
|
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()
|
|||
|
{
|
|||
|
this.textBoxMatrix1 = new System.Windows.Forms.TextBox();
|
|||
|
this.textBoxResult = new System.Windows.Forms.TextBox();
|
|||
|
this.buttonAlg1 = new System.Windows.Forms.Button();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.textBoxMatrix2 = new System.Windows.Forms.TextBox();
|
|||
|
this.label2 = new System.Windows.Forms.Label();
|
|||
|
this.buttonLoadMatrix1 = new System.Windows.Forms.Button();
|
|||
|
this.buttonLoadMatrix2 = new System.Windows.Forms.Button();
|
|||
|
this.buttonAlg2 = new System.Windows.Forms.Button();
|
|||
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|||
|
this.label3 = new System.Windows.Forms.Label();
|
|||
|
this.labelResultTime = new System.Windows.Forms.Label();
|
|||
|
this.label4 = new System.Windows.Forms.Label();
|
|||
|
this.countStream = new System.Windows.Forms.NumericUpDown();
|
|||
|
this.buttonGenerateMatrix1 = new System.Windows.Forms.Button();
|
|||
|
this.buttonGenerateMatrix2 = new System.Windows.Forms.Button();
|
|||
|
this.label5 = new System.Windows.Forms.Label();
|
|||
|
this.genCountRowCol = new System.Windows.Forms.NumericUpDown();
|
|||
|
this.checkBoxIsTyping = new System.Windows.Forms.CheckBox();
|
|||
|
this.matrix1IsFull = new System.Windows.Forms.CheckBox();
|
|||
|
this.matrix2IsFull = new System.Windows.Forms.CheckBox();
|
|||
|
this.matrixResIsFull = new System.Windows.Forms.CheckBox();
|
|||
|
this.button1 = new System.Windows.Forms.Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.countStream)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.genCountRowCol)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// textBoxMatrix1
|
|||
|
//
|
|||
|
this.textBoxMatrix1.Location = new System.Drawing.Point(12, 50);
|
|||
|
this.textBoxMatrix1.Multiline = true;
|
|||
|
this.textBoxMatrix1.Name = "textBoxMatrix1";
|
|||
|
this.textBoxMatrix1.Size = new System.Drawing.Size(258, 258);
|
|||
|
this.textBoxMatrix1.TabIndex = 0;
|
|||
|
//
|
|||
|
// textBoxResult
|
|||
|
//
|
|||
|
this.textBoxResult.Location = new System.Drawing.Point(768, 50);
|
|||
|
this.textBoxResult.Multiline = true;
|
|||
|
this.textBoxResult.Name = "textBoxResult";
|
|||
|
this.textBoxResult.Size = new System.Drawing.Size(258, 258);
|
|||
|
this.textBoxResult.TabIndex = 1;
|
|||
|
//
|
|||
|
// buttonAlg1
|
|||
|
//
|
|||
|
this.buttonAlg1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.buttonAlg1.Location = new System.Drawing.Point(378, 349);
|
|||
|
this.buttonAlg1.Name = "buttonAlg1";
|
|||
|
this.buttonAlg1.Size = new System.Drawing.Size(258, 40);
|
|||
|
this.buttonAlg1.TabIndex = 2;
|
|||
|
this.buttonAlg1.Text = "Обычный алгоритм";
|
|||
|
this.buttonAlg1.UseVisualStyleBackColor = true;
|
|||
|
this.buttonAlg1.Click += new System.EventHandler(this.buttonAlg1_Click);
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.BackColor = System.Drawing.Color.Transparent;
|
|||
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 72F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.label1.Location = new System.Drawing.Point(276, 117);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(111, 128);
|
|||
|
this.label1.TabIndex = 3;
|
|||
|
this.label1.Text = "X";
|
|||
|
//
|
|||
|
// textBoxMatrix2
|
|||
|
//
|
|||
|
this.textBoxMatrix2.Location = new System.Drawing.Point(378, 50);
|
|||
|
this.textBoxMatrix2.Multiline = true;
|
|||
|
this.textBoxMatrix2.Name = "textBoxMatrix2";
|
|||
|
this.textBoxMatrix2.Size = new System.Drawing.Size(258, 258);
|
|||
|
this.textBoxMatrix2.TabIndex = 4;
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.BackColor = System.Drawing.Color.Transparent;
|
|||
|
this.label2.Font = new System.Drawing.Font("Segoe UI", 72F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.label2.Location = new System.Drawing.Point(642, 117);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(120, 128);
|
|||
|
this.label2.TabIndex = 5;
|
|||
|
this.label2.Text = "=";
|
|||
|
//
|
|||
|
// buttonLoadMatrix1
|
|||
|
//
|
|||
|
this.buttonLoadMatrix1.Location = new System.Drawing.Point(12, 12);
|
|||
|
this.buttonLoadMatrix1.Name = "buttonLoadMatrix1";
|
|||
|
this.buttonLoadMatrix1.Size = new System.Drawing.Size(130, 32);
|
|||
|
this.buttonLoadMatrix1.TabIndex = 6;
|
|||
|
this.buttonLoadMatrix1.Text = "Загрузить из файла";
|
|||
|
this.buttonLoadMatrix1.UseVisualStyleBackColor = true;
|
|||
|
this.buttonLoadMatrix1.Click += new System.EventHandler(this.buttonLoadMatrix1_Click);
|
|||
|
//
|
|||
|
// buttonLoadMatrix2
|
|||
|
//
|
|||
|
this.buttonLoadMatrix2.Location = new System.Drawing.Point(378, 12);
|
|||
|
this.buttonLoadMatrix2.Name = "buttonLoadMatrix2";
|
|||
|
this.buttonLoadMatrix2.Size = new System.Drawing.Size(132, 32);
|
|||
|
this.buttonLoadMatrix2.TabIndex = 7;
|
|||
|
this.buttonLoadMatrix2.Text = "Загрузить из файла";
|
|||
|
this.buttonLoadMatrix2.UseVisualStyleBackColor = true;
|
|||
|
this.buttonLoadMatrix2.Click += new System.EventHandler(this.buttonLoadMatrix2_Click);
|
|||
|
//
|
|||
|
// buttonAlg2
|
|||
|
//
|
|||
|
this.buttonAlg2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.buttonAlg2.Location = new System.Drawing.Point(378, 395);
|
|||
|
this.buttonAlg2.Name = "buttonAlg2";
|
|||
|
this.buttonAlg2.Size = new System.Drawing.Size(258, 39);
|
|||
|
this.buttonAlg2.TabIndex = 8;
|
|||
|
this.buttonAlg2.Text = "Паралелльный алгоритм";
|
|||
|
this.buttonAlg2.UseVisualStyleBackColor = true;
|
|||
|
this.buttonAlg2.Click += new System.EventHandler(this.buttonAlg2_Click);
|
|||
|
//
|
|||
|
// openFileDialog1
|
|||
|
//
|
|||
|
this.openFileDialog1.FileName = "openFileDialog1";
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
this.label3.AutoSize = true;
|
|||
|
this.label3.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.label3.Location = new System.Drawing.Point(12, 340);
|
|||
|
this.label3.Name = "label3";
|
|||
|
this.label3.Size = new System.Drawing.Size(111, 30);
|
|||
|
this.label3.TabIndex = 9;
|
|||
|
this.label3.Text = "Результат:";
|
|||
|
//
|
|||
|
// labelResultTime
|
|||
|
//
|
|||
|
this.labelResultTime.AutoSize = true;
|
|||
|
this.labelResultTime.Font = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.labelResultTime.Location = new System.Drawing.Point(114, 340);
|
|||
|
this.labelResultTime.Name = "labelResultTime";
|
|||
|
this.labelResultTime.Size = new System.Drawing.Size(0, 30);
|
|||
|
this.labelResultTime.TabIndex = 10;
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
this.label4.AutoSize = true;
|
|||
|
this.label4.Location = new System.Drawing.Point(653, 390);
|
|||
|
this.label4.Name = "label4";
|
|||
|
this.label4.Size = new System.Drawing.Size(123, 15);
|
|||
|
this.label4.TabIndex = 12;
|
|||
|
this.label4.Text = "Количество потоков:";
|
|||
|
//
|
|||
|
// countStream
|
|||
|
//
|
|||
|
this.countStream.Location = new System.Drawing.Point(782, 388);
|
|||
|
this.countStream.Maximum = new decimal(new int[] {
|
|||
|
10,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.countStream.Minimum = new decimal(new int[] {
|
|||
|
1,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.countStream.Name = "countStream";
|
|||
|
this.countStream.Size = new System.Drawing.Size(66, 23);
|
|||
|
this.countStream.TabIndex = 13;
|
|||
|
this.countStream.Value = new decimal(new int[] {
|
|||
|
4,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
//
|
|||
|
// buttonGenerateMatrix1
|
|||
|
//
|
|||
|
this.buttonGenerateMatrix1.Location = new System.Drawing.Point(148, 12);
|
|||
|
this.buttonGenerateMatrix1.Name = "buttonGenerateMatrix1";
|
|||
|
this.buttonGenerateMatrix1.Size = new System.Drawing.Size(122, 32);
|
|||
|
this.buttonGenerateMatrix1.TabIndex = 14;
|
|||
|
this.buttonGenerateMatrix1.Text = "Сгенерировать";
|
|||
|
this.buttonGenerateMatrix1.UseVisualStyleBackColor = true;
|
|||
|
this.buttonGenerateMatrix1.Click += new System.EventHandler(this.buttonGenerateMatrix1_Click);
|
|||
|
//
|
|||
|
// buttonGenerateMatrix2
|
|||
|
//
|
|||
|
this.buttonGenerateMatrix2.Location = new System.Drawing.Point(514, 12);
|
|||
|
this.buttonGenerateMatrix2.Name = "buttonGenerateMatrix2";
|
|||
|
this.buttonGenerateMatrix2.Size = new System.Drawing.Size(122, 32);
|
|||
|
this.buttonGenerateMatrix2.TabIndex = 15;
|
|||
|
this.buttonGenerateMatrix2.Text = "Сгенерировать";
|
|||
|
this.buttonGenerateMatrix2.UseVisualStyleBackColor = true;
|
|||
|
this.buttonGenerateMatrix2.Click += new System.EventHandler(this.buttonGenerateMatrix2_Click);
|
|||
|
//
|
|||
|
// label5
|
|||
|
//
|
|||
|
this.label5.AutoSize = true;
|
|||
|
this.label5.Location = new System.Drawing.Point(653, 345);
|
|||
|
this.label5.Name = "label5";
|
|||
|
this.label5.Size = new System.Drawing.Size(166, 15);
|
|||
|
this.label5.TabIndex = 16;
|
|||
|
this.label5.Text = "Размерность при генерации:";
|
|||
|
//
|
|||
|
// genCountRowCol
|
|||
|
//
|
|||
|
this.genCountRowCol.Location = new System.Drawing.Point(825, 343);
|
|||
|
this.genCountRowCol.Maximum = new decimal(new int[] {
|
|||
|
1000,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.genCountRowCol.Minimum = new decimal(new int[] {
|
|||
|
2,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.genCountRowCol.Name = "genCountRowCol";
|
|||
|
this.genCountRowCol.Size = new System.Drawing.Size(66, 23);
|
|||
|
this.genCountRowCol.TabIndex = 17;
|
|||
|
this.genCountRowCol.Value = new decimal(new int[] {
|
|||
|
10,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
//
|
|||
|
// checkBoxIsTyping
|
|||
|
//
|
|||
|
this.checkBoxIsTyping.AutoSize = true;
|
|||
|
this.checkBoxIsTyping.Checked = true;
|
|||
|
this.checkBoxIsTyping.CheckState = System.Windows.Forms.CheckState.Checked;
|
|||
|
this.checkBoxIsTyping.Location = new System.Drawing.Point(874, 388);
|
|||
|
this.checkBoxIsTyping.Name = "checkBoxIsTyping";
|
|||
|
this.checkBoxIsTyping.Size = new System.Drawing.Size(152, 19);
|
|||
|
this.checkBoxIsTyping.TabIndex = 18;
|
|||
|
this.checkBoxIsTyping.Text = "Выводить все в textbox";
|
|||
|
this.checkBoxIsTyping.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// matrix1IsFull
|
|||
|
//
|
|||
|
this.matrix1IsFull.AutoSize = true;
|
|||
|
this.matrix1IsFull.Location = new System.Drawing.Point(12, 314);
|
|||
|
this.matrix1IsFull.Name = "matrix1IsFull";
|
|||
|
this.matrix1IsFull.Size = new System.Drawing.Size(86, 19);
|
|||
|
this.matrix1IsFull.TabIndex = 19;
|
|||
|
this.matrix1IsFull.Text = "Заполнена";
|
|||
|
this.matrix1IsFull.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// matrix2IsFull
|
|||
|
//
|
|||
|
this.matrix2IsFull.AutoSize = true;
|
|||
|
this.matrix2IsFull.Location = new System.Drawing.Point(378, 314);
|
|||
|
this.matrix2IsFull.Name = "matrix2IsFull";
|
|||
|
this.matrix2IsFull.Size = new System.Drawing.Size(86, 19);
|
|||
|
this.matrix2IsFull.TabIndex = 20;
|
|||
|
this.matrix2IsFull.Text = "Заполнена";
|
|||
|
this.matrix2IsFull.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// matrixResIsFull
|
|||
|
//
|
|||
|
this.matrixResIsFull.AutoSize = true;
|
|||
|
this.matrixResIsFull.Location = new System.Drawing.Point(765, 314);
|
|||
|
this.matrixResIsFull.Name = "matrixResIsFull";
|
|||
|
this.matrixResIsFull.Size = new System.Drawing.Size(86, 19);
|
|||
|
this.matrixResIsFull.TabIndex = 21;
|
|||
|
this.matrixResIsFull.Text = "Заполнена";
|
|||
|
this.matrixResIsFull.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
this.button1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|||
|
this.button1.Location = new System.Drawing.Point(12, 388);
|
|||
|
this.button1.Name = "button1";
|
|||
|
this.button1.Size = new System.Drawing.Size(258, 46);
|
|||
|
this.button1.TabIndex = 22;
|
|||
|
this.button1.Text = "Очистить матрицы";
|
|||
|
this.button1.UseVisualStyleBackColor = true;
|
|||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(1052, 446);
|
|||
|
this.Controls.Add(this.button1);
|
|||
|
this.Controls.Add(this.matrixResIsFull);
|
|||
|
this.Controls.Add(this.matrix2IsFull);
|
|||
|
this.Controls.Add(this.matrix1IsFull);
|
|||
|
this.Controls.Add(this.checkBoxIsTyping);
|
|||
|
this.Controls.Add(this.genCountRowCol);
|
|||
|
this.Controls.Add(this.label5);
|
|||
|
this.Controls.Add(this.buttonGenerateMatrix2);
|
|||
|
this.Controls.Add(this.buttonGenerateMatrix1);
|
|||
|
this.Controls.Add(this.countStream);
|
|||
|
this.Controls.Add(this.label4);
|
|||
|
this.Controls.Add(this.labelResultTime);
|
|||
|
this.Controls.Add(this.label3);
|
|||
|
this.Controls.Add(this.buttonAlg2);
|
|||
|
this.Controls.Add(this.buttonLoadMatrix2);
|
|||
|
this.Controls.Add(this.buttonLoadMatrix1);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.textBoxMatrix2);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.buttonAlg1);
|
|||
|
this.Controls.Add(this.textBoxResult);
|
|||
|
this.Controls.Add(this.textBoxMatrix1);
|
|||
|
this.Name = "Form1";
|
|||
|
this.Text = "Перемножение матриц";
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.countStream)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.genCountRowCol)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private TextBox textBoxMatrix1;
|
|||
|
private TextBox textBoxResult;
|
|||
|
private Button buttonAlg1;
|
|||
|
private Label label1;
|
|||
|
private TextBox textBoxMatrix2;
|
|||
|
private Label label2;
|
|||
|
private Button buttonLoadMatrix1;
|
|||
|
private Button buttonLoadMatrix2;
|
|||
|
private Button buttonAlg2;
|
|||
|
private OpenFileDialog openFileDialog1;
|
|||
|
private Label label3;
|
|||
|
private Label labelResultTime;
|
|||
|
private Label label4;
|
|||
|
private NumericUpDown countStream;
|
|||
|
private Button buttonGenerateMatrix1;
|
|||
|
private Button buttonGenerateMatrix2;
|
|||
|
private Label label5;
|
|||
|
private NumericUpDown genCountRowCol;
|
|||
|
private CheckBox checkBoxIsTyping;
|
|||
|
private CheckBox matrix1IsFull;
|
|||
|
private CheckBox matrix2IsFull;
|
|||
|
private CheckBox matrixResIsFull;
|
|||
|
private Button button1;
|
|||
|
}
|
|||
|
}
|