Пример #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());
     }
 }
Пример #3
0
 private void сохранитьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     filePath = fileName;
     LoadingUnit.saveGraph(graph, filePath);
 }