Exemple #1
0
        private void toolStripButton8_Click(object sender, EventArgs e)
        {
            DialogResult res;
            SelectStruct s = new SelectStruct(drawH.hnode.setStruct);

            res = s.ShowDialog();
            if (res == DialogResult.OK)
            {
                drawH.hnode.ColorNode(s.selectedStruct, 2);
                buffer = null;
                pictureBox1.Invalidate();
                pictureBox1.Refresh();
            }
        }
Exemple #2
0
        private void toolStripButton8_Click(object sender, EventArgs e)
        {
            DialogResult res;
            SelectStruct s = new SelectStruct(hnode.setStruct);

            res=s.ShowDialog();
            if(res==DialogResult.OK)
            {
                hnode.ColorNode(s.selectedStruct, 2);
                buffer = null;
                pictureBox1.Invalidate();
                pictureBox1.Refresh(); 
            }
        }