コード例 #1
0
        private void buttonAlgotitmPrima_Click(object sender, EventArgs e)
        {
            Graph.AlgoritmPrima();
            Bitmap btm = new Bitmap(pictureBox1.Width, pictureBox1.Height);

            g = Graphics.FromImage(btm);
            Graph.DrawGraph(g);
            pictureBox1.Image = btm;
        }