private void GenericB_Click(object sender, EventArgs e) { listBox2.Enabled = true; listBox2.Items.Clear(); B = new matrix(matrix.rang); string [] str_B = B.to_str(B.generic()); for (int i = 0; i < matrix.rang; i++) { listBox2.Items.Add(str_B[i]); } }
private void GenericA_Click(object sender, EventArgs e) { listBox1.Enabled = true; listBox1.Items.Clear(); A = new matrix(matrix.rang); string[] str_A = A.to_str(A.generic()); for (int i = 0; i < matrix.rang; i++) { listBox1.Items.Add(str_A[i]); } }