ComputerProgrammingandBasicSoftwareEngineering9 Building Graphical User InterfaceStep3:DevelopForm2In the Solution Explorer,right click your project nameand selectAdd → New Item.Selectwindows Form.Give a name,say Form2,toyour new form (Form2 will also be the class name oftheform)You will see another set of files added to your project.e.g. Form2.cpp, Form2.h
Computer Programming and Basic Software Engineering 9 Building Graphical User Interface Step 3: Develop Form2 • In the Solution Explorer, right click your project name and select Add → New Item. • Select Windows Form. Give a name, say Form2, to your new form (Form2 will also be the class name of the form) • You will see another set of files added to your project, e.g. Form2.cpp, Form2.h
ComputerProgrammingand BasicSoftwareEngineering9 Building Graphical UserInterfaceForm2pictureBoxpictureBoxallows you to puta picture intoit.The picture canbeobtainedfromafileOKWe can add the controls wewanted to here
Computer Programming and Basic Software Engineering 9 Building Graphical User Interface pictureBox pictureBox allows you to put a picture into it. The picture can be obtained from a file We can add the controls we wanted to here