In this lecture we are going to design the interface for our web browser so open a Visual Studio.
And once you've got visual studio open click on new project and we begin by creating a new project.
Make sure you've got visual C sharp selected and make sure you've got windows form applications selected
under the name.
You need to give the application a name.
I'm going to call my blue line
click click and visual studio shoot build the form.
So this is the phone.
So I want to add a couple of components to the phone.
So I go to the tool box I'm going to click within the different options for forms.
I'm going to click the all of this click this one and that will show me all the options.
So one of the components I need to add is called a tool strip.
Some will just double click on that and that should add a tool to to the form so it's now added a tool
strip a tool strip is like a traditional toolbar such as the one you see in word processing or Word
Excel and stuff like that where you have the bold italic and other options within that toolbar set that
it can hold several different types of controls rather than just buttons.
All right.
So another component I want to add is a browser.
Yeah.
There's a tool.
That's an option for a web browser.
There you go.
Double click on it.
And it should had a web browser.
So this is the web browser here is this main window here you can see this bit here.
That's the properties for the web browser.
So this web browser is going to be doing all the heavy lifting for this application.
The web browser here it's actually a web browser is actually an embedded version of the Windows Internet
Explorer.
Right.
So you you get the beat Rudd that that renders the web pages so it will help you render the web pages
without the toolbars or other user interface functionality.
So we are going to add controls to the tool strip.
So if I click on the tool strip I click on there.
You can see some sub many.
So you've got the button.
This button here brings you know we can make it turn that into one of the menu buttons are quite common.
We you use them a lot in your Windows application and then you've got this core the separator.
You see the split button here.
These plate button uses separately to space things out neatly.
So you can use that to space things out neatly split but it can help you split the button.
Also we've got something else called separator.
You can also use the separators also to create space between various menu items.
And this is a combo box and that's a text box if you want to add a progress bar.
You can do that vi this menu as well.
And also there's a label if you want to add a label to any of your menu items.
I'm going to wrap up this lecture now in the second part of this lecture.
We are going to be adding some controls to the to strip menu.
So thanks for watching.
Bye for now.