0
Reply

Creating controls from reading a text file

grace

grace

Oct 16 2006 8:28 AM
1.6k
Hello. Is it possible to create controls from a textfile? For example, my text file contains: Panel pNew = new Panel(); pNew.BackColor = System.Drawing.SystemColors.ControlLightLight; pNew.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; pNew.Location = new System.Drawing.Point(3, 5); pNew.Name = "panel1"; pNew.Size = new System.Drawing.Size(368, 408); pNew.AutoScroll = true; How do I create this after openning the text file?