Windows Forms. Objectives. Windows Forms

Size: px
Start display at page:

Download "Windows Forms. Objectives. Windows Forms"

Transcription

1 Windows Forms Windows Forms Objectives Create Windows applications using the command line compiler. Create Windows applications using Visual Studio.NET. Explore Windows controls and Windows Forms. Set properties on forms and controls. Create event handlers for Windows Forms. Use XML comments to generate documentation. C# Professional Skills Development 15-1

2 Windows Forms Creating Windows Applications The entire reason to learn C# is to build applications. Otherwise, this is all an academic exercise in computer science. While C# may one day be a cross platform language, for the immediate future its principal (if not only) reason to exist is to support development on the.net platform..net applications come in three flavors: Windows Applications, Web Applications and Web Services. This chapter will focus on Windows Applications. There was a time, not very long ago, when the distinction between a desktop application and a Web application was clear and unmistakable. Today, and increasingly, these distinctions are blurring. Many desktop applications integrate with the Web. For example, Microsoft s Street s and Tips program uses the Web to update its list of construction delays, and Norton s Antivirus program is fully integrated with the Web to keep itself up to date with the latest virus cures. Web applications, on the other hand, are doing more and more work on the client, further reducing the distinction between Web and Windows applications. In the final analysis, the real distinction is this: who is responsible for the User Interface? If the UI is a browser showing HTML sent from a server, it s called a Web application; otherwise it s called a desktop application. In.NET, Windows desktop applications are built using Windows Forms. The goal of Windows Forms is to bring the Rapid Application Development environment made famous in Visual Basic 6 to C# and other.net application languages. The model is quite simple: you create a form object that derives from System.Windows.Forms.Form. You then create controls, such as System.Windows.Forms.Label or System.Windows.Forms.Button. You set the text, location, and size of your controls and then set up event handlers. The event handlers are compiled in what is known as a code behind page. Finally, you add the controls you ve created to your form s controls collection and you run the application, passing in the form to the application s Run method. Writing Windows Apps by Hand As a rule, you will write your Windows Applications in Visual Studio.NET. This integrated Development Environment (IDE) offers tremendous support for building windows applications quickly and painlessly. The forms builder alone will save you many hours of hand-coding your application C# Professional Skills Development

