Home
Username:
Password:
Introduction to Microsoft C# 2008 Tutorials

Visual Studio 2008 / Visual Studio Tour pt. 2

Subtitles of the Movie

Now let's continue looking at Visual Studio and in this video, which is entitled Visual Studio Part 2, which by the way follow Part 1 for those of you who are somewhat confused easily. Let's continue to talk about this environment. Now, we're going to code C# in here so you'll have to be a little bit familiar with Visual Studio. Now, notice that we're clicking on the form and we're clicking on the button here but we need to see properties on this and they're not there. If you go to the View Option on the Main Menu Bar up here or on the Main menu, if I click on View you'll notice that I can come down and choose the Properties Window and if I click that and there's a nice Control W P and so forth, but if I just click on it here, this will bring up the Properties Window and this will let me look at the design time properties that I can set on the button. So if I want to change the text of the button from Button 1 to Click, that's all I have to do and notice it changed that. Now, in using this let me show you real quickly, we can change these to where they're categorized, which is what we see here, by behavior, data, that sort of thing. We can alphabetize them A to Z, which is what I tend to like because I've gotten used to learning these things and then if you'll look over here, we can just put it on Properties. We can look at just Events. OK? So we can do a lot of stuff here and I generally set them on the alphabetical. Totally up to you however you want to do these, OK? Now, something else that I just want to show you real quickly. If I've got a number of buttons, let's put Combo Box on here and let's put a List Box on here. In my Properties Window over here I can click on each one of these and you'll notice I'm jumping to it right here and I'll click right here so you can see it. Notice if I click the drop-down, I can easily pick any one of the objects that I have here that I want to program against and you'll also notice that as I move things around in here, that it'll automatically draw these blue lines and try to align everybody for me. So I can do some neat stuff with this. OK? But now let's talk about some other things that we might want to look at. Let's go back to the View Menu and you'll notice I can see the Server Explorer and I can turn that on and that will come over on the left side over here and I will Auto Hide that and you'll notice that I can mouse over Server Explorer or Toolbox. In Server Explorer we can look at Database Connections. We can go out and look at the server that we're installed on and see some things and again, this is not a Visual Studio course. I just want to get you comfortable and happy here and then we'll look at some other right quick. There are another, there's an Error List Window that we can see that will pop up automatically. If you don't see it now we'll let that Auto Hide. We'll go back and we'll look at the Output Window down here and when we start to build our applications, we'll see things down there. And any window that you want to see, just click on View and you can see all the windows and then you will notice there is another Windows or Other Windows Section that you can see some other things. So that's how to find any of these windows. If I accidentally turn this thing off, all I have to do is come back up here and View Properties and turn it back on. Now let me show you one thing real quickly. I'm not going to go into a lot of detail. This is shameless marketing. I did a course on Visual Studio 2008. It's an entire I think seven hours on this whole Visual Studio environment and I would strongly suggest you take a look at that if you're not familiar with Visual Studio. Now, end of shameless marketing. The reason I mention that is notice I can grab this Properties Box and pull it off and it will float and I can float it all over the place. Notice I can put it at the bottom of the screen and now my properties are down here and I can Auto Hide it. I don't like that so what I have to do is pin it back. Then I can click on the Title Bar and I can drag it around and I can put it back over here where I had it but notice that's going to put it on the side. This is going to put it inside that window on the bottom. It's very easy to get lost and confused with those so just know you can drag them around. We'll forget about that. Go get the Visual Studio Video. My wife and my child and my banker thanks you and also VTC thanks you by the way. So anyway, that's docking these windows and so forth. Up here is the Toolbar. Now, there are two types of people in the world that use computers and that's those that love these Toolbars and those who really don't even know they exist. And I would strongly encourage you to watch these things and if you'll click on View and come down to Toolbars, you will notice you have quite a few Toolbars that you can drop on up there and start to do all kind of really cool things with. There's the Formatting Toolbar, we'll turn that on and with that, whenever it's appropriate notice we can set fonts; bold, underline and so forth. Notice on some of these we can click the little drop-down over here and get more functionalities for these Toolbars. So all I'll tell you with and I'll just leave you with this on Toolbars. Go up there and look at these Toolbars. Open some up and play with them because there are some really cool stuff. You'll notice Database Diagram and Data Diagram and so forth. There's some really cool Toolbar things you can do. Just familiarize yourself with those things. Now, one last thing I want to show you. There's actually a bunch of things but we'll just kind of stop right here is on these windows that pop up, they're, depending on your system, the speed with which they pop up can be changed and I want to show you this. If you go to Tools and go down to Options, you will notice there's a lot of options that you can set in Visual Studio and again, shameless marketing. Go get the Visual Studio video. But if these things are popping up too fast or too slow and I'll just do an exaggerated example, notice on the Environment General Tab I can change the speed of that and now this opens slower. So I can go out to Tools, Options and I can slow that all the way down and so if you're getting paid by the hour, you might want to slow that thing down, right? Just kidding. If your particular machine's driving you nuts and for those of you who are particularly impatient, grab that thing, pull it all the way to there and then the things' just going to pop up and you can see it. So anyway, a lot's going on in Visual Studio. Go out there and look at it, play with it. Again, not trying to do shameless marketing but there is a seven-hour course on Visual Studio if you're totally new to it and confused. There's a lot of power here. With that we'll cover just a couple more things about Visual Studio here to show you how to use it in correlation with the C# programming environment and then we'll jump into C#.

Tutorial Information

Course: Introduction to Microsoft C# 2008
Author: Mark Long
SKU: 34046
ISBN: 1-935320-78-5
Release Date: 2009-10-09
Duration: 7 hrs / 76 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available