private void расположитьВершиныНаОкружностиToolStripMenuItem_Click(object sender, EventArgs e) { AMatrix = new int[V.Count, V.Count]; G.fillAdjacencyMatrix(V.Count, E, AMatrix); selectButton.Enabled = true; drawVertexButton.Enabled = true; drawEdgeButton.Enabled = true; deleteButton.Enabled = true; //Vtmp = new List<Vertex>(V); //Etmp = new List<Edge>(E); V.Clear(); E.Clear(); G.clearSheet(); sheet.Image = G.GetBitmap(); SqMatrix M = new SqMatrix(AMatrix); g = new Graphs(M); this.V = new List <Vertex>(g.Ver); this.E = new List <Edge>(g.Ed); G.drawThisGraph(g); }