Label myLabel = new Label(); myLabel.Text = "Hello, World!"; myLabel.Location = new Point(50, 50); this.Controls.Add(myLabel);
myLabel.Font = new Font("Arial", 12, FontStyle.Bold);
Bitmap myImage = new Bitmap("myImage.jpg"); myLabel.Image = myImage;This loads an image from the current directory and displays it in the label. Package Library: System.Windows.Forms.dll