Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка - C# (198169)
Формулировка задачи:
Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка
Решение задачи: «Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка»
textual
Листинг программы
- private void InitializeComponent()
- {
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.button1 = new System.Windows.Forms.Button();
- this.dataGridView1 = new System.Windows.Forms.DataGridView();
- this.rdBtn_2 = new System.Windows.Forms.RadioButton();
- this.rdBtn_3 = new System.Windows.Forms.RadioButton();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
- this.SuspendLayout();
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(26, 63);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(111, 20);
- this.textBox1.TabIndex = 0;
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(26, 25);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 1;
- this.button1.Text = "button1";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.Button1Click);
- //
- // dataGridView1
- //
- this.dataGridView1.AllowUserToAddRows = false;
- this.dataGridView1.AllowUserToDeleteRows = false;
- this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dataGridView1.Location = new System.Drawing.Point(26, 89);
- this.dataGridView1.Name = "dataGridView1";
- this.dataGridView1.Size = new System.Drawing.Size(218, 163);
- this.dataGridView1.TabIndex = 2;
- //
- // rdBtn_2
- //
- this.rdBtn_2.Checked = true;
- this.rdBtn_2.Location = new System.Drawing.Point(158, 25);
- this.rdBtn_2.Name = "rdBtn_2";
- this.rdBtn_2.Size = new System.Drawing.Size(86, 24);
- this.rdBtn_2.TabIndex = 3;
- this.rdBtn_2.TabStop = true;
- this.rdBtn_2.Text = "2 порядка";
- this.rdBtn_2.UseVisualStyleBackColor = true;
- this.rdBtn_2.CheckedChanged += new System.EventHandler(this.RdBtn_2CheckedChanged);
- //
- // rdBtn_3
- //
- this.rdBtn_3.Location = new System.Drawing.Point(158, 55);
- this.rdBtn_3.Name = "rdBtn_3";
- this.rdBtn_3.Size = new System.Drawing.Size(86, 24);
- this.rdBtn_3.TabIndex = 4;
- this.rdBtn_3.Text = "3 порядка";
- this.rdBtn_3.UseVisualStyleBackColor = true;
- this.rdBtn_3.CheckedChanged += new System.EventHandler(this.RdBtn_3CheckedChanged);
- //
- // MainForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(256, 264);
- this.Controls.Add(this.rdBtn_3);
- this.Controls.Add(this.rdBtn_2);
- this.Controls.Add(this.dataGridView1);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.textBox1);
- this.Name = "MainForm";
- this.Text = "MainForm";
- this.Load += new System.EventHandler(this.MainFormLoad);
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- private System.Windows.Forms.RadioButton rdBtn_3;
- private System.Windows.Forms.RadioButton rdBtn_2;
- private System.Windows.Forms.DataGridView dataGridView1;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.TextBox textBox1;
ИИ поможет Вам:
- решить любую задачу по программированию
- объяснить код
- расставить комментарии в коде
- и т.д