private void button3_Click(object sender, EventArgs e) { _triangleSearcher.Search(_layers.GetLayer(ind)); _triangleTable = _triangleSearcher.GetTriangleTable(); dataGridView2.DataSource = _triangleTable.GetTriangles(); checkBox1.Enabled = true; }
public TriangleView(TriangleTable triangleTable) { InitializeComponent(); dataGridView1.DataSource = triangleTable.GetTriangles(); }