예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     close_permision = true;
     LoadingUnit.LoadGraph(graph_form.graph, graph_form.fileName);
     close_permision = true;
     this.Close();
 }
예제 #2
0
 private void загрузитьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     filePath = fileName;
     LoadingUnit.LoadGraph(graph, filePath);
     listBox1.Items.Clear();
     foreach (Vertex v in graph.vertexes)
     {
         listBox1.Items.Add(v.nomber.ToString());
     }
 }