Appendix C

312 views

Published on

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
312
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Each window except the Document window in the center of the screen has a push-pin icon that you can use to AutoHide the window or “tack” it into place.
  • Guide diamonds are a new improvement added to VS 2005
  • *If you are working in a shared lab, check with the instructor or lab technician before changing options.
  • Do not try to copy a project that is open using the Save As command—the original solution and project files are modified and you won’t be able to open the original project
  • Appendix C

    1. 1. aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf
    2. 2. Tips and Shortcuts for Mastering the Environment Appendix C McGraw-Hill © 2006 The McGraw-Hill Companies, Inc. All rights reserved.
    3. 3. Setting Up the Screen for Convenience <ul><li>Arrange the screen for best advantage </li></ul><ul><ul><li>Use Auto Hide to hide extra windows when not needed </li></ul></ul><ul><ul><ul><li>Hide windows separately or select Window/Auto Hide All </li></ul></ul></ul>All extra windows are hidden-only one displaying
    4. 4. Displaying Hidden Windows <ul><li>Point to the icon for a hidden window to display it temporarily </li></ul><ul><li>To undo the AutoHide feature, display a window and click its push-pin icon </li></ul><ul><li>Each IDE window that has an AutoHide feature also has a drop down menu with float, dock, AutoHide, hide, or make into a tabbed window selections </li></ul>
    5. 5. Closing and Displaying Windows <ul><li>Click the Close button to close windows </li></ul><ul><ul><li>Click the Close button to the right of the tabs to close the active document </li></ul></ul><ul><li>Windows can be quickly and easily opened when needed by using the View menu, buttons on the Standard Toolbar or keyboard shortcuts </li></ul>
    6. 6. Switching Between Documents <ul><li>With several tabs open in the Document window, switch by clicking the document tabs or use the keyboard shortcuts </li></ul><ul><li>Visual Studio displays only as many tabs as fit in the current size of the document window </li></ul><ul><ul><li>If there are more documents than fit, use the new drop-down list of open documents </li></ul></ul>
    7. 7. Use the Full Screen <ul><li>Using the Full Screen gives maximum screen space by getting rid of all extra windows </li></ul><ul><ul><li>It also hides all toolbars </li></ul></ul><ul><li>Select View/Full Screen to display in full-screen mode </li></ul><ul><li>Use the small Full Screen button to switch back to regular display or select View/Full Screen to toggle, or Shift_Alt+Enter </li></ul><ul><li>To display the Text Editor toolbar while in full-screen mode, select View/Toolbars/Text Editor </li></ul>
    8. 8. Modify the Screen Layout <ul><li>Visual Studio Tabbed Document window layout works very well for most operations and is an improvement over the older VB 6 environment </li></ul><ul><li>If preferred switch to MDI (multiple document interface) which is similar to the style in VB 6 </li></ul><ul><ul><li>Set this option in Tools/Options/Environment/General/Window layout </li></ul></ul><ul><ul><li>Each window in the IDE is considered either a Tool window or a Document window </li></ul></ul><ul><ul><li>Document windows usually display in the center of the screen with tabs; the Too windows can be floated, tab-dock in groups, move and resize </li></ul></ul>
    9. 9. Dock Windows Using the Guide Diamonds <ul><li>Guide diamonds appear and provide visual cues when dragging a dockable tool window </li></ul><ul><li>When dragging toward one of the edges or over the arrow the corresponding area darkens </li></ul><ul><li>To tab-dock a window the center of the diamond needs to darken </li></ul>
    10. 10. Split the Screen Vertically <ul><li>To view the Editor window and the form design at the same time select Window/New Vertical Tab Group with at least two tabs open </li></ul>
    11. 11. Setting Work Options <ul><li>Choose Tools/Options to display the Options dialog box </li></ul><ul><ul><li>Check Show all settings to display all options that may be changed </li></ul></ul><ul><ul><li>Click each of the categories to view options that can be selected </li></ul></ul>
    12. 12. Using Shortcuts in the Form Designer <ul><li>Layout Toolbar-great for working with more than one control </li></ul><ul><li>Nudge Controls into Place-used to place controls exactly where they are wanted; moves control one pixel at a time </li></ul><ul><li>Snap Lines to Help Align Controls-appear to align tops, bottoms, lefts, or rights of controls </li></ul>
    13. 13. Using Shortcuts in the Editor <ul><li>Text Editor Toolbar displays when the Editor window is open - becoming familiar with the following shortcuts can save considerable time and trouble </li></ul><ul><ul><ul><li>Comment Selected Lines-used to convert some code to comments </li></ul></ul></ul><ul><ul><ul><li>Uncomment Selected Lines-undoes the Comment Selected Lines command </li></ul></ul></ul><ul><ul><ul><li>Toggle Bookmark on Current Line-sets and unset individual bookmarks </li></ul></ul></ul><ul><ul><ul><li>Jump to Next/Previous Bookmark-used to quickly jump to bookmarks in code </li></ul></ul></ul><ul><ul><ul><li>Clear All Bookmarks-used to take away all bookmarks in code at one time </li></ul></ul></ul>
    14. 14. Using Keyboard Shortcuts When Editing Code <ul><li>Saves time </li></ul><ul><li>Shortcuts are based on the default VB keyboard mapping </li></ul><ul><ul><li>See Tools/Options and select Show all settings </li></ul></ul><ul><ul><ul><li>Select Environment/Keyboard/Keyboard mapping scheme </li></ul></ul></ul><ul><ul><ul><li>Select Default Settings </li></ul></ul></ul>
    15. 15. Split the Editor Window <ul><li>More than one section of code can be viewed at a time by splitting the Editor window </li></ul><ul><ul><li>Point to the Split bar at the top of the vertical scroll bar and drag the bar down to the desired location </li></ul></ul>
    16. 16. Use Drag-and-Drop Editing <ul><li>To move code, select the text, point to the selection, and drag it to a new location </li></ul><ul><li>Copy text (rather than moving it) by holding down the Ctrl key when dragging </li></ul><ul><li>When lines of code are used frequently, select the text and drag it to the toolbox and then insert it from the toolbox when needed </li></ul><ul><ul><li>Text appears in the toolbox when the Editor window is open but not when a form is in design mode </li></ul></ul>
    17. 17. Use Context-Sensitive Help <ul><li>Click a control or a line of code and press F1 is the quickest way to access context-sensitive Help </li></ul><ul><li>Help displays the closest matching item it can locate </li></ul><ul><li>Help for IDE elements is also available: </li></ul><ul><ul><li>Click in any area of the IDE and press Shift+F1 </li></ul></ul><ul><ul><ul><li>The Help explanation will be about using the current window or IDE element </li></ul></ul></ul>
    18. 18. Copy and Move Projects <ul><li>An entire project folder can be copied and moved from one location to another </li></ul><ul><li>To base one project on a previous project: </li></ul><ul><ul><li>Make sure the project is not open-extremely important </li></ul></ul><ul><ul><li>Copy the folder to a new location using My Computer </li></ul></ul><ul><ul><li>Rename the new folder for the new project </li></ul></ul><ul><ul><li>Open the new project (copy) in the Visual Studio IDE </li></ul></ul><ul><ul><li>In the IDE’s Solution Explorer rename the solution and project </li></ul></ul><ul><ul><li>Rename the forms if desired </li></ul></ul><ul><ul><li>Open the Project Designer - change the root namespace and the assembly name to match new project name </li></ul></ul>

    ×