251 lines
11 KiB
C#
251 lines
11 KiB
C#
|
namespace 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()
|
|||
|
{
|
|||
|
textBoxMatrix1 = new TextBox();
|
|||
|
textBoxResult = new TextBox();
|
|||
|
buttonAlg1 = new Button();
|
|||
|
textBoxMatrix2 = new TextBox();
|
|||
|
buttonAlg2 = new Button();
|
|||
|
openFileDialog1 = new OpenFileDialog();
|
|||
|
label3 = new Label();
|
|||
|
labelResultTime = new Label();
|
|||
|
label4 = new Label();
|
|||
|
countStream = new NumericUpDown();
|
|||
|
buttonGenerateMatrix1 = new Button();
|
|||
|
buttonGenerateMatrix2 = new Button();
|
|||
|
label5 = new Label();
|
|||
|
genCountRowCol = new NumericUpDown();
|
|||
|
button1 = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)countStream).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)genCountRowCol).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// textBoxMatrix1
|
|||
|
//
|
|||
|
textBoxMatrix1.BackColor = SystemColors.ButtonFace;
|
|||
|
textBoxMatrix1.Location = new Point(12, 1);
|
|||
|
textBoxMatrix1.Multiline = true;
|
|||
|
textBoxMatrix1.Name = "textBoxMatrix1";
|
|||
|
textBoxMatrix1.ScrollBars = ScrollBars.Vertical;
|
|||
|
textBoxMatrix1.Size = new Size(273, 252);
|
|||
|
textBoxMatrix1.TabIndex = 0;
|
|||
|
//
|
|||
|
// textBoxResult
|
|||
|
//
|
|||
|
textBoxResult.BackColor = SystemColors.ButtonFace;
|
|||
|
textBoxResult.Location = new Point(389, 260);
|
|||
|
textBoxResult.Multiline = true;
|
|||
|
textBoxResult.Name = "textBoxResult";
|
|||
|
textBoxResult.ScrollBars = ScrollBars.Vertical;
|
|||
|
textBoxResult.Size = new Size(609, 341);
|
|||
|
textBoxResult.TabIndex = 1;
|
|||
|
//
|
|||
|
// buttonAlg1
|
|||
|
//
|
|||
|
buttonAlg1.BackColor = Color.SpringGreen;
|
|||
|
buttonAlg1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonAlg1.Location = new Point(389, 103);
|
|||
|
buttonAlg1.Name = "buttonAlg1";
|
|||
|
buttonAlg1.Size = new Size(609, 34);
|
|||
|
buttonAlg1.TabIndex = 2;
|
|||
|
buttonAlg1.Text = "Обычный алгоритм";
|
|||
|
buttonAlg1.UseVisualStyleBackColor = false;
|
|||
|
buttonAlg1.Click += buttonAlg1_Click;
|
|||
|
//
|
|||
|
// textBoxMatrix2
|
|||
|
//
|
|||
|
textBoxMatrix2.BackColor = SystemColors.ButtonFace;
|
|||
|
textBoxMatrix2.Location = new Point(1102, 1);
|
|||
|
textBoxMatrix2.Multiline = true;
|
|||
|
textBoxMatrix2.Name = "textBoxMatrix2";
|
|||
|
textBoxMatrix2.ScrollBars = ScrollBars.Vertical;
|
|||
|
textBoxMatrix2.Size = new Size(273, 253);
|
|||
|
textBoxMatrix2.TabIndex = 4;
|
|||
|
//
|
|||
|
// buttonAlg2
|
|||
|
//
|
|||
|
buttonAlg2.BackColor = Color.SpringGreen;
|
|||
|
buttonAlg2.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonAlg2.Location = new Point(389, 166);
|
|||
|
buttonAlg2.Name = "buttonAlg2";
|
|||
|
buttonAlg2.Size = new Size(609, 34);
|
|||
|
buttonAlg2.TabIndex = 8;
|
|||
|
buttonAlg2.Text = "Паралелльный алгоритм";
|
|||
|
buttonAlg2.UseVisualStyleBackColor = false;
|
|||
|
buttonAlg2.Click += buttonAlg2_Click;
|
|||
|
//
|
|||
|
// openFileDialog1
|
|||
|
//
|
|||
|
openFileDialog1.FileName = "openFileDialog1";
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
label3.AutoSize = true;
|
|||
|
label3.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
label3.Location = new Point(409, 645);
|
|||
|
label3.Name = "label3";
|
|||
|
label3.Size = new Size(83, 21);
|
|||
|
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(526, 642);
|
|||
|
labelResultTime.Name = "labelResultTime";
|
|||
|
labelResultTime.Size = new Size(0, 30);
|
|||
|
labelResultTime.TabIndex = 10;
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
label4.AutoSize = true;
|
|||
|
label4.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
label4.Location = new Point(1102, 398);
|
|||
|
label4.Name = "label4";
|
|||
|
label4.Size = new Size(159, 21);
|
|||
|
label4.TabIndex = 12;
|
|||
|
label4.Text = "Количество потоков:";
|
|||
|
//
|
|||
|
// countStream
|
|||
|
//
|
|||
|
countStream.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
countStream.Location = new Point(1309, 396);
|
|||
|
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(66, 29);
|
|||
|
countStream.TabIndex = 13;
|
|||
|
countStream.Value = new decimal(new int[] { 4, 0, 0, 0 });
|
|||
|
//
|
|||
|
// buttonGenerateMatrix1
|
|||
|
//
|
|||
|
buttonGenerateMatrix1.BackColor = Color.SpringGreen;
|
|||
|
buttonGenerateMatrix1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonGenerateMatrix1.Location = new Point(12, 279);
|
|||
|
buttonGenerateMatrix1.Name = "buttonGenerateMatrix1";
|
|||
|
buttonGenerateMatrix1.Size = new Size(273, 32);
|
|||
|
buttonGenerateMatrix1.TabIndex = 14;
|
|||
|
buttonGenerateMatrix1.Text = "Сгенерировать";
|
|||
|
buttonGenerateMatrix1.UseVisualStyleBackColor = false;
|
|||
|
buttonGenerateMatrix1.Click += buttonGenerateMatrix1_Click;
|
|||
|
//
|
|||
|
// buttonGenerateMatrix2
|
|||
|
//
|
|||
|
buttonGenerateMatrix2.BackColor = Color.SpringGreen;
|
|||
|
buttonGenerateMatrix2.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonGenerateMatrix2.Location = new Point(1102, 279);
|
|||
|
buttonGenerateMatrix2.Name = "buttonGenerateMatrix2";
|
|||
|
buttonGenerateMatrix2.Size = new Size(273, 32);
|
|||
|
buttonGenerateMatrix2.TabIndex = 15;
|
|||
|
buttonGenerateMatrix2.Text = "Сгенерировать";
|
|||
|
buttonGenerateMatrix2.UseVisualStyleBackColor = false;
|
|||
|
buttonGenerateMatrix2.Click += buttonGenerateMatrix2_Click;
|
|||
|
//
|
|||
|
// label5
|
|||
|
//
|
|||
|
label5.AutoSize = true;
|
|||
|
label5.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
label5.Location = new Point(1102, 346);
|
|||
|
label5.Name = "label5";
|
|||
|
label5.Size = new Size(136, 21);
|
|||
|
label5.TabIndex = 16;
|
|||
|
label5.Text = "Размер массивов:";
|
|||
|
//
|
|||
|
// genCountRowCol
|
|||
|
//
|
|||
|
genCountRowCol.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
genCountRowCol.Location = new Point(1309, 344);
|
|||
|
genCountRowCol.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|||
|
genCountRowCol.Minimum = new decimal(new int[] { 2, 0, 0, 0 });
|
|||
|
genCountRowCol.Name = "genCountRowCol";
|
|||
|
genCountRowCol.Size = new Size(66, 29);
|
|||
|
genCountRowCol.TabIndex = 17;
|
|||
|
genCountRowCol.Value = new decimal(new int[] { 10, 0, 0, 0 });
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
button1.BackColor = Color.Orange;
|
|||
|
button1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
button1.Location = new Point(389, 41);
|
|||
|
button1.Name = "button1";
|
|||
|
button1.Size = new Size(609, 32);
|
|||
|
button1.TabIndex = 22;
|
|||
|
button1.Text = "Очистить матрицы";
|
|||
|
button1.UseVisualStyleBackColor = false;
|
|||
|
button1.Click += button1_Click;
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
BackColor = SystemColors.GradientInactiveCaption;
|
|||
|
ClientSize = new Size(1523, 681);
|
|||
|
Controls.Add(button1);
|
|||
|
Controls.Add(genCountRowCol);
|
|||
|
Controls.Add(label5);
|
|||
|
Controls.Add(buttonGenerateMatrix2);
|
|||
|
Controls.Add(buttonGenerateMatrix1);
|
|||
|
Controls.Add(countStream);
|
|||
|
Controls.Add(label4);
|
|||
|
Controls.Add(labelResultTime);
|
|||
|
Controls.Add(label3);
|
|||
|
Controls.Add(buttonAlg2);
|
|||
|
Controls.Add(textBoxMatrix2);
|
|||
|
Controls.Add(buttonAlg1);
|
|||
|
Controls.Add(textBoxResult);
|
|||
|
Controls.Add(textBoxMatrix1);
|
|||
|
Name = "Form1";
|
|||
|
Text = "Умножение матриц: Мельников К.Ю. ИСЭбд-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 TextBox textBoxMatrix2;
|
|||
|
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 Button button1;
|
|||
|
}
|
|||
|
}
|