Exemplo n.º 1
0
        private void TopDelete_Click(object sender, EventArgs e)
        {
            TopDelForm delForm = new TopDelForm(graph.Count - 1);

            if (delForm.ShowDialog() == DialogResult.OK)
            {
                graph.Delete(delForm.num);
            }
        }