3 Creating Windows Applications That said, there is nothing magical about the IDE and you are certainly free to write your applications by hand, using nothing more than a simple text editor and the command line compiler. See HelloWorldText.cs Try It Out! To prove this to yourself, write your first Windows application in Notepad. 1. Open Notepad and create a new file. Save it as HelloWorld.cs. 2. Add two using statements to the top of the file to inform the compiler which namespaces you ll be using in this application. using System; using System.Windows.Forms; These designations simply save you time. Rather than having to declare your Label object as System.Windows.Forms.Label output you can add the using System.Windows.Forms designation to the top of the file and then just write: Label output 3. Create your form class (myform), and derive from the System Form class: public class myform: Form { 4. Add two controls as private member fields. One is a Label, while the other is a Button. C# Professional Skills Development 15-3

4 Windows Forms // a label to display text private Label output; // a cancel button private Button cancel; 5. Create the class constructor. In the constructor you ll start by initializing your controls. public myform() { // create the objects output = new Label (); cancel = new Button (); 6. The title on the form is held as a member field Text; you can set that to something appropriate. // set the form's title Text = "Hello World From Windows"; 7. You are now ready to set the location, size, and text for the output label. // set up the output label output.location = new System.Drawing.Point (20, 30); output.text = "Hello World From Windows!"; output.size = new System.Drawing.Size (200, 25); Because you are doing this by hand, you must set the Location by hand. You do that by creating a Point object, passing in the coordinates (20,30) for the object, and passing that Point object to the Location property of the control. Set the size of the control by creating a System.Drawing.Size object, passing in the size to the constructor. This size struct is then assigned to the Size property of the control. 8. Set the Location, Size, and Text of the button as well C# Professional Skills Development

5 Creating Windows Applications // set up the cancel button cancel.location = new System.Drawing.Point (150,200); cancel.text = "&Cancel"; cancel.size = new System.Drawing.Size (110, 30); 9. You must assign an event handler to the Click event of the button. This uses events and delegates as explained elsewhere in this course. // set up the event handler cancel.click += new System.EventHandler (this.oncancelclick); You ve told the compiler that Click events for the button will be handled by the OnCancelClick method, which you will write in just a moment. 10. Add the controls to the form s Controls collection. // Add the controls Controls.Add (cancel); Controls.Add (output); 11. That completes the constructor. You now need only to write the OnCancelClick method that you ve wired as the event handler for the button. When the user clicks the Cancel button you want to exit the application. You do this with the static Exit method of the Application class. // handle the cancel event protected void OnCancelClick( object sender, System.EventArgs e) { Application.Exit(); } By convention, all Windows events take two parameters. The first, of type object, represents the control sending the event (in this case the button). The second is an object of type EventArgs that provides additional information about the event. In the case shown here, neither parameter is used in the event handler. C# Professional Skills Development 15-5

6 Windows Forms 12. All that is left is to start the application. Like all C# applications, this one begins with a static method Main. In this static method you ll call the static Run method of the Application, passing in a new instance of the form you ve just created. // Run the app public static void Main() { Application.Run(new myform()); } Build the Application: 13. Save the file as HelloWorld.cs and close the file in Notepad. 14. To build the application navigate to the Visual Studio.NET program group and choose Visual Studio Tools. Within the Tools group choose Visual Studio.NET Command Prompt. This opens a Command window with the environment set properly for building.net applications. 15. Navigate to the directory in which you ve saved your file. Take a directory; you should see just HelloWorld.cs. 16. Enter csc HelloWorld.cs. The compiler prints a message and returns a command prompt. 17. Type dir to get a directory listing; you should now see HelloWorld.exe. 18. Type HelloWorld and the application opens, as shown in Figure 1. The application is quite simple; the label displays your text and the button is drawn waiting for you to click it. 19. Click the Cancel button and the application exits C# Professional Skills Development

7 Creating Windows Applications Figure 1. Running HelloWorld. Writing Windows Apps with Visual Studio.NET While that wasn t very difficult, large applications are quite tedious to craft by hand. Visual Studio.NET makes the task much easier, as you ll see in the next exercise. Try It Out! See HelloWorldVS.sln To see how much easier it is to work with Visual Studio, you ll write the same application again, this time using the IDE to drag the controls onto a form. 1. Open Visual Studio.NET and click on New Project. 2. Under Project Types, choose Visual C# Projects and under Templates choose Windows Application. Name the project HelloWorldVS, as shown in Figure 2. Click OK to create the project. C# Professional Skills Development 15-7

8 Windows Forms Figure 2. Creating a new project. 3. A new project is created. Depending on how your system is configured, you should see the Toolbox open on the left, a form designer in the center, and the Solution Explorer and Properties window on the right, with a number of windows available at the bottom, as shown in Figure 3. If any of these windows are not open, you can open them from the View menu or the Debug window. If the Toolbox does not appear, but a small rectangle with the word Toolbox is visible in the upper left, click on the rectangle, the Toolbox should open. You can then pin it in place, using the Pushpin icon C# Professional Skills Development

9 Creating Windows Applications Figure 3. Visual Studio.NET windows. 4. Drag a Label to the form. Place it where you d like it. 5. Use the Properties window to set the text property of the label to Hello World From Windows! 6. Drag the label to size it big enough to hold the text. 7. Drag a button onto the form. Set its text property to Cancel. 8. Drag the button to where you want it on the form, then click on the form and resize it to the size you want. 9. Double-click on the button to open its Click event handler. Visual Studio brings you to the code-behind page in the button1_click event handler. It has already wired the handler for you; no need to do that by hand. 10. Add the code for the event handler, just as you did previously. C# Professional Skills Development 15-9

10 Windows Forms private void button1_click( object sender, System.EventArgs e) { Application.Exit(); } 11. Press CTRL+F5 to run the application. The application starts up and the window opens, as shown in Figure 4. You can press Cancel to close the application and return to the development environment. Figure 4. Running the application from Visual Studio.NET Enhancing Your Application You can see that even with the world s simplest Windows application, Visual Studio.NET has made your life a lot easier. You are ready now to enhance this application a bit. There is a tremendous amount you can do; this chapter will only highlight a few of the tools available. Try It Out! See HelloWorld WindowsVSNET. sln To get started, just modify the existing application to see how you can add features with very little effort. 1. Reopen the project from the previous example. 2. Click on the form itself, and go to the Properties window. Set the name of the form to HelloWorld and set the Text to Hello World From C# Professional Skills Development

11 Creating Windows Applications Windows!. When you leave the Text property, you should see the title of the Form change. 3. Click on the BackColor attribute in the Properties window. A dropdown opens. Click on Custom to open a color palette. Choose a pleasing color and you ll see the background color for the form change to your choice. 4. Click on the label and change the text to HelloWorld. Change the name to lblhello. Click on the font attribute and set the font to Comic Sans MS. Set the size to Change the text on the Cancel button to Bye and add a second button with the text ChangeText. Name the new button btnchange. Move both buttons to the upper left of the form. 6. Click on the first button, then shift click on the second to select them both. Use Format Make Same Size to make the buttons the same size. Use Format Align to align the two buttons on their left sides, then use Format Vertical spacing to space the buttons. 7. Click on the form to show its sizing handles, and resize the form, so that it looks like Figure 5. Feel free to adjust the form to fit your own aesthetic sensibilities. Figure 5. Resizing and formatting the form. 8. You are ready to wire up the event handlers. Double-click the Bye button and verify that the code has not changed in the event handler. 9. Return to the designer and double-click on btnchange. You are now in the event handler for the btnchange click event. Add the following text: lblhello.text = "Goodbye world!"; When the user clicks on the btnchange button the text in the label will change. 10. Navigate in the page behind to find the Main method. Change the argument to run to new HelloWorld. C# Professional Skills Development 15-11

12 Windows Forms static void Main() { Application.Run(new HelloWorld()); } You renamed the form, and you must use the new name of the form when you create it. Scroll up to see that the name of the class was changed as well, and that it is an instance of this newly-named class that you are creating. public class HelloWorld : System.Windows.Forms.Form 11. Build the application and run it. When it opens, click on btnchange to see the effect, as shown in Figure 6. When you click on the btnchange button, the text in the label is altered. Click Bye to exit the program. Figure 6. After clicking Change Text. Controls The key to Windows Forms applications is the plethora of controls available in the Toolbox. Writing a good Windows application is more than just dragging controls onto a form, but that is a good starting point. Put the right controls on the form and wire up useful event handlers, and you are well on your way to building powerful Windows applications. This is a course on C# and not on Windows application development, so this chapter just scratches the surface on what is available. Nonetheless, looking at how to build Windows applications provides powerful insight into the utility of the techniques taught in the chapters on language fundamentals C# Professional Skills Development

13 Creating Windows Applications Try It Out! See WinForm Controls.sln To get started, you ll build a simple form-based application with various controls. The final product is shown in Figure 7. This is a form that might be used by a salesperson to take an order for a new computer. Choose various options, and when you click Order, the order is summarized in the space below the Order button. Figure 7. A complex order form. C# Professional Skills Development 15-13

14 Windows Forms 1. Create a new Windows Forms application and name it WinFormControls. 2. Drag a single check box control onto the form and place it where you want it. Name the box chkservice and set the text to Full service. 3. Run the application. Your check box is drawn and you can check and uncheck it (though nothing interesting will happen when you do). The result is shown in Figure 8. You don t get much functionality, but it s not bad for 30 seconds work. Figure 8. Testing the check box. 4. Add a group box to the form and make it bigger then you ll need. 5. Add three radio buttons within the group box (just drag them onto the group box). Align them more or less one below the other. 6. Name the three radio buttons btnlaptop, btndesktop, and btnworkstation. 7. Set their text to Laptop, Desktop, and Work Station respectively. 8. Shift click through the three buttons to select them all. 9. Choose Format Align Lefts to align their left-hand edges. 10. Choose Format VerticalSpacing MakeEqual to set equal spacing between all three controls C# Professional Skills Development

15 Creating Windows Applications 11. Choose Format VerticalSpacing Increase (or decrease) if you need to change the amount of space between the controls. Keep the vertical spacing fairly tight. 12. Move the three buttons to the upper left of the group box and resize the group box to fit. 13. Click on the group box and change its text to Computer Type as shown in Figure 9. Figure 9. Setting the group box. 14. Click on the rbdesktop control and set its checked property to true. When you run the application, this button will default to checked. Run the application to test it, as shown in Figure 10. You are free to click on other buttons, but this way the default choice is Desktop. C# Professional Skills Development 15-15

16 Windows Forms Figure 10. Testing the radio button checked property. 15. Drag a button onto the form, and name it btnorder. Set its text to Order. 16. Lengthen the form to make room, and drag a label under the order button. Name the label lbloutput. Widen the label and lengthen it to hold a good bit of text. Delete the text in its text property (so that it is blank). 17. Double-click on btnorder to set the event handler. You want to assemble the output string. Start by creating a string named output. Add code to test whether the chkservice check box is checked. If so, modify the output string: string output = "Your order...\n"; if (chkservice.checked == true) output += "You ordered the full in-house service\n"; 18. Add code to the event handler to check which radio button is checked, and to modify the output accordingly. if (rblaptop.checked) output += "Laptop computer\n"; else if (rbdesktop.checked) output += "Desktop computer\n"; else output += "Workstation computer"; C# Professional Skills Development

17 Creating Windows Applications 19. Add code to display the results in the label. lbloutput.text = output; 20. Run the program to test it. Click on choices and click Order to see the results displayed in the label, as shown in Figure 11. If the output is wrapping where you don t expect, or is cut off, you may need to expand the label field. Figure 11. Testing the button event handler. Get It Working/Keep It Working The approach you are taking with this application is a very powerful design approach: get something working and keep it working. Rather than adding all the controls, setting all the properties and then trying the program, you are adding small changes and repeatedly testing. This is a very effective way to write complex applications. Events When you double-clicked the Order button you went to the event handler for the OnClick event. This is the default event for the button, but of course button supports many other events. To see how to wire up other events, click on the button and then click on the lightning bolt button in the Properties window. A list of events is shown, as illustrated in Figure 12. You are free to fill in the C# Professional Skills Development 15-17

18 Windows Forms name of event handlers for any of the events. For example, type in the name OnDragDrop next to the DragDrop event and press ENTER. You are taken to the OnDragDrop event handler. Figure 12. Events for the button. If you made a mistake and did not want to create this event, just go back to the form and delete it from the events list. Do not delete the event handler in the code-behind or you ll leave behind the code that adds the method to the event. You can remove that by hand, but it is cleaner to let the IDE do it for you. Adding More Controls See WinForm Controls.sln To see how some of the other controls work, you ll add a few more controls to the application you created in the previous Try It Out. Try It Out! 1. Add a checked list box and name it cblfeatures. You ll probably have to lengthen the form and move the list box and Order button out of the way C# Professional Skills Development

19 Creating Windows Applications 2. You will want to populate the list box when the form is created. To do this, double-click on the form. This opens the default event handler for the form, Form1_Load. This is the event that fires when the form is loaded. 3. Add code to the Form Load event handler to populate the list box. The list box has a member Items, which is a collection of the items in the list. You can add to that collection using the AddRange method that takes an array of objects. You ll pass in an array of eight strings: cblfeatures.items.addrange( new object[8] { "Monitor", "Tape backup", "Zip drive", "Modem", "Extra Ram", "Speakers", "CD", "CDRW" } ); 4. Modify the order_click event handler to pick up the choices made by the user. The check box list contains a list of items that are checked, CheckedItems. You can iterate over that list with a foreach loop, adding each string to the output. Modify the event handler to look like the following: C# Professional Skills Development 15-19

20 Windows Forms private void btnorder_click( object sender, System.EventArgs e) { string output = "Your order...\n"; if (chkservice.checked == true) output += "You ordered the full in-house service\n"; if (rblaptop.checked) output += "Laptop computer\n"; else if (rbdesktop.checked) output += "Desktop computer\n"; else output += "Workstation computer"; foreach (string s in cblfeatures.checkeditems) output += "Feature: " + s + "\n"; } lbloutput.text = output; 5. Build and run the application. Click on various features and then click Order. The results should look something like Figure C# Professional Skills Development

21 Creating Windows Applications Figure 13. Testing the check box list box. 6. You can add a regular (not checked) list box in much the same way. Drag a list box onto the form and name it lbmodel. Once again, populate this in the form load event: for (int i = 0; i<20; i++) { lbmodel.items.add("model X" + i); } This creates model numbers such as ModelX0, ModelX1, and so forth. 7. Adjust the event handler for the button to display the model. C# Professional Skills Development 15-21

22 Windows Forms if (lbmodel.selectedindex!= -1) output += "Model: " + lbmodel.items[lbmodel.selectedindex] + "\n"; If no item is checked, the SelectedIndex property of the list box will be 1, otherwise the SelectedIndex property can be used as an index into the Items collection of the list box. 8. You ll add one more control: a combo box to list the salesperson taking the order. Drag a combo box onto the form, and name it cbsalesperson. 9. Initialize the combo box in the form load event handler. cbsalesperson.items.addrange( new object[4] { "Jesse", "Mr. Galt", "Milo", "JW" } ); Once again you are filling the list from an array of Strings. This time, however, you want to set the text for the drop-down list box to a prompt that is not in its list of choices. 10. Set the Text property of the combo box to Choose Sales Person. cbsalesperson.text = "Choose sales person"; 11. Add code in the button event handler to pick up the choice of salesperson. if (cbsalesperson.text!= "Choose sales person") output += "Sold by: " + cbsalesperson.text + "\n"; 12. Test the application. Click on the various features and then click Order, as shown in Figure 14. You should see a summary of all your choices in the label below the Order button C# Professional Skills Development

23 Creating Windows Applications Figure 14. Testing the controls. Color and Font Properties While the form works, it doesn t look great. The job of laying out a truly professional-looking form is beyond the scope of this book (and beyond my capabilities!) but there are some properties you can use to add color to your form. For example, you can set the background color of the list boxes, change the text color of the text itself, and change the font as shown in Figure 15. C# Professional Skills Development 15-23

24 Windows Forms Figure 15. Adding a splash of color. Date/Time Picker This chapter has barely scratched the surface on the various features and attributes of these controls and these are only some of the standard controls available to you. There is also a suite of new sophisticated advanced controls provided by the Frameworks. In this section you ll take a look at just one: the DateTimePicker control. The purpose of the DateTimePicker control is to provide easy access to dates and times (as you might guess). You ll use it to add a control for setting the delivery date of the order you are building C# Professional Skills Development

25 Creating Windows Applications Try It Out! See Controls.sln You ll make one minor modification to the form you just built, adding the new control and using it to set the delivery date. 1. Reopen the project you were just working on. 2. Expand the form to make room for the new control. 3. Drag a datetimepicker control onto the form. Name the datetimepicker object dpdelivery. 4. The datetimepicker has a number of powerful properties. You ll take control over the format of the date by setting the Format property to Custom. 5. Set the CustomFormat field to MMMM dd, yyyy dddd. This causes the date to be displayed as, for example, July 10, 2005 Sunday. 6. In the Order buttons on click method, add the following line. output += "Delivered on " + dpdelivery.value.tostring("mm/dd/yy (dddd)") + "\n"; This formats the delivery date to the date and day, as shown in Figure 16. C# Professional Skills Development 15-25

26 Windows Forms Figure 16. Formatting the DateTime Using the Documentation All of this is great, but how would you possibly figure out how to do this with the datetimepicker if this book didn t tell you? Visual Studio.NET comes with documentation. Look up the datetimepicker class in the Help index and click on All Members. Scroll down to the value property and click on that. You see that the Value property returns a DateTime object. Click on DateTime in the Help file and scroll down to the bottom. One of the links is DateTime Members. Click on that link. One of the instance methods is ToString. Click on that link and you ll see that it is overloaded. One of the overloaded versions C# Professional Skills Development

27 Creating Windows Applications takes a string. Click on that and you ll see that the string is named format. The documentation then provides all the formatting characters and what they mean. Getting Started You dragged a number of controls onto the form and added event handlers as required. You set properties to change the look and feel of the form. There is much more you can do to make this form useful, but that is beyond the scope of a course on C#. Before going on, however, you may want to play with the form, add new controls, and get a sense of what power lies in this development environment. C# Professional Skills Development 15-27

28 Windows Forms XML Documentation You ve seen in previous chapters that C# offers both the traditional C-style comments, /* this is a comment */ and the more modern C++ style comments: // this is a comment C-style comments can span lines and can be used to comment-out entire sections of code. There is a third type of comment in C# the XML comment: /// this is an xml comment XML comments begin with three slashes and run to the end of the line. XML comments are used to document your code, and with the right tools, these can be used to generate extensive documentation pages. You can use compile times switches to generate an XML document based on your XML comments and you can use XSL to transform these comments into any kind of document you d like. Visual Studio.NET also provides built-in support for XML comment documentation. Try It Out! See WinForm Controls.sln To see how XML comments work, return to the previous example and add XML comments to document the file. 1. Reopen the previous example. 2. Scroll to the top of the file and modify the documents above the declaration of the form C# Professional Skills Development

29 XML Documentation /// <summary> /// Form for accepting computer orders /// </summary> public class Form1 : System.Windows.Forms.Form 3. Scroll down to the Form1_Load event handler and type three slashes before the method header. A summary comment springs open. Add a summary within the summary tags and add a description of the parameters within the param tags: /// <summary> /// Event handler for Form loading /// </summary> /// <param name="sender">the form itself</param> /// <param name="e">eventargs structure</param> 4. Add a comment block above the event handler for the button click. /// <summary> /// Button is clicked event /// </summary> /// <param name="sender">the button</param> /// <param name="e">struct with info about the event</param> private void btnorder_click( object sender, System.EventArgs e) { 5. When you are done commenting, choose the menu items Tools Build CommentWebPages. A dialog box opens as shown in Figure 17. Leave the defaults and click OK. C# Professional Skills Development 15-29

30 Windows Forms Figure 17. Building Comment Web pages. 6. A page is created for each project. In this case there is only one project, WinFormControls, as shown in Figure 18. Figure 18. A report is created for each project C# Professional Skills Development

31 XML Documentation 7. Click on the report for WinFormControls. Click on the + sign next to WinFormControls and the forms are displayed. Click on the Form1 link to show the report about Form1, as shown in Figure 19. Each of the controls have links to documentation, as do all the methods you commented or that were commented automatically by Visual Studio.NET. Figure 19. The report for Form1. 8. Click on btnorder_click. You are taken to a page with information about this method, including its parameters. The descriptions you added in the params element is shown here, as shown in Figure 20. C# Professional Skills Development 15-31

32 Windows Forms Figure 20. The btnorder_click Function. It s Just HTML The reports themselves are just HTML. To see this, open an Explorer window and navigate to the directory for your project. You ll find a CodeCommentReport directory with a number of images in it. Within that directory you ll find a ControlForm directory filled with htm files that represent the various reports you are viewing. Really, It s XML The HTML pages were generated from the XML file you created based on the comments. You can also see the XML file itself. 1. Open the project in Visual Studio.NET and click on the project in the Solution Explorer. 2. Choose View/Property Pages. 3. Click on Configuration Properties. 4. Set the XML documentation file property as shown in Figure 21. You may name the XML Documentation File anything you wish C# Professional Skills Development

33 XML Documentation Figure 21. Setting the XML Documentation File. 5. Rebuild the application. 6. Navigate to the directory for your project. You should find a file XMLComments.xml (or whatever it is you named the file in Step 4). 7. Double-click the file. A browser opens with the XML for the comments you added, as shown in Figure 22. It is this file that is used to generate the HTML report. Typcially the file is not saved after the report is generated, unless you set the file name as shown in Step 4. C# Professional Skills Development 15-33

34 Windows Forms Figure 22. The XML comments file C# Professional Skills Development

35 XML Documentation Summary There are three types of applications you can build using C# and.net: Windows applications, Web applications, and Web Services. Windows applications are built using Windows forms. Windows Forms provide a Rapid Application Development (RAD) environment in which you can drag controls onto a form. You create event handlers for the controls on your form. The Visual Studio.NET Integrated Development Environment (IDE) will help with wiring the event handlers. If you double-click on a control the IDE creates an event handler for the default event. You can access alternative events using the lightning bolt button on the properties window. List box controls have an Items collection to manage the items listed in the list box. The Help documentation can be a powerful resource for understanding the properties and methods of controls. You can document your files with XML document comments (///) and then use Visual Studio to generate XML report files. C# Professional Skills Development 15-35

36 Windows Forms (Review questions and answers on the following pages.) C# Professional Skills Development

37 XML Documentation Questions 1. What is the difference between a Windows application and a Web Forms application? 2. From which class must your Form derive? 3. What is the purpose of the statement Using System.Windows.Forms? 4. How do you add controls to a form? 5. How do you add entries to a list box? 6. What is the method to call to add an array to a list box? 7. How do you generate a report based on your XML comments? 8. How do you generate the XML file itself? C# Professional Skills Development 15-37

38 Windows Forms Answers 1. What is the difference between a Windows application and a Web Forms application? A Windows application uses Windows Forms and is intended to be run on the desktop. A Web Forms application is served by a Web server and uses a browser for its User Interface. 2. From which class must your Form derive? You must derive all forms from System.Windows.Forms.Form 3. What is the purpose of the statement Using System.Windows.Forms? The using statement allows you to refer to objects in the System.Windows.Forms namespace without qualifying the namespace; thus you can write Label rather than System.Windows.Forms.Label. 4. How do you add controls to a form? You add controls to the form s Controls collection. 5. How do you add entries to a list box? You add entries to a list box by modifying the List box s Items collection. 6. What is the method to call to add an array to a list box? The List Box s Items collection has an AddRange method that will take an array of objects. 7. How do you generate a report based on your XML comments? To generate the report from within Visual Studio.NET you use the menu choice Tools/Build Comment Web Pages. 8. How do you generate the XML file itself? You generate the XML file by navigating to the PropertyPages for the project and setting the XML Documentation File property under Configuration Properties C# Professional Skills Development

39 XML Documentation Lab 15: Windows Forms C# Professional Skills Development 15-39

40 Lab 15: Windows Forms Lab 15 Overview In this lab you ll learn to create Windows Applications using WinForms. To complete this lab, you ll need to work through three exercises: Building a Windows Form without Visual Studio.NET Creating Hello World Using Visual Studio Building Applications with Windows Controls Each exercise includes an Objective section that describes the purpose of the exercise. You are encouraged to try to complete the exercise from the information given in the Objective section. If you require more information to complete the exercise, the Objective section is followed by detailed step-bystep instructions C# Professional Skills Development

41 Building a Windows Form without Visual Studio.NET Building a Windows Form without Visual Studio.NET Objective In this exercise, you ll see that building a Windows Forms application by hand is possible, but not necessarily easy. Things to Consider Your form must inherit from System.Windows.Forms.Form. You must place each control at a specific location (using System.Drawing.Point). You must size each control (using System.Drawing.Size). Once you create your controls you must add them to the Form s control collection. Step-by-Step Instructions 1. Open your favorite text editor, such as Notepad or WordPad, and start a new text file. Call it HelloWorld.cs. 2. Add using statements for the namespaces System and System.Windows.Forms. using System; using System.Windows.Forms; 3. Create a namespace (optional). Don t forget the closing brace at the end of the file. namespace HelloWorld_Completed { 4. Create a class derived from Form. C# Professional Skills Development 15-41

42 Lab 15: Windows Forms public class myform: Form { 5. Create a label to display text. private System.Windows.Forms.Label output; 6. Create a button to cancel (exit). private System.Windows.Forms.Button cancel; 7. Create the constructor for the myform class. public myform() { 8. Create the objects: a label and a button. output = new System.Windows.Forms.Label (); cancel = new System.Windows.Forms.Button (); 9. Set the form s title. Text = "Hello World From Windows"; 10. Set the label s location to 20,30 (use System.Drawing.Point). output.location = new System.Drawing.Point (20, 30); 11. Set the label s text to Hello World From Windows! output.text = "Hello World From Windows!"; 12. Set the label s size to 200,25 (use System.Drawing.Size) C# Professional Skills Development

43 Building a Windows Form without Visual Studio.NET output.size = new System.Drawing.Size (200, 25); 13. Set the button s location to 150,200 (use System.Drawing.Point). cancel.location = new System.Drawing.Point (150,200); 14. Set the button s text to &Cancel. cancel.text = "&Cancel"; 15. Set the button s size to 110,30 (use System.Drawing.Size). cancel.size = new System.Drawing.Size (110, 30); 16. Register the click event handler. cancel.click += new System.EventHandler (this.oncancelclick); 17. Add the controls to the form. Controls.Add (cancel); Controls.Add (output); 18. End the myform constructor. } 19. Implement the click event handler. The only action is to call the static method Application.Exit. C# Professional Skills Development 15-43

44 Lab 15: Windows Forms protected void OnCancelClick( object sender, System.EventArgs e) { Application.Exit(); } 20. Run the app from Main by calling Application.Run and passing in an instance of the form. public static void Main() { Application.Run(new myform()); } 21. End the class and namespace. } // end the class myform } // end the namespace 22. Open the command window for compiling your class. To do so, open the Visual Studio.NET Command Prompt from the Start Programs Visual Studio.NET Tools menu as shown in Figure 23. Figure 23. Choosing the command prompt. 23. Navigate to the directory with your.cs file. 24. Compile the program with the following command: csc HelloWorld.cs 25. List the directory; you should now find helloworld.exe as well as helloworld.cs. Enter the name helloworld and press ENTER. Your code should run as shown in Figure C# Professional Skills Development

45 Building a Windows Form without Visual Studio.NET Figure 24. Running the hand-crafted window. C# Professional Skills Development 15-45

46 Lab 15: Windows Forms Creating Hello World Using Visual Studio Objective In this exercise, you ll recreate the Hello World application using Visual Studio. Things to Consider Visual Studio writes much of the infrastructure for you, but the fundamentals are unchanged. Your form will be separated from your code-behind file. The codebehind will house the event handlers. When you place objects on the form, they will be located and sized for you, but you may take explicit control either in the code or through the properties. Step-by-Step Instructions 1. Create a new Visual C# Windows Application in Visual Studio named WindowsHelloWorld. 2. Drag a label onto the form and set the text to Hello World From Windows! 3. Stretch the label to fit the words. 4. Drag a button onto the form. Name it btncancel. 5. Set the button s text to Cancel. 6. Double-click on the Cancel button to open the event handler. 7. Enter the code to close the application in the event handler. Application.Exit(); 8. Press CTRL+F5 to start the application, as shown in Figure C# Professional Skills Development

47 Creating Hello World Using Visual Studio Figure 25. The Hello World application. 9. Click the Close button (X) to close the application. C# Professional Skills Development 15-47

48 Lab 15: Windows Forms Building Applications with Windows Controls Objective In this exercise, you ll create a Windows form for booking a reservation at a hotel. Things to Consider Radio buttons are used to select a single choice among many. Check boxes are used to select multiple choices. When you have many check boxes, consider using a check box list. Drop-down list controls are good for a single selection among many choices. Double-click on a control to set its default event handler. Step-by-Step Instructions 1. Create a new Windows application named Hotel Reservation. 2. Drag a label onto the form and set its text to Hotel Reservation Form. 3. Set the font size to Set the font to bold. 5. Set the TextAlign property to MiddleCenter. 6. Drag a check box onto the form and name it chkvip. 7. Set its background color to Green and its text to VIP Customer. 8. Drag a group box onto the form, and set its text to Room Type. 9. Drag a radio button onto the group form, set its name to rbsingle, and its text to Single. 10. Drag a second radio button onto the group form, set its name to rbdouble, and its text to Double C# Professional Skills Development

49 Building Applications with Windows Controls 11. Drag a third radio button onto the group form, set its name to rbsuite, and set its text to Suite. 12. Use the format menu choice to make all three radio buttons the same size, align their left borders, and set their vertical spacing to equal. 13. Resize the group to fit the radio buttons and set the background color of the group to Cornflower blue. 14. Drag a checkedlistbox onto the form and set its name to clbfeatures. 15. Click on the Items property and add the following features: Whirlpool Color TV VCR DVD On-Demand Movies In-Room Wet Bar Free Breakfast Free Lunch Free Meals Late checkout Early check in 16. Set the Sorted property to true and watch the list sort itself. 17. Set the background color to a pleasing pastel. 18. Add a button named btnbook and set its text to Book Reservations. Stretch the button to fit. 19. Set the button s background color to red, set its forecolor to yellow, and set its font to bold. 20. Drag a label onto the form. Set its name to lbloutput and its text to blank. Your form should now look more or less like Figure 26. C# Professional Skills Development 15-49

50 Lab 15: Windows Forms Figure 26. The hotel reservation form. 21. Double-click on the Book Reservations button to open the event handler. Create a string to hold the output: string output = "Your reservation...\n"; 22. Check if the VIP Customer check box is checked, if so modify the text for the output string. if (chkvip.checked == true) output += "VIP Service!\n"; 23. Check which radio button is checked and modify the output string C# Professional Skills Development

51 Building Applications with Windows Controls if (rbsingle.checked) output += "Single room\n"; else if (rbdouble.checked) output += "Double room\n"; else output += "Suite"; 24. Add output for each feature that is selected and checked in the list. foreach (string s in clbfeatures.checkeditems) output += "Feature: " + s + "\n"; 25. Display the output in the label. lbloutput.text = output; 26. Build and run the application as shown in Figure 27. C# Professional Skills Development 15-51

52 Lab 15: Windows Forms Figure 27. Final exercise results C# Professional Skills Development

Microsoft Access 2010 handout

Microsoft Access 2010 handout Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant

More information

Working with SQL Server Integration Services

Working with SQL Server Integration Services SQL Server Integration Services (SSIS) is a set of tools that let you transfer data to and from SQL Server 2005. In this lab, you ll work with the SQL Server Business Intelligence Development Studio to

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

OBJECTIVE1: Understanding Windows Forms Applications

OBJECTIVE1: Understanding Windows Forms Applications Lesson 5 Understanding Desktop Applications Learning Objectives Students will learn about: Windows Forms Applications Console-Based Applications Windows Services OBJECTIVE1: Understanding Windows Forms

More information

Hypercosm. Studio. www.hypercosm.com

Hypercosm. Studio. www.hypercosm.com Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks

More information

6. If you want to enter specific formats, click the Format Tab to auto format the information that is entered into the field.

6. If you want to enter specific formats, click the Format Tab to auto format the information that is entered into the field. Adobe Acrobat Professional X Part 3 - Creating Fillable Forms Preparing the Form Create the form in Word, including underlines, images and any other text you would like showing on the form. Convert the

More information

Chapter 14: Links. Types of Links. 1 Chapter 14: Links

Chapter 14: Links. Types of Links. 1 Chapter 14: Links 1 Unlike a word processor, the pages that you create for a website do not really have any order. You can create as many pages as you like, in any order that you like. The way your website is arranged and

More information

Appointment Scheduler

Appointment Scheduler EZClaim Appointment Scheduler User Guide Last Update: 11/19/2008 Copyright 2008 EZClaim This page intentionally left blank Contents Contents... iii Getting Started... 5 System Requirements... 5 Installing

More information

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102

Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102 Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102 Interneer, Inc. Updated on 2/22/2012 Created by Erika Keresztyen Fahey 2 Workflow - A102 - Basic HelpDesk Ticketing System

More information

The VB development environment

The VB development environment 2 The VB development environment This chapter explains: l how to create a VB project; l how to manipulate controls and their properties at design-time; l how to run a program; l how to handle a button-click

More information

Microsoft Expression Web Quickstart Guide

Microsoft Expression Web Quickstart Guide Microsoft Expression Web Quickstart Guide Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program, you ll find a number of task panes, toolbars,

More information

Creating Acrobat Forms Acrobat 9 Professional

Creating Acrobat Forms Acrobat 9 Professional Creating Acrobat Forms Acrobat 9 Professional Acrobat forms typically have an origin from another program, like Word, Illustrator, Publisher etc. Doesn t matter. You design the form in another application

More information

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface...

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface... 2 CONTENTS Module One: Getting Started... 6 Opening Outlook... 6 Setting Up Outlook for the First Time... 7 Understanding the Interface...12 Using Backstage View...14 Viewing Your Inbox...15 Closing Outlook...17

More information

Designing and Implementing Forms 34

Designing and Implementing Forms 34 C H A P T E R 34 Designing and Implementing Forms 34 You can add forms to your site to collect information from site visitors; for example, to survey potential customers, conduct credit-card transactions,

More information

Outlook Email. User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA 19107 215-503-7500

Outlook Email. User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA 19107 215-503-7500 Outlook Email User Guide IS TRAINING CENTER 833 Chestnut St, Suite 600 Philadelphia, PA 19107 215-503-7500 This page intentionally left blank. TABLE OF CONTENTS Getting Started... 3 Opening Outlook...

More information

Creating a Guest Book Using WebObjects Builder

Creating a Guest Book Using WebObjects Builder Creating a Guest Book Using WebObjects Builder Creating a Guest Book Using WebObjects BuilderLaunch WebObjects Builder WebObjects Builder is an application that helps you create WebObjects applications.

More information

Website Development Komodo Editor and HTML Intro

Website Development Komodo Editor and HTML Intro Website Development Komodo Editor and HTML Intro Introduction In this Assignment we will cover: o Use of the editor that will be used for the Website Development and Javascript Programming sections of

More information

ORACLE BUSINESS INTELLIGENCE WORKSHOP

ORACLE BUSINESS INTELLIGENCE WORKSHOP ORACLE BUSINESS INTELLIGENCE WORKSHOP Integration of Oracle BI Publisher with Oracle Business Intelligence Enterprise Edition Purpose This tutorial mainly covers how Oracle BI Publisher is integrated with

More information

REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS

REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS 28-APRIL-2015 TABLE OF CONTENTS Select an item in the table of contents to go to that topic in the document. USE GET HELP NOW & FAQS... 1 SYSTEM

More information

1-Step Appraisals Jewelry Appraisal Software

1-Step Appraisals Jewelry Appraisal Software User Guide for 1-Step Appraisals Jewelry Appraisal Software Version 5.02 Page Table of Contents Installing 1-Step Appraisals... Page 3 Getting Started... Page 4 Upgrading from a Previous Version... Page

More information

Creating and Using Databases with Microsoft Access

Creating and Using Databases with Microsoft Access CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries

More information

MEAP Edition Manning Early Access Program Hello! ios Development version 14

MEAP Edition Manning Early Access Program Hello! ios Development version 14 MEAP Edition Manning Early Access Program Hello! ios Development version 14 Copyright 2013 Manning Publications For more information on this and other Manning titles go to www.manning.com brief contents

More information

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For

How To Change Your Site On Drupal Cloud On A Pcode On A Microsoft Powerstone On A Macbook Or Ipad (For Free) On A Freebie (For A Free Download) On An Ipad Or Ipa (For How-to Guide: MIT DLC Drupal Cloud Theme This guide will show you how to take your initial Drupal Cloud site... and turn it into something more like this, using the MIT DLC Drupal Cloud theme. See this

More information

Introduction to MS WINDOWS XP

Introduction to MS WINDOWS XP Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The

More information

User s Manual CAREpoint EMS Workstation D-Scribe Reporting System

User s Manual CAREpoint EMS Workstation D-Scribe Reporting System 1838021B User s Manual CAREpoint EMS Workstation D-Scribe Reporting System EDITORS NOTE FORM BUILDER IS A PART OF D-SCRIBE S REPORTING SYSTEM (D-SCRIBE S FORM BUILDER). FORMS WHICH ARE CREATED AND/OR USED

More information

MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES

MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES Exploring Access Creating and Working with Tables Finding and Filtering Data Working with Queries and Recordsets Working with Forms Working

More information

Launch Create Store. Import Orders Enter Orders Manually Process Orders. Note: Ctrl+click on a number to jump to that topic.

Launch Create Store. Import Orders Enter Orders Manually Process Orders. Note: Ctrl+click on a number to jump to that topic. Order Manager Version 5 QUICK START GUIDE Updated 1/6/11 About the Quick Start Guide This Quick Start Guide is designed to help users get started with the Order Manager as rapidly as possible. Although

More information

Document Services Online Customer Guide

Document Services Online Customer Guide Document Services Online Customer Guide Logging in... 3 Registering an Account... 3 Navigating DSO... 4 Basic Orders... 5 Getting Started... 5 Attaching Files & Print Options... 7 Advanced Print Options

More information

NDA-30141 ISSUE 1 STOCK # 200893. CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000. NEC America, Inc.

NDA-30141 ISSUE 1 STOCK # 200893. CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000. NEC America, Inc. NDA-30141 ISSUE 1 STOCK # 200893 CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000 NEC America, Inc. LIABILITY DISCLAIMER NEC America, Inc. reserves the right to change the specifications,

More information

OWA - Outlook Web App

OWA - Outlook Web App OWA - Outlook Web App Olathe Public Schools 0 Page MS Outlook Web App OPS Technology Department Last Revised: May 1, 2011 Table of Contents MS Outlook Web App... 1 How to Access the MS Outlook Web App...

More information

Hosting Users Guide 2011

Hosting Users Guide 2011 Hosting Users Guide 2011 eofficemgr technology support for small business Celebrating a decade of providing innovative cloud computing services to small business. Table of Contents Overview... 3 Configure

More information

Microsoft Outlook 2007 Calendar Features

Microsoft Outlook 2007 Calendar Features Microsoft Outlook 2007 Calendar Features Participant Guide HR Training and Development For technical assistance, please call 257-1300 Copyright 2007 Microsoft Outlook 2007 Calendar Objectives After completing

More information

Getting Started with Excel 2008. Table of Contents

Getting Started with Excel 2008. Table of Contents Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...

More information

Using Microsoft Office to Manage Projects

Using Microsoft Office to Manage Projects (or, Why You Don t Need MS Project) Using Microsoft Office to Manage Projects will explain how to use two applications in the Microsoft Office suite to document your project plan and assign and track tasks.

More information

Before you can use the Duke Ambient environment to start working on your projects or

Before you can use the Duke Ambient environment to start working on your projects or Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings

More information

VoIP Quick Start Guide

VoIP Quick Start Guide VoIP Quick Start Guide VoIP is made up of three elements: The Phone The Software (optional) The Web Version of the software (optional) Your new voice mail can be accessed by calling (971-722) 8988. Or,

More information

Overview. Table of Contents. isupport Incident Management

Overview. Table of Contents. isupport Incident Management Overview The isupport software is a powerful and flexible help desk/desktop support solution used by San José State to manage information technology tickets, or incidents. While isupport has many tools

More information

TimeValue Software Due Date Tracking and Task Management Software

TimeValue Software Due Date Tracking and Task Management Software User s Guide TM TimeValue Software Due Date Tracking and Task Management Software File In Time Software User s Guide Copyright TimeValue Software, Inc. (a California Corporation) 1992-2010. All rights

More information

WebFOCUS BI Portal: S.I.M.P.L.E. as can be

WebFOCUS BI Portal: S.I.M.P.L.E. as can be WebFOCUS BI Portal: S.I.M.P.L.E. as can be Author: Matthew Lerner Company: Information Builders Presentation Abstract: This hands-on session will introduce attendees to the new WebFOCUS BI Portal. We will

More information

Outlook XP Email Only

Outlook XP Email Only Outlook XP Email Only Table of Contents OUTLOOK XP EMAIL 5 HOW EMAIL WORKS: 5 POP AND SMTP: 5 TO SET UP THE POP AND SMTP ADDRESSES: 6 TO SET THE DELIVERY PROPERTY: 8 STARTING OUTLOOK: 10 THE OUTLOOK BAR:

More information

Bookstore Application: Client Tier

Bookstore Application: Client Tier 29 T U T O R I A L Objectives In this tutorial, you will learn to: Create an ASP.NET Web Application project. Create and design ASPX pages. Use Web Form controls. Reposition controls, using the style attribute.

More information

The Smart Forms Web Part allows you to quickly add new forms to SharePoint pages, here s how:

The Smart Forms Web Part allows you to quickly add new forms to SharePoint pages, here s how: User Manual First of all, congratulations on being a person of high standards and fine tastes! The Kintivo Forms web part is loaded with features which provide you with a super easy to use, yet very powerful

More information

Google Sites: Site Creation and Home Page Design

Google Sites: Site Creation and Home Page Design Google Sites: Site Creation and Home Page Design This is the second tutorial in the Google Sites series. You should already have your site set up. You should know its URL and your Google Sites Login and

More information

Introduction to Microsoft Access 2003

Introduction to Microsoft Access 2003 Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft

More information

SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual

SPHOL326: Designing a SharePoint 2013 Site. Hands-On Lab. Lab Manual 2013 SPHOL326: Designing a SharePoint 2013 Site Hands-On Lab Lab Manual This document is provided as-is. Information and views expressed in this document, including URL and other Internet Web site references,

More information

Version 4.1 USER S MANUAL Technical Support (800) 870-1101

Version 4.1 USER S MANUAL Technical Support (800) 870-1101 ESSENTIAL FORMS Version 4.1 USER S MANUAL Technical Support (800) 870-1101 401 Francisco St., San Francisco, CA 94133 (800) 286-0111 www.essentialpublishers.com (c) Copyright 2004 Essential Publishers,

More information

Developing Rich Web Applications with Oracle ADF and Oracle WebCenter Portal

Developing Rich Web Applications with Oracle ADF and Oracle WebCenter Portal JOIN TODAY Go to: www.oracle.com/technetwork/java OTN Developer Day Oracle Fusion Development Developing Rich Web Applications with Oracle ADF and Oracle WebCenter Portal Hands on Lab (last update, June

More information

Visual Basic 2010 Essentials

Visual Basic 2010 Essentials Visual Basic 2010 Essentials Visual Basic 2010 Essentials First Edition 2010 Payload Media. This ebook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited.

More information

Adobe Dreamweaver CC 14 Tutorial

Adobe Dreamweaver CC 14 Tutorial Adobe Dreamweaver CC 14 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site

More information

Dreamweaver and Fireworks MX Integration Brian Hogan

Dreamweaver and Fireworks MX Integration Brian Hogan Dreamweaver and Fireworks MX Integration Brian Hogan This tutorial will take you through the necessary steps to create a template-based web site using Macromedia Dreamweaver and Macromedia Fireworks. The

More information

BarTender s ActiveX Automation Interface. The World's Leading Software for Label, Barcode, RFID & Card Printing

BarTender s ActiveX Automation Interface. The World's Leading Software for Label, Barcode, RFID & Card Printing The World's Leading Software for Label, Barcode, RFID & Card Printing White Paper BarTender s ActiveX Automation Interface Controlling BarTender using Programming Languages not in the.net Family Contents

More information

Visual Basic. murach's TRAINING & REFERENCE

Visual Basic. murach's TRAINING & REFERENCE TRAINING & REFERENCE murach's Visual Basic 2008 Anne Boehm lbm Mike Murach & Associates, Inc. H 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 [email protected] www.murach.com Contents Introduction

More information

8 CREATING FORM WITH FORM WIZARD AND FORM DESIGNER

8 CREATING FORM WITH FORM WIZARD AND FORM DESIGNER 8 CREATING FORM WITH FORM WIZARD AND FORM DESIGNER 8.1 INTRODUCTION Forms are very powerful tool embedded in almost all the Database Management System. It provides the basic means for inputting data for

More information

Windows XP Pro: Basics 1

Windows XP Pro: Basics 1 NORTHWEST MISSOURI STATE UNIVERSITY ONLINE USER S GUIDE 2004 Windows XP Pro: Basics 1 Getting on the Northwest Network Getting on the Northwest network is easy with a university-provided PC, which has

More information

BID2WIN Workshop. Advanced Report Writing

BID2WIN Workshop. Advanced Report Writing BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/

More information

Joomla! 2.5.x Training Manual

Joomla! 2.5.x Training Manual Joomla! 2.5.x Training Manual Joomla is an online content management system that keeps track of all content on your website including text, images, links, and documents. This manual includes several tutorials

More information

How to start creating a VoIP solution with Ozeki VoIP SIP SDK

How to start creating a VoIP solution with Ozeki VoIP SIP SDK Lesson 2 How to start creating a VoIP solution with Ozeki VoIP SIP SDK Abstract 2012. 01. 12. The second lesson of will show you all the basic steps of starting VoIP application programming with Ozeki

More information

LETTERS, LABELS & EMAIL

LETTERS, LABELS & EMAIL 22 LETTERS, LABELS & EMAIL Now that we have explored the Contacts and Contact Lists sections of the program, you have seen how to enter your contacts and group contacts on lists. You are ready to generate

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

Creating an Email with Constant Contact. A step-by-step guide

Creating an Email with Constant Contact. A step-by-step guide Creating an Email with Constant Contact A step-by-step guide About this Manual Once your Constant Contact account is established, use this manual as a guide to help you create your email campaign Here

More information

Creating Interactive PDF Forms

Creating Interactive PDF Forms Creating Interactive PDF Forms Using Adobe Acrobat X Pro Information Technology Services Outreach and Distance Learning Technologies Copyright 2012 KSU Department of Information Technology Services This

More information

WINDOWS LIVE MAIL FEATURES

WINDOWS LIVE MAIL FEATURES WINDOWS LIVE MAIL Windows Live Mail brings a free, full-featured email program to Windows XP, Windows Vista and Windows 7 users. It combines in one package the best that both Outlook Express and Windows

More information

Create Email Signature for the Scott County Family Y

Create Email Signature for the Scott County Family Y Create Email Signature for the Scott County Family Y This document details the procedure for creating the Y logo ed email signature for each of the email clients used at the Scott County Family Y Use the

More information

How to Create and Send a Froogle Data Feed

How to Create and Send a Froogle Data Feed How to Create and Send a Froogle Data Feed Welcome to Froogle! The quickest way to get your products on Froogle is to send a data feed. A data feed is a file that contains a listing of your products. Froogle

More information

Custom Reporting System User Guide

Custom Reporting System User Guide Citibank Custom Reporting System User Guide April 2012 Version 8.1.1 Transaction Services Citibank Custom Reporting System User Guide Table of Contents Table of Contents User Guide Overview...2 Subscribe

More information

Lync 2013 - Online Meeting & Conference Call Guide

Lync 2013 - Online Meeting & Conference Call Guide Lync 2013 - Online Meeting & Conference Call Guide Alteva Hosted Lync Version:00 QUICK LINKS Schedule an Online Meeting Change Meeting Access and Presenter Options Join from a Computer with Lync Installed

More information

Using the Query Analyzer

Using the Query Analyzer Using the Query Analyzer Using the Query Analyzer Objectives Explore the Query Analyzer user interface. Learn how to use the menu items and toolbars to work with SQL Server data and objects. Use object

More information

WEBSITE CONTENT MANAGEMENT SYSTEM USER MANUAL CMS Version 2.0 CMS Manual Version 1.0 2-25-13

WEBSITE CONTENT MANAGEMENT SYSTEM USER MANUAL CMS Version 2.0 CMS Manual Version 1.0 2-25-13 WEBSITE CONTENT MANAGEMENT SYSTEM USER MANUAL CMS Version 2.0 CMS Manual Version 1.0 2-25-13 CONTENTS Things to Remember... 2 Browser Requirements... 2 Why Some Areas of Your Website May Not Be CMS Enabled...

More information

Microsoft PowerPoint 2010 Templates and Slide Masters (Level 3)

Microsoft PowerPoint 2010 Templates and Slide Masters (Level 3) IT Services Microsoft PowerPoint 2010 Templates and Slide Masters (Level 3) Contents Introduction... 1 Installed Templates and Themes... 2 University of Reading Templates... 3 Further Templates and Presentations...

More information

Raptor K30 Gaming Software

Raptor K30 Gaming Software Raptor K30 Gaming Software User Guide Revision 1.0 Copyright 2013, Corsair Components, Inc. All Rights Reserved. Corsair, the Sails logo, and Vengeance are registered trademarks of Corsair in the United

More information

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer http://msdn.microsoft.com/en-us/library/8wbhsy70.aspx Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer In addition to letting you create Web pages, Microsoft Visual Studio

More information

SQL Server Database Web Applications

SQL Server Database Web Applications SQL Server Database Web Applications Microsoft Visual Studio (as well as Microsoft Visual Web Developer) uses a variety of built-in tools for creating a database-driven web application. In addition to

More information

Frog VLE Update. Latest Features and Enhancements. September 2014

Frog VLE Update. Latest Features and Enhancements. September 2014 1 Frog VLE Update Latest Features and Enhancements September 2014 2 Frog VLE Update: September 2014 Contents New Features Overview... 1 Enhancements Overview... 2 New Features... 3 Site Backgrounds...

More information

Wellesley College Alumnae Association. Volunteer Instructions for Email Template

Wellesley College Alumnae Association. Volunteer Instructions for Email Template Volunteer Instructions for Email Template Instructions: Sending an Email in Harris 1. Log into Harris, using your username and password If you do not remember your username/password, please call 781.283.2331

More information

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve. Quick Start Guide DocuSign Retrieve 3.2.2 Published April 2015 Overview DocuSign Retrieve is a windows-based tool that "retrieves" envelopes, documents, and data from DocuSign for use in external systems.

More information

FastTrack Schedule 10. Tutorials Manual. Copyright 2010, AEC Software, Inc. All rights reserved.

FastTrack Schedule 10. Tutorials Manual. Copyright 2010, AEC Software, Inc. All rights reserved. FastTrack Schedule 10 Tutorials Manual FastTrack Schedule Documentation Version 10.0.0 by Carol S. Williamson AEC Software, Inc. With FastTrack Schedule 10, the new version of the award-winning project

More information

Programming in Access VBA

Programming in Access VBA PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010

More information

BUILDING APPLICATIONS USING C# AND.NET FRAMEWORK (OBJECT-ORIENTED PROGRAMMING, X428.6)

BUILDING APPLICATIONS USING C# AND.NET FRAMEWORK (OBJECT-ORIENTED PROGRAMMING, X428.6) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 9 Professional Program: Data Administration and Management BUILDING APPLICATIONS USING C# AND.NET FRAMEWORK (OBJECT-ORIENTED

More information

ADOBE ACROBAT 7.0 CREATING FORMS

ADOBE ACROBAT 7.0 CREATING FORMS ADOBE ACROBAT 7.0 CREATING FORMS ADOBE ACROBAT 7.0: CREATING FORMS ADOBE ACROBAT 7.0: CREATING FORMS...2 Getting Started...2 Creating the Adobe Form...3 To insert a Text Field...3 To insert a Check Box/Radio

More information

Introduction to the use of the environment of Microsoft Visual Studio 2008

Introduction to the use of the environment of Microsoft Visual Studio 2008 Steps to work with Visual Studio 2008 1) Start Visual Studio 2008. To do this you need to: a) Activate the Start menu by clicking the Start button at the lower-left corner of your screen. b) Set the mouse

More information

Using Microsoft Word. Working With Objects

Using Microsoft Word. Working With Objects Using Microsoft Word Many Word documents will require elements that were created in programs other than Word, such as the picture to the right. Nontext elements in a document are referred to as Objects

More information

Handout: Word 2010 Tips and Shortcuts

Handout: Word 2010 Tips and Shortcuts Word 2010: Tips and Shortcuts Table of Contents EXPORT A CUSTOMIZED QUICK ACCESS TOOLBAR... 2 IMPORT A CUSTOMIZED QUICK ACCESS TOOLBAR... 2 USE THE FORMAT PAINTER... 3 REPEAT THE LAST ACTION... 3 SHOW

More information

Samsung Xchange for Mac User Guide. Winter 2013 v2.3

Samsung Xchange for Mac User Guide. Winter 2013 v2.3 Samsung Xchange for Mac User Guide Winter 2013 v2.3 Contents Welcome to Samsung Xchange IOS Desktop Client... 3 How to Install Samsung Xchange... 3 Where is it?... 4 The Dock menu... 4 The menu bar...

More information

Microsoft Access Basics

Microsoft Access Basics Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision

More information

Creating Custom Crystal Reports Tutorial

Creating Custom Crystal Reports Tutorial Creating Custom Crystal Reports Tutorial 020812 2012 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical,

More information

ORACLE BUSINESS INTELLIGENCE WORKSHOP

ORACLE BUSINESS INTELLIGENCE WORKSHOP ORACLE BUSINESS INTELLIGENCE WORKSHOP Creating Interactive Dashboards and Using Oracle Business Intelligence Answers Purpose This tutorial shows you how to build, format, and customize Oracle Business

More information

Tabs3, PracticeMaster, and the pinwheel symbol ( trademarks of Software Technology, Inc. Portions copyright Microsoft Corporation

Tabs3, PracticeMaster, and the pinwheel symbol ( trademarks of Software Technology, Inc. Portions copyright Microsoft Corporation Tabs3 Trust Accounting Software Reseller/User Tutorial Version 16 for November 2011 Sample Data Copyright 1983-2013 Software Technology, Inc. 1621 Cushman Drive Lincoln, NE 68512 (402) 423-1440 http://www.tabs3.com

More information

SQL Server 2005: Report Builder

SQL Server 2005: Report Builder SQL Server 2005: Report Builder Table of Contents SQL Server 2005: Report Builder...3 Lab Setup...4 Exercise 1 Report Model Projects...5 Exercise 2 Create a Report using Report Builder...9 SQL Server 2005:

More information

Outlook Web Access (OWA) User Guide

Outlook Web Access (OWA) User Guide Outlook Web Access (OWA) User Guide September 2010 TABLE OF CONTENTS TABLE OF CONTENTS... 2 1.0 INTRODUCTION... 4 1.1 OUTLOOK WEB ACCESS SECURITY CONSIDERATIONS... 4 2.0 GETTING STARTED... 5 2.1 LOGGING

More information

Making a Web Page with Microsoft Publisher 2003

Making a Web Page with Microsoft Publisher 2003 Making a Web Page with Microsoft Publisher 2003 The first thing to consider when making a Web page or a Web site is the architecture of the site. How many pages will you have and how will they link to

More information

TABLE OF CONTENTS SURUDESIGNER YEARBOOK TUTORIAL. IMPORTANT: How to search this Tutorial for the exact topic you need.

TABLE OF CONTENTS SURUDESIGNER YEARBOOK TUTORIAL. IMPORTANT: How to search this Tutorial for the exact topic you need. SURUDESIGNER YEARBOOK TUTORIAL TABLE OF CONTENTS INTRODUCTION Download, Layout, Getting Started... p. 1-5 COVER/FRONT PAGE Text, Text Editing, Adding Images, Background... p. 6-11 CLASS PAGE Layout, Photo

More information

Simple Computer Backup

Simple Computer Backup Title: Simple Computer Backup (Win 7 and 8) Author: Nancy DeMarte Date Created: 11/10/13 Date(s) Revised: 1/20/15 Simple Computer Backup This tutorial includes these methods of backing up your PC files:

More information

Title: SharePoint Advanced Training

Title: SharePoint Advanced Training 416 Agriculture Hall Michigan State University 517-355- 3776 http://support.anr.msu.edu [email protected] Title: SharePoint Advanced Training Document No. - 106 Revision Date - 10/2013 Revision No. -

More information

Data Crow Creating Reports

Data Crow Creating Reports Data Crow Creating Reports Written by Robert Jan van der Waals August 25, 2014 Version 1.2 Based on Data Crow 4.0.7 (and higher) Introduction Data Crow allows users to add their own reports or to modify

More information

Access 2007 Creating Forms Table of Contents

Access 2007 Creating Forms Table of Contents Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4

More information

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring

Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Lab 8: ASP.NET 2.0 Configuration API and Health Monitoring Estimated time to complete this lab: 45 minutes ASP.NET 2.0 s configuration API fills a hole in ASP.NET 1.x by providing an easy-to-use and extensible

More information

Nintex Workflow 2013 Help

Nintex Workflow 2013 Help Nintex Workflow 2013 Help Last updated: Wednesday, January 15, 2014 1 Workflow Actions... 7 1.1 Action Set... 7 1.2 Add User To AD Group... 8 1.3 Assign Flexi Task... 10 1.4 Assign To-Do Task... 25 1.5

More information