Ejemplo n.º 1
0
        private void SelecteNodePenBTN_Click(object sender, EventArgs e)
        {
            PenCreatorForm penCreator = new PenCreatorForm();

            penCreator.Pen = selectedNodePen;
            if (penCreator.ShowDialog() == DialogResult.OK)
            {
                selectedNodePen = penCreator.Pen;
            }
        }
Ejemplo n.º 2
0
        private void EdgePenBTN_Click(object sender, EventArgs e)
        {
            PenCreatorForm penCreator = new PenCreatorForm();

            penCreator.Pen = edgePen;
            if (penCreator.ShowDialog() == DialogResult.OK)
            {
                edgePen = penCreator.Pen;
            }
        }