Hi.

I'm still learning the VStudio Express 2008 IDE. I'm tired of outputing to console and now just adding (well trying to) controls dynamcally however this hasn't met with any success yet. The following is a piece of my code to which everything compiles with no warning but howevere the labels aren't showing:
Code:
        private void Form1_Load(object sender, EventArgs e)
        {

            System.Windows.Forms.Label label1, label2;

            HidD_GetHidGuid(ref tGuid);
            deviceInfoSet = SetupDiGetClassDevs(ref tGuid, "USB", IntPtr.Zero, 0);

            

            label1 = new Label();
            label1.Location = new Point(10, 15);
            label2 = new Label();
            label2.Location = new Point(50, 15);

            label1.AutoSize = true;
            label1.Size = new Size(28, 40);
            label1.Visible = true;
            
            label2.AutoSize = true;
            label2.Visible = true;            

            label1.Text = "Device Info Set = " + deviceInfoSet.ToString();
            label2.Text = "HidGuid = " + tGuid.ToString();

            this.Controls.Add(label1);
        }
I've even tried adding label1.show() but so far.. Zip!