public SetNode ( string temperature_sourceVal, string humidity_sourceVal, string name, Color c1, int markerSize1, string lineNameVal, int lineStatusVal, int airflow ) : void | ||
temperature_sourceVal | string | |
humidity_sourceVal | string | |
name | string | |
c1 | Color | |
markerSize1 | int | |
lineNameVal | string | |
lineStatusVal | int | |
airflow | int | |
return | void |
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); F1.SetNode(source, name, label, btnColor.BackColor, cbItemSelected); //MessageBox.Show(Properties.Resources.Success0); this.Close(); }