Windows GUI

Card Set Information

Windows GUI
2013-05-25 16:03:47
windows gui

Show Answers:

  1. StackPanel
    • horizontal/vertical stack
    • used for small sections of a larger window
  2. WrapPanel
    • horizontal - items go left to right then into lines
    • vertical - items go top bottom then into more columns
  3. DockPanel
    aligns controls to a specified edge of the container(top left right bottom)
  4. Grid
    • a table
    • most flexable and commonly used
  5. UniformGrid
    grid but all elements same size
  6. Canvas
    • fixed coordinates
    • allows items to overlap
    • don't use for a resizable window
  7. Available space
    • property sheets
    • list boxes
  8. User sophistication with respect to general computer usage
    text boxes vs. more complex controls
  9. checkbox pros and cons
    • pros: simple, low space consumption
    • cons: can only express one choice
  10. radio buttons pros and  cons
    • pros: both choices are stated and visible
    • cons: higher space consuption
  11. Dropdown List pros and cons
    • pro: both choiced stated, little space, easily expandable
    • cons: only one choice is visible at a time
  12. toggle button pros and cons
    • pros: same as checkbox, with icon, low space consumption
    • cons: can only express one choice
  13. Tree list pros and cons
    • pros: many choices are visible, collapsed groupings
    • cons: may be unfamiliar to naive computer users
  14. custom browser pros and cons
    • pros: suited for browsing choices
    • cons: may be unfamiliar to some users
  15. List that can receive drag and dropped items pros and cons
    • pros: visually elegant and space saving
    • cons: users may not know it is a drop target
  16. works best with sophisticated applications
    multiple windows
  17. tiled panes
    minimize window management
  18. one-window paging
    simple web applications
  19. two-panel pattern
    • 1st panel - shows a set of items the user can select
    • 2nd panel -  show the content
  20. extras on demand design
    ex. windows calculator
  21. multi-level help design
    • a mix of light-weight and heavy-weight help techniques
    • ex. tooltips, F1 help
  22. Factors affecting control choice
    • available space
    • general computer knowledge
    • expectations from other applicaitons
    • available technology
  23. content controls
    • ex. textbox, button
    • can contain 1 element of content such as text or an image
    • user can directly interact with it
  24. What happens with hidden scroll views that you should beware of?
    you can still scroll the scroll bar with the arrow keys
  25. What does WPF allow?
    allows objects to be loaded into controls
  26. How to determine directories found in a directory
    string[] dirs = Directory.GetDirectories(dir);
  27. determine files found in a directory
    string[] fileEntries = Directory.GetFiles(dir);
  28. determine files AND directories
    string[] filSystemEntries = Directory.GetFileSystemEntries(dir);
  29. determine drives found
    foreach(System.IO.DriveInfo drive in System.IO.DriveInfo.GetDrives())
  30. what is a thread?
    An independent path of execution within a program that runs (or appears to run) asynchronously (i.e. concurrently) with respect to other program threads.
  31. Synchronous threading
    • blocked
    • "I'll wait until you're finished before I do anything else"
  32. Asynchronous threading
    "I'm not waiting - just let me know when you're done"
  33. Transforms
    • rotate
    • scale
    • skew
  34. Brushes
    • fill colours
    • image
    • drawing
  35. bitmap effects
    • these work on controls
    • blur
    • embossing
  36. Deciding on how to colour
    • light foregrounds again dark backgrounds or vice versa
    • NEVER use oposite sides of the colour wheel
    • watch for colour blindness
  37. combinations of hues
    • using 2 saturated colours evoke more energy then 1 alone
    • a set of saturated colours draws attention to the saturated colour against muted
  38. High vs low contrast
    • high evokes tension, strength and boldness
    • low is soothing and relaxing