예제 #1
0
        private void pictureBox3_MouseClick(object sender, MouseEventArgs e)
        {
            switch (e.Button)
            {
            case MouseButtons.Left:
                HClusterNode nodeC = left.CheckClick(left.rootNode, e.X, e.Y);
                if (nodeC != null)
                {
                    TextBoxView rr = new TextBoxView(nodeC.setStruct);
                    rr.Show();
                }
                if (colorNodeLeft != null && colorNodeLeft.joined != null)
                {
                    auxLeft = colorNodeLeft;
                }
                break;

            case MouseButtons.Right:
                auxLeft = leftNode;
                break;
            }
            if (auxLeft != null)
            {
                if (colorNodeLeft != null)
                {
                    left.ChangeColors(colorNodeLeft, Color.Black);
                }
                colorNodeLeft = null;
                left.rootNode = auxLeft;
                left.PrepareGraphNodes(leftBitMap);
                Graphics g = Graphics.FromImage(leftBitMap);
                g.Clear(pictureBox3.BackColor);
                pictureBox3.Refresh();
                pictureBox1.Refresh();
            }
        }
예제 #2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            TextBoxView winError = new TextBoxView(new List<string>(ErrorBase.GetErrors()));

            winError.Show();

        }
예제 #3
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            TextBoxView winError = new TextBoxView(new List <string>(ErrorBase.GetErrors()));

            winError.Show();
        }