Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка - C# (198169)

Узнай цену своей работы

Формулировка задачи:

Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка

Решение задачи: «Составить программу по нахождению определителя квадратной матрицы 2 и 3 порядка»

textual
Листинг программы
  1. private void InitializeComponent()
  2.         {
  3.             this.textBox1 = new System.Windows.Forms.TextBox();
  4.             this.button1 = new System.Windows.Forms.Button();
  5.             this.dataGridView1 = new System.Windows.Forms.DataGridView();
  6.             this.rdBtn_2 = new System.Windows.Forms.RadioButton();
  7.             this.rdBtn_3 = new System.Windows.Forms.RadioButton();
  8.             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
  9.             this.SuspendLayout();
  10.             //
  11.             // textBox1
  12.             //
  13.             this.textBox1.Location = new System.Drawing.Point(26, 63);
  14.             this.textBox1.Name = "textBox1";
  15.             this.textBox1.Size = new System.Drawing.Size(111, 20);
  16.             this.textBox1.TabIndex = 0;
  17.             //
  18.             // button1
  19.             //
  20.             this.button1.Location = new System.Drawing.Point(26, 25);
  21.             this.button1.Name = "button1";
  22.             this.button1.Size = new System.Drawing.Size(75, 23);
  23.             this.button1.TabIndex = 1;
  24.             this.button1.Text = "button1";
  25.             this.button1.UseVisualStyleBackColor = true;
  26.             this.button1.Click += new System.EventHandler(this.Button1Click);
  27.             //
  28.             // dataGridView1
  29.             //
  30.             this.dataGridView1.AllowUserToAddRows = false;
  31.             this.dataGridView1.AllowUserToDeleteRows = false;
  32.             this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  33.                                     | System.Windows.Forms.AnchorStyles.Left)
  34.                                     | System.Windows.Forms.AnchorStyles.Right)));
  35.             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  36.             this.dataGridView1.Location = new System.Drawing.Point(26, 89);
  37.             this.dataGridView1.Name = "dataGridView1";
  38.             this.dataGridView1.Size = new System.Drawing.Size(218, 163);
  39.             this.dataGridView1.TabIndex = 2;
  40.             //
  41.             // rdBtn_2
  42.             //
  43.             this.rdBtn_2.Checked = true;
  44.             this.rdBtn_2.Location = new System.Drawing.Point(158, 25);
  45.             this.rdBtn_2.Name = "rdBtn_2";
  46.             this.rdBtn_2.Size = new System.Drawing.Size(86, 24);
  47.             this.rdBtn_2.TabIndex = 3;
  48.             this.rdBtn_2.TabStop = true;
  49.             this.rdBtn_2.Text = "2 порядка";
  50.             this.rdBtn_2.UseVisualStyleBackColor = true;
  51.             this.rdBtn_2.CheckedChanged += new System.EventHandler(this.RdBtn_2CheckedChanged);
  52.             //
  53.             // rdBtn_3
  54.             //
  55.             this.rdBtn_3.Location = new System.Drawing.Point(158, 55);
  56.             this.rdBtn_3.Name = "rdBtn_3";
  57.             this.rdBtn_3.Size = new System.Drawing.Size(86, 24);
  58.             this.rdBtn_3.TabIndex = 4;
  59.             this.rdBtn_3.Text = "3 порядка";
  60.             this.rdBtn_3.UseVisualStyleBackColor = true;
  61.             this.rdBtn_3.CheckedChanged += new System.EventHandler(this.RdBtn_3CheckedChanged);
  62.             //
  63.             // MainForm
  64.             //
  65.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  66.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  67.             this.ClientSize = new System.Drawing.Size(256, 264);
  68.             this.Controls.Add(this.rdBtn_3);
  69.             this.Controls.Add(this.rdBtn_2);
  70.             this.Controls.Add(this.dataGridView1);
  71.             this.Controls.Add(this.button1);
  72.             this.Controls.Add(this.textBox1);
  73.             this.Name = "MainForm";
  74.             this.Text = "MainForm";        
  75.             this.Load += new System.EventHandler(this.MainFormLoad);
  76.             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
  77.             this.ResumeLayout(false);
  78.             this.PerformLayout();
  79.         }
  80.         private System.Windows.Forms.RadioButton rdBtn_3;
  81.         private System.Windows.Forms.RadioButton rdBtn_2;
  82.         private System.Windows.Forms.DataGridView dataGridView1;
  83.         private System.Windows.Forms.Button button1;
  84.         private System.Windows.Forms.TextBox textBox1;

ИИ поможет Вам:


  • решить любую задачу по программированию
  • объяснить код
  • расставить комментарии в коде
  • и т.д
Попробуйте бесплатно

Оцени полезность:

9   голосов , оценка 3.667 из 5

Нужна аналогичная работа?

Оформи быстрый заказ и узнай стоимость

Бесплатно
Оформите заказ и авторы начнут откликаться уже через 10 минут
Похожие ответы