html5-img
1 / 28

BCIS 4650 Visual Programming for Business Applications

BCIS 4650 Visual Programming for Business Applications. Course Introduction. Welcome!. Build Windows Store Apps (desktop; tablet – phone apps too hard for beginners) Use XAML for UI and C# for code-behind Cannot use CoB VM for this course Must use Windows 8.1, VS 2013 Pro or higher

damara
Télécharger la présentation

BCIS 4650 Visual Programming for Business Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BCIS 4650 Visual Programming for Business Applications Course Introduction The University of North Texas, ITDS Dept., Dr. Vedder

  2. Welcome! • Build Windows Store Apps (desktop; tablet – phone apps too hard for beginners) • Use XAML for UI and C# for code-behind • Cannot use CoB VM for this course • Must use Windows 8.1, VS 2013 Pro or higher • Focus on XAML (most weeks) • Get another syllabus at -- S:\vedder\courses\4650 The University of North Texas, ITDS Dept., Dr. Vedder

  3. VS13 Extensions and SDKsS:\vedder\courses\4650 • VS Extensions (.vsix) • MS Player Framework • Productivity PowerTools 2013 • Snippet Designer • Text Highlighter (for XAML, JSON) • Software Development Kits (.msi, .vsix, …) • Advertising • Bing Maps • Streaming video, etc. The University of North Texas, ITDS Dept., Dr. Vedder

  4. Some OOP Concepts • Class – a master for creating child objects; often have plural names • Object – a thing, a noun • Property – a characteristic of an object; an adjective for the noun • Value – data for the property, either null, or default, or supplied by you The University of North Texas, ITDS Dept., Dr. Vedder

  5. Some OOP Concepts, 2 • Method – functionality for the object; a verb • Event – action recognized by an object (recognition is automatic, response is not – you must program); there is a ‘null event’ The University of North Texas, ITDS Dept., Dr. Vedder

  6. Object Members / Class Members • Everything that can belong to an object or to its parent class • Properties, methods, enumerations, fields, structures, etc. The University of North Texas, ITDS Dept., Dr. Vedder

  7. Scope • The zone of visibility for a class, object, procedure, etc. • Many scope qualifier keywords, ex., • Public: visible to the entire project • Private: visible only to the current module • Encapsulation – hiding the inner workings of a class or child object; using scope qualifiers to create an interface between public and private, as with a TV remote The University of North Texas, ITDS Dept., Dr. Vedder

  8. Assigning Values to Properties • Template – theme with default text • Theme – collection of styles applied to entire document • Style – collection of formats applied to a section of a document • Individual format (of a selected object); anything the developer can see on the screen is an object, especially if selectable. The University of North Texas, ITDS Dept., Dr. Vedder

  9. Naming Conventions • Both XAML and C# are case-sensitive • “CamelCase”: ex., romanHolidayVacation • Underscore prefix often used with private variables and object variables, ex., _premiumGasCost The University of North Texas, ITDS Dept., Dr. Vedder

  10. BCIS 4650 Visual Programming for Business Applications Introduction to Visual Studio’s Integrated Development Environment (IDE) The University of North Texas, ITDS Dept., Dr. Vedder

  11. Visual Studio 2013 Start Page The University of North Texas, ITDS Dept., Dr. Vedder

  12. Integrated IDE The University of North Texas, ITDS Dept., Dr. Vedder

  13. What Is a “Project”? • An application containing one or more “solutions” (.sln files) that may be in different .NET languages • Solution Explorer shows the details The University of North Texas, ITDS Dept., Dr. Vedder

  14. Aside: VS12 (8) vs. VS13 (8.1)less than 12, will have to upgrade for Windows Store • Version 11 is for Windows 8.0 • Version 12 is for Windows 8.1 The University of North Texas, ITDS Dept., Dr. Vedder

  15. Solution Explorer (not “Project Explorer”) The University of North Texas, ITDS Dept., Dr. Vedder

  16. Loaded Sample Projectshowing a C# file The University of North Texas, ITDS Dept., Dr. Vedder

  17. Loaded Sample Projectshowing a XAML file The University of North Texas, ITDS Dept., Dr. Vedder

  18. What is a “Namespace”? • Library of related class definitions • Required for all .NET projects • Xaml pages: xmlns statements • C# files: using statements • Examples: • xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" l) • using System.IO; • Your own project or xaml page The University of North Texas, ITDS Dept., Dr. Vedder

  19. Toolbox with Tabs / Trays The University of North Texas, ITDS Dept., Dr. Vedder

  20. Properties Window (F4) The University of North Texas, ITDS Dept., Dr. Vedder

  21. Intellisense • List Members (classname._____) • Parameter Info (for functions) • Quick Info (ex., complete declaration) • Complete Word (autotype keywords) • Automatic Brace Matching () {} [] <> • Syntax tips • Lots more The University of North Texas, ITDS Dept., Dr. Vedder

  22. Tools | Options for This Class The University of North Texas, ITDS Dept., Dr. Vedder

  23. Tools | Options for This Class, 2 The University of North Texas, ITDS Dept., Dr. Vedder

  24. Tools | Options for This Class, 3 The University of North Texas, ITDS Dept., Dr. Vedder

  25. Tools | Options for This Class, 4 The University of North Texas, ITDS Dept., Dr. Vedder

  26. Free Tool for Resizing Images The University of North Texas, ITDS Dept., Dr. Vedder

  27. Your Homework • Get your feet wet • Complete the ‘Hello World’ tutorial found here: http://msdn.microsoft.com/en-us/library/windows/apps/hh986965.aspx • Do not worry about what you do not yet understand. The University of North Texas, ITDS Dept., Dr. Vedder

  28. ITDS Logo / Mood Slide The University of North Texas, ITDS Dept., Dr. Vedder

More Related