Here I will explain how to use a Group Box and Picture Box in a Windows Forms form, in a previous article I explained password protection using code.
GroupBox: Other controls can be placed in a GroupBox like a login form. When designing the interface in Windows Forms, you can use this control to create the shape.
drage and down a group box from tool box it will look like this.
PictureBox: Picturebox provides a rectangular region for an image. It supports multiple formats of images.
Step(1): Login form
First create a login form with 2 lables and 2 TextBoxes and 1 button.
Step(2): groupbox
Now drag down a GroupBox and place the login form into the groupbox by selecting this form (shift+click).
Step(3): PictureBox
Now drag down a PictureBox.
It will look like this and for getting the picture click on the sideBar option and select image.
Now click Ok; you will then show this picture in the picturebox.
Step(3): Run
Now run you application.