O’zbekiston respublikasi raqamli texnologiyalar vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalar universiteti




Download 0,64 Mb.
Sana12.07.2024
Hajmi0,64 Mb.
#267441
Bog'liq
dedlayn 11111111


O’ZBEKISTON RESPUBLIKASI RAQAMLI TEXNOLOGIYALAR VAZIRLIGI
MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALAR UNIVERSITETI

DASTURLASH 2 FANIDAN
Amaliy topshiriq

BAJARDI: RAHMATULLAYEV ABDUBOSIT


TEKSHIRDI: CHO’LLIYEV SHOXRUX

Toshkent – 2024
1-AMALIY TOPSHIRIQ

  1. VARIANT







namespace RandomMatrixApp
{
partial class Form1
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.TextBox txtN;
private System.Windows.Forms.TextBox txtM;
private System.Windows.Forms.Button btnGenerate;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Label lblDiagonalElements;

private void InitializeComponent()
{
this.txtN = new System.Windows.Forms.TextBox();
this.txtM = new System.Windows.Forms.TextBox();
this.btnGenerate = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.lblDiagonalElements = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();

// txtN
this.txtN.Location = new System.Drawing.Point(12, 12);
this.txtN.Name = "txtN";
this.txtN.Size = new System.Drawing.Size(100, 20);
this.txtN.TabIndex = 0;
this.txtN.Text = "N";

// txtM
this.txtM.Location = new System.Drawing.Point(118, 12);
this.txtM.Name = "txtM";
this.txtM.Size = new System.Drawing.Size(100, 20);
this.txtM.TabIndex = 1;
this.txtM.Text = "M";

// btnGenerate
this.btnGenerate.Location = new System.Drawing.Point(224, 10);
this.btnGenerate.Name = "btnGenerate";
this.btnGenerate.Size = new System.Drawing.Size(75, 23);
this.btnGenerate.TabIndex = 2;
this.btnGenerate.Text = "Generate";
this.btnGenerate.UseVisualStyleBackColor = true;
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);

// dataGridView1
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Location = new System.Drawing.Point(12, 39);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(760, 380);
this.dataGridView1.TabIndex = 3;

// lblDiagonalElements
this.lblDiagonalElements.AutoSize = true;
this.lblDiagonalElements.Location = new System.Drawing.Point(12, 422);
this.lblDiagonalElements.Name = "lblDiagonalElements";
this.lblDiagonalElements.Size = new System.Drawing.Size(35, 13);
this.lblDiagonalElements.TabIndex = 4;
this.lblDiagonalElements.Text = "Diagonal elements: ";

// Form1
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 441);
this.Controls.Add(this.lblDiagonalElements);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.btnGenerate);
this.Controls.Add(this.txtM);
this.Controls.Add(this.txtN);
this.Name = "Form1";
this.Text = "Random Matrix App";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}

protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
}
}


namespace RandomMatrixApp
{
partial class Form1
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.TextBox txtN;
private System.Windows.Forms.TextBox txtM;
private System.Windows.Forms.Button btnGenerate;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Label lblDiagonalElements;

private void InitializeComponent()
{
this.txtN = new System.Windows.Forms.TextBox();
this.txtM = new System.Windows.Forms.TextBox();
this.btnGenerate = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.lblDiagonalElements = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();

// txtN
this.txtN.Location = new System.Drawing.Point(12, 12);
this.txtN.Name = "txtN";
this.txtN.Size = new System.Drawing.Size(100, 20);
this.txtN.TabIndex = 0;
this.txtN.Text = "N";

// txtM
this.txtM.Location = new System.Drawing.Point(118, 12);
this.txtM.Name = "txtM";
this.txtM.Size = new System.Drawing.Size(100, 20);
this.txtM.TabIndex = 1;
this.txtM.Text = "M";

// btnGenerate
this.btnGenerate.Location = new System.Drawing.Point(224, 10);
this.btnGenerate.Name = "btnGenerate";
this.btnGenerate.Size = new System.Drawing.Size(75, 23);
this.btnGenerate.TabIndex = 2;
this.btnGenerate.Text = "Generate";
this.btnGenerate.UseVisualStyleBackColor = true;
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);

// dataGridView1
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Location = new System.Drawing.Point(12, 39);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(760, 380);
this.dataGridView1.TabIndex = 3;

// lblDiagonalElements
this.lblDiagonalElements.AutoSize = true;
this.lblDiagonalElements.Location = new System.Drawing.Point(12, 422);
this.lblDiagonalElements.Name = "lblDiagonalElements";
this.lblDiagonalElements.Size = new System.Drawing.Size(35, 13);
this.lblDiagonalElements.TabIndex = 4;
this.lblDiagonalElements.Text = "Diagonal elements: ";

// Form1
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 441);
this.Controls.Add(this.lblDiagonalElements);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.btnGenerate);
this.Controls.Add(this.txtM);
this.Controls.Add(this.txtN);
this.Name = "Form1";
this.Text = "Random Matrix App";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}

protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
}
}
Download 0,64 Mb.




Download 0,64 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



O’zbekiston respublikasi raqamli texnologiyalar vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalar universiteti

Download 0,64 Mb.