Based On Murach’s slides

Slides:



Advertisements
Similar presentations
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Paint Shop Tutorial. Essential Overview New Corel Paint Shop Pro Photo X2 is the ideal choice for any aspiring photographer's digital darkroom. It's filled.
Using the Visual Basic Editor Visual Basic for Applications 1.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Exploring the Basics of Windows XP
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
IE 411/511: Visual Programming for Industrial Applications
Visual Studio.NET Part 2 dbg --- Using the VS.NET Integrated Development Environment.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 2 The Visual Basic.NET Integrated Development Environment.
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Integrated Development Environment (IDE)
XP New Perspectives on Windows XP Tutorial 1 Exploring the Basics.
Visual Studio.NET Part 2 dbg --- Using the Integrated Development Environment.
OCC Network Drives  H:\  P:\ 
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Data-information stored in files on the disks and CDs in your computer system Why should we save a file when we create it on the computer?
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Dive Into® Visual Basic 2010 Express
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Windows Tutorial 3 Personalizing Your Windows Environment
Visual Basic .NET BASICS
Microsoft Word Basics.
Chapter 2: The Visual Studio .NET Development Environment
User Profiles and Workspaces
© 2016, Mike Murach & Associates, Inc.
Microsoft Visual Basic 2005 BASICS
Chapter 2 – Introduction to the Visual Studio .NET IDE
Program and Graphical User Interface Design
1. Introduction to Visual Basic
How to design a Windows Forms application
Fastest way for already created documents
Microsoft Windows XP Inside Out Second Edition
INTRODUCTION TO ADOBE ILLUSTRATOR
Microsoft Excel 2003 Illustrated Complete
Access Lesson 1 Understanding Access Fundamentals
Exploring the Basics of Windows XP
Microsoft Word 2010 Lesson 1.
Program and Graphical User Interface Design
Chapter I Introduction to MS Excel Program
Microsoft Windows 2000 Professional
© 2016, Mike Murach & Associates, Inc.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Exploring the Basics of Windows XP
Creating a Windows Application Project in Visual Studio
Microsoft Office Illustrated Fundamentals
Shelly Cashman: Microsoft Windows 10
Microsoft Windows 7 Basics
Microsoft Excel 2007 – Level 2
C# and ASP.NET Programming
An Introduction to the Windows Operating System
Presentation transcript:

Based On Murach’s slides Starting with Visual Studio Based On Murach’s slides

Objectives

Objectives (cont.)

A Windows Forms application running on the desktop

Common types of .NET applications

Windows Presentation Foundation (WPF) A graphical subsystem by Microsoft for rendering user interfaces in Windows-based applications.  WPF, previously known as "Avalon", was initially released as part of .NET Framework 3.0. Rather than relying on the older GDI subsystem, WPF uses DirectX.

Visual Studio 2015/2017 Editions

Programming languages supported by Visual Studio 2015/17

The .NET Framework

The Visual Studio IDE

How a C# application is compiled and run

The Visual Studio Start Page

The Open Project dialog box

Project and solution concepts

FinancialCalculations.csproj (fragment) <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>9.0.20706</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{03C1A322-9600-41F2-825D-9A46B1F803F2}</ProjectGuid> <OutputType>WinExe</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>FinancialCalculations</RootNamespace> <AssemblyName>FinancialCalculations</AssemblyName> <FileUpgradeFlags> </FileUpgradeFlags> <OldToolsVersion>3.5</OldToolsVersion> <UpgradeBackupLocation> </UpgradeBackupLocation> <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> <TargetFrameworkProfile> </TargetFrameworkProfile> </PropertyGroup>

FinancialCalculations.sln (fragment) Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.23107.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FinancialCalculations", "FinancialCalculations.csproj", "{03C1A322-9600-41F2-825D-9A46B1F803F2}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {03C1A322-9600-41F2-825D-9A46B1F803F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {03C1A322-9600-41F2-825D-9A46B1F803F2}.Debug|Any CPU.Build.0 = Debug|Any CPU {03C1A322-9600-41F2-825D-9A46B1F803F2}.Release|Any CPU.ActiveCfg = Release|Any CPU {03C1A322-9600-41F2-825D-9A46B1F803F2}.Release|Any CPU.Build.0 = Release|Any CPU GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobal >

The Form Designer window of Visual

The Code Editor window of Visual

The Solution Explorer

Project files The Solution Explorer uses different icons to distinguish between source code files that define forms and source code files that don’t. Each form is defined by two C# source files where each file contains a partial class. The file with the cs extension contains the code that’s entered by the programmer, and the file with the Designer.cs extension contains the code that’s generated when the programmer works with the Form Designer. When the project is compiled, these partial classes are combined into a single class that determines the appearance and operation of the form. A source code file that doesn’t define a form is usually stored in a single C# source file that contains a single class. The Program.cs file contains the C# code that starts the application and runs the first form. The app.config file contains configuration information for the application. The References folder contains references to the assemblies for the namespaces that the application can use.

Two floating windows, a hidden window, and a pinned window On the Window menu, click Reset Workspace Layout Tools > Import and Export Settings > Reset all settings

How to rearrange windows To undock a docked window so it floats on the screen, drag it by its title bar away from the edge of the application window or double-click its title bar. To dock a floating window, drag it by its title bar onto one of the positioning arrows that become available. Or, hold down the Ctrl key and then double-click its title bar to return it to its previous docked location. To hide a docked window, click its Auto Hide button. Then, the window is displayed as a tab at the edge of the screen, and you can display it by clicking on the tab. To display a window in a group of tabbed windows, click on its tab. If you dock, undock, hide, or unhide a tabbed window, all the windows in the group are docked, undocked, hidden, or unhidden. To pin a window to the left side of the Form Designer, click its Toggle Pin Status button. You can also use the commands in the Window menu to work with windows. For example, you can use the Reset Window Layout command to return the windows to their default layout. You can also save, apply, and manage custom layouts.

The form that’s displayed when the Financial Calculations project is run

How to build a project without running it Use the BuildBuild Solution command. Or, right-click the project in the Solution Explorer and select the Build command from the shortcut menu. How to run a project You can run a project by clicking on the Start button in the Standard toolbar or by pressing F5. Then, the first form of the project is displayed on top of the Visual Studio window. If the project hasn’t already been built, the project is first built and then run.

The dialog box for upgrading a project to Visual Studio 2015/17

The application properties for a project