SetNode() public method

public SetNode ( string source, string name, string label, Color c1, string comboboxItemText1 ) : void
source string
name string
label string
c1 Color
comboboxItemText1 string
return void
Beispiel #1
0
        private void btnSetNode_Click(object sender, EventArgs e)
        {
            /*
             * This set node should do two task
             * 1. Insert a point by calling a function
             * 2. It should input the values in menuStripNodeInfoValues
             */
            string source         = tbSource.Text;
            string name           = tbName.Text;
            string label          = tbLabel.Text;
            string cbItemSelected = comboBox1.Text;


            //MessageBox.Show("items index " + cbItemSelected);

            //  Color c = HexConverter(btnColor.BackColor);

            F1.SetNode(source, name, label, btnColor.BackColor, cbItemSelected);
            //MessageBox.Show(Properties.Resources.Success0);

            this.Close();
        }