Example #1
0
        private void toolStripButton_NewInPort_Click(object sender, EventArgs e)
        {
            InputPort input = new InputPort();

            input.Location = new Point(200, 100 + count_input * 60);
            panel2.Controls.Add(input);
            input.label.Text = "port" + count.ToString();
            count_input++; count++;
            input.Refresh();
        }