コード例 #1
0
        public override void ButtonClick(object sender, EventArgs e)
        {
            matrixGraph.DeleteMatrix();

            StartForm.StartForm startForm = new StartForm.StartForm();

            inputCountVertexForm.Hide();

            startForm.ShowDialog();

            inputCountVertexForm.Close();
        }
コード例 #2
0
        public override void ButtonClick(object sender, EventArgs e)
        {
            adjacencyList.adjacencyList.Clear();
            vertexDraws.Clear();
            edgeDraws.Clear();
            matrix.Clear();
            cells.Clear();

            adjacencyListPanel.Controls.Clear();
            weightTable.Controls.Clear();

            StartForm.StartForm startForm = new StartForm.StartForm();
            drawForm.Hide();
            startForm.ShowDialog();
            drawForm.Close();
        }