private void btn_GerarMatriz2_Click(object sender, EventArgs e) { line2 = (int)line_Matriz2.Value; col2 = (int)col_Matriz2.Value; panel2.Controls.Clear(); Matriz.GerarMatrizTextBox(line2, col2, panel2); }
private void button1_Click(object sender, EventArgs e) { Geometrypanel.Controls.Clear(); Matriz.GerarMatrizTextBox((int)LinesGeo.Value, (int)CollGeo.Value, Geometrypanel); geometryCol = (int)CollGeo.Value; geometryLine = (int)LinesGeo.Value; }
private void btn_GerarMatriz1_Click(object sender, EventArgs e) { line1 = (int)line_Matriz1.Value; col1 = (int)col_Matriz1.Value; panel1.Controls.Clear(); //Matriz.GerarMatriz(line1, col1, panel1); Matriz.GerarMatrizTextBox(line1, col1, panel1); }