Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            UserControl_Variable uv = new UserControl_Variable();

            uv.Name  = "new";
            uv.Value = "0";

            list.Add(uv);

            flowLayoutPanel1.Controls.Add(uv);
        }
Beispiel #2
0
        public void panel_Init()
        {
            foreach (KeyValuePair <object, object> item in memory_variables.getDictionary())
            {
                UserControl_Variable uv = new UserControl_Variable();
                uv.Name  = item.Key.ToString();
                uv.Value = item.Value.ToString();

                list.Add(uv);

                flowLayoutPanel1.Controls.Add(uv);
            }
        }