Overview Describe the structure of a Windows Forms application Introduce deployment over networks
|
|
- Ralph Clark
- 5 years ago
- Views:
Transcription
1 Windows Forms
2 Overview Describe the structure of a Windows Forms application application entry point forms components and controls Introduce deployment over networks 2
3 Windows Forms Windows Forms are classes for building UIs forms, controls, dialogs, etc. part of the.net Framework Library core classes in System.Windows.Forms namespace Possible uses include: stand-alone Windows applications web services front-ends intranet smart clients 3
4 Visual Studio Visual Studio.NET provides development environment starter templates, drag-and-drop editing, property grid, etc. 4
5 Application Structure Windows Forms application has three main pieces the application itself forms in the application controls and components on the forms Application mainform myform label1 button1 Label "Hello, World!" Button "OK" 5
6 Application Application class represents the application itself Run method processes UI events delivered by Windows provides access to application environment ExecutablePath, CommonAppDataPath, UserAppDataPath, etc. no instances, all members are static class MyApp public static void Main() MyForm form = new MyForm(); start application Application.Run(form); 6
7 Form Form class represents window, provides appropriate services properties: Size, Location, Controls, ShowInTaskbar methods: Show, Close, SetDesktopLocation events: Load, Click, Closing Common to derive from Form to create custom form define custom form set properties class MyForm : Form public MyForm() this.showintaskbar = false; this.location = new Point(10, 10); this.size = new Size(100, 100); 7
8 Form border Forms can look like windows, dialogs, or tools controlled using FormBorderStyle property set ShowInTaskbar property to false for tool windows window border styles show the icon from the Icon property 8
9 Form properties Form has many properties used to customize appearance and behavior public class Form : ContainerControl public IButtonControl AcceptButton get; set; public IButtonControl CancelButton get; set; public bool HelpButton get; set; public Icon Icon get; set; public String Text get; set; properties public Size MaximumSize get; set; public Size MinimumSize get; set; public MainMenu Menu get; set; public bool ShowInTaskbar get; set; public FormBorderStyle FormBorderStyle get; set;... 9
10 Form as container Form manages a list of controls stored in Controls collection property all forms inherit Controls collection class MyForm : Form Button button1 = new Button(); Label label1 = new Label (); add to collection public MyForm()... this.controls.add(button1); this.controls.add(label1 );... myform Controls button1 label1 10
11 Form layout Form determines layout for controls it manages recalculates as needed, such as when user resizes form tries to accommodate control preferences for size and location uses Anchor and Dock property of each control can override OnLayout method to do custom layout resize 11
12 Controls Controls are visual components derived from Control class common controls supplied Object Component Control ButtonBase Button CheckBox RadioButton ListControl ComboBox ListBox DataGrid DateTimePicker GroupBox Label MonthCalendar PictureBox ProgressBar Splitter StatusBar ScrollableControl ContainerControl Form PropertyGrid UserControl Panel TabPage 12
13 Control properties Controls supply many properties used to customize appearance and behavior public class MyForm : Form private Button button1; public MyForm() button1 = new Button(); set properties button1.name = "OK button"; button1.text = "OK";... 13
14 Control events Controls offer events click mouse or keyboard activity property value change paint etc. events public class Control : Component... public event EventHandler Click; public event EventHandler Enter; public event EventHandler TextChanged; public event KeyPressEventHandler KeyPress; public event MouseEventHandler MouseDown; public event PaintEventHandler Paint;... 14
15 Event handlers Several types of event handler delegates generic EventHandler used for many events specific types for some events such as mouse and keyboard Event handlers have 2 arguments control that generated event event details in EventArgs or derived object delegate void EventHandler (object sender, EventArgs e); delegate void MouseEventHandler (object sender, MouseEventArgs e); delegate void KeyPressEventHandler(object sender, KeyPressEventArgs e); the control that generated the event event details 15
16 EventArgs Event handlers pass event details to handler passed in EventArgs or derived class object generic base class so no event data info specific to mouse event info specific to keyboard event public class EventArgs class MouseEventArgs : EventArgs public MouseButtons Button get; public int Clicks get; public int X get; public int Y get;... class KeyPressEventArgs : EventArgs public char KeyChar get;... 16
17 Event registration Clients can register for events define method with signature required by delegate create delegate instance and add to event public class MyForm : Form private Button button1; define method register void button1_click(object sender, EventArgs args)... public MyForm()... button1.click += new EventHandler(this.button1_Click);... 17
18 Components Components are non-visual elements useful in UI e.g. Timer, FileSystemWatcher, EventLog, etc. extend System.ComponentModel.Component components in toolbox shown in component tray when added to form 18
19 Threading Control should only be accessed by the creating thread messages from different threads subject to interleaving resulting race conditions can lead to inconsistent behavior Control class provides methods for thread-switching see docs for InvokeRequired, Invoke, BeginInvoke dequeue window message queue owning thread window controls access Login Name: Password: access other thread OK Cancel 19
20 No-touch deployment Windows forms applications can be deployed automatically client uses browser to access executable needed assemblies downloaded and stored in download cache program runs locally executable downloaded only if changed since last run Client GET /App.exe HTTP/1.1 Server cache App.exe App.exe 20
21 Summary Windows Forms supports UI development applications, forms, controls integration with designer no-touch deployment over networks 21
Chapter 13: Handling Events
Chapter 13: Handling Events Event Handling Event Occurs when something interesting happens to an object Used to notify a client program when something happens to a class object the program is using Event
More informationEvent-based Programming
Window-based programming Roger Crawfis Most modern desktop systems are window-based. What location do I use to set this pixel? Non-window based environment Window based environment Window-based GUI s are
More informationEvents. Event Handler Arguments 12/12/2017. EEE-425 Programming Languages (2016) 1
Events Events Single Event Handlers Click Event Mouse Events Key Board Events Create and handle controls in runtime An event is something that happens. Your birthday is an event. An event in programming
More informationCST242 Windows Forms with C# Page 1
CST242 Windows Forms with C# Page 1 1 2 4 5 6 7 9 10 Windows Forms with C# CST242 Visual C# Windows Forms Applications A user interface that is designed for running Windows-based Desktop applications A
More informationIngegneria del Software T. Interfaccia utente
Interfaccia utente Creating Windows Applications Typical windows-application design & development 1+ classes derived from System.Windows.Forms.Form Design UI with VisualStudio.NET Possible to do anything
More informationThe original of this document was developed by the Microsoft special interest group. We made some addons.
Naming Conventions for.net / C# Projects Martin Zahn, Akadia AG, 20.03.2003 The original of this document was developed by the Microsoft special interest group. We made some addons. This document explains
More information1. Windows Forms 2. Event-Handling Model 3. Basic Event Handling 4. Control Properties and Layout 5. Labels, TextBoxes and Buttons 6.
C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed
More informationPhiladelphia University Faculty of Information Technology. Visual Programming
Philadelphia University Faculty of Information Technology Visual Programming Using C# -Work Sheets- Prepared by: Dareen Hamoudeh Eman Al Naji Work Sheet 1 Form, Buttons and labels Properties Changing properties
More informationProgramming. C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies
9 Programming Based on Events C# Programming: From Problem Analysis to Program Design 2nd Edition David McDonald, Ph.D. Director of Emerging Technologies Chapter Objectives Create applications that use
More informationEEE-425 Programming Languages (2013) 1
2 System.Drawing Namespace System.Windows.Forms Namespace Creating forms applications by hand Creating forms applications using Visual Studio designer Windows applications also look different from console
More informationEEE-425 Programming Languages (2013) 1
2 System.Drawing Namespace System.Windows.Forms Namespace Creating forms applications by hand Creating forms applications using Visual Studio designer Windows applications also look different from console
More informationChapter 12: Using Controls
Chapter 12: Using Controls Examining the IDE s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton A Label has been dragged onto Form1
More informationMicrosoft Visual C# 2005: Developing Applications Table of Contents
Table of Contents INTRODUCTION...INTRO-1 Prerequisites...INTRO-2 Installing the Practice Files...INTRO-3 Software Requirements...INTRO-3 Sample Database...INTRO-3 Security...INTRO-4 Installation...INTRO-4
More informationChapter 12: Using Controls
Chapter 12: Using Controls Using a LinkLabel LinkLabel Similar to a Label Provides the additional capability to link the user to other sources Such as Web pages or files Default event The method whose
More information//filename.cs using System; using System.Windows.Forms; [STAThread] public static void Main() { Application.Run(new Form1()); } }
Lecture #10 Introduction Hand-Coding Windows Forms Applications The.NET Framework provide tools and components, such as dialog boxes, menus, buttons, and many other controls, that make up a standard Windows
More informationUsing Visual Basic Studio 2008
Using Visual Basic Studio 2008 Recall that object-oriented programming language is a programming language that allows the programmer to use objects to accomplish a program s goal. An object is anything
More informationLaboratorio di Ingegneria del Software
Laboratorio di Ingegneria del Software L-A Interfaccia utente System.Windows.Forms The System.Windows.Forms namespace contains classes for creating Windows-based applications The classes can be grouped
More informationLaboratorio di Ingegneria del L-A
Software L-A Interfaccia utente System.Windows.Forms The System.Windows.Forms namespace contains classes for creating Windows-based applications The classes can be grouped into the following categories:
More informationChapter 6 Dialogs. Creating a Dialog Style Form
Chapter 6 Dialogs We all know the importance of dialogs in Windows applications. Dialogs using the.net FCL are very easy to implement if you already know how to use basic controls on forms. A dialog is
More informationMenus and Printing. Menus. A focal point of most Windows applications
Menus and Printing Menus A focal point of most Windows applications Almost all applications have a MainMenu Bar or MenuStrip MainMenu Bar or MenuStrip resides under the title bar MainMenu or MenuStrip
More informationDeveloping for Mobile Devices Lab (Part 1 of 2)
Developing for Mobile Devices Lab (Part 1 of 2) Overview Through these two lab sessions you will learn how to create mobile applications for Windows Mobile phones and PDAs. As developing for Windows Mobile
More informationThe first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear.
4 Programming with C#.NET 1 Camera The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. Begin by loading Microsoft Visual Studio
More information10/18/2010 ' ( )* +, ('')* +, !" #$ % !""#$
!""#$ % & ' ( )* +, ('')* +,!" #$ %! 1 !"! "# $%" " &"# $& ' (&) * +,*-& ",*- - (. 2 ( / ( 0 3 %)" 1!)" # 4 !)" 2 ( %" 5 -)" (% %% ( %! 6 ( %- ( %. 7 ( %/ ( %0 8 ( %1 ( - Allows access to physical hardware
More informationChapter 2. Ans. C (p. 55) 2. Which is not a control you can find in the Toolbox? A. Label B. PictureBox C. Properties Window D.
Chapter 2 Multiple Choice 1. According to the following figure, which statement is incorrect? A. The size of the selected object is 300 pixels wide by 300 pixels high. B. The name of the select object
More informationBeginning Silverlight 5 in C #
Table of Contents: Chapter 1. Welcome to Silverlight 5 1.1 The Evolution of the User interface 1.2 Rich Internet Application Solutions 1.3 What is Silverlight? 1.4 Benefits of Silverlight 1.4.1 Cross-Platform/Cross-Browser
More informationWinForms Applications
Agenda WinForms Applications Writing native Windows programs Tuesday, November 2, 2004 1 PWindows Applications PEvents and event handlers PLayered (tiered) model of software PFocus PForm designer and controls
More informationContents. Using Interpreters... 5 Using Compilers... 5 Program Development Life Cycle... 6
Contents ***Introduction*** Introduction to Programming... 1 Introduction... 2 What is a Program?... 2 Role Played by a Program to Perform a Task... 2 What is a Programming Language?... 3 Types of Programming
More informationCST272 Getting Started Page 1
CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly
More informationVision V sion o n I n n 1975 V sion o n T o T d o a d y A c o c m o pu p t u er e o n o n e v e e v r e y E po p w o er e p e p o e p o l p e
Mobile Applications.. Vision Vision In 1975 A computer on every desk and in every home Vision Today Empower people through great software any time, any place, and on any device Mobility Group Empower people
More informationYour First Windows Form
Your First Windows Form From now on, we re going to be creating Windows Forms Applications, rather than Console Applications. Windows Forms Applications make use of something called a Form. The Form is
More informationPhiladelphia University Faculty of Information Technology. Visual Programming. Using C# -Work Sheets-
Philadelphia University Faculty of Information Technology Visual Programming Using C# -Work Sheets- Prepared by: Dareen Hamoudeh Eman Al Naji 2018 Work Sheet 1 Hello World! 1. Create a New Project, Name
More informationCIS 3260 Intro. to Programming with C#
Running Your First Program in Visual C# 2008 McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Run Visual Studio Start a New Project Select File/New/Project Visual C# and Windows must
More informationExperiment 5 : Creating a Windows application to interface with 7-Segment LED display
Experiment 5 : Creating a Windows application to interface with 7-Segment LED display Objectives : 1) To understand the how Windows Forms in the Windows-based applications. 2) To create a Window Application
More information, , ,
Windows Forms .NET Framework Lecture 5-2 Microsoft technology introduced in 2002 1.1 2003, 2.0 2005, 3.0 2006, 3.5 2007 Integration with Windows systems:.net Framework 1.0, 1.1, 2.0: available for: 98,
More informationNow find the button component in the tool box. [if toolbox isn't present click VIEW on the top and click toolbox]
C# Tutorial - Create a Tic Tac Toe game with Working AI This project will be created in Visual Studio 2010 however you can use any version of Visual Studio to follow along this tutorial. To start open
More informationConventions in this tutorial
This document provides an exercise using Digi JumpStart for Windows Embedded CE 6.0. This document shows how to develop, run, and debug a simple application on your target hardware platform. This tutorial
More informationWindows Forms in Action by Erik Brown Chapter 3. Copyright 2006 Manning Publications
Windows Forms in Action by Erik Brown Chapter 3 Copyright 2006 Manning Publications brief contents Part 1 Hello Windows Forms 1 1 Getting started with Windows Forms 3 2 Getting started with Visual Studio
More informationWriting a Windows Form Application For.NET Framework Using C# By Naveen K Kohli
Page 1 of 7 Writing a Windows Form Application For.NET Framework Using C# By Naveen K Kohli A tutorial on writing Windows Forms application using C# Beginner VC7,.NET SDK,.NET,.NET SDK Posted 25 Nov 2000
More informationInstructions for writing Web Services using Microsoft.NET:
Instructions for writing Web Services using Microsoft.NET: Pre-requisites: Operating System: Microsoft Windows XP Professional / Microsoft Windows 2000 Professional / Microsoft Windows 2003 Server.NET
More informationControls. By the end of this chapter, student will be able to:
Controls By the end of this chapter, student will be able to: Recognize the (Properties Window) Adjust the properties assigned to Controls Choose the appropriate Property Choose the proper value for the
More informationPS2 Random Walk Simulator
PS2 Random Walk Simulator Windows Forms Global data using Singletons ArrayList for storing objects Serialization to Files XML Timers Animation This is a fairly extensive Problem Set with several new concepts.
More informationLecture 1 Introduction Phil Smith
2014-2015 Lecture 1 Introduction Phil Smith Learning Outcomes LO1 Understand the principles of object oriented programming LO2 Be able to design object oriented programming solutions LO3 Be able to implement
More informationC# Programming: From Problem Analysis to Program Design. Fourth Edition
C# Programming: From Problem Analysis to Program Design Fourth Edition Preface xxi INTRODUCTION TO COMPUTING AND PROGRAMMING 1 History of Computers 2 System and Application Software 4 System Software 4
More information#using <System.dll> #using <System.Windows.Forms.dll> #using <System.Drawing.dll>
Lecture #9 Introduction Anatomy of Windows Forms application Hand-Coding Windows Form Applications Although Microsoft Visual Studio makes it much easier for developers to create Windows Forms applications,
More informationQuick Guide for the ServoWorks.NET API 2010/7/13
Quick Guide for the ServoWorks.NET API 2010/7/13 This document will guide you through creating a simple sample application that jogs axis 1 in a single direction using Soft Servo Systems ServoWorks.NET
More informationDOT.NET MODULE 6: SILVERLIGHT
UNIT 1 Introducing Silverlight DOT.NET MODULE 6: SILVERLIGHT 1. Silverlight and Visual Studio 2. Understanding Silverlight Websites 3. Creating a Stand-Alone Silverlight Project 4. Creating a Simple Silverlight
More informationUnit-1. Components of.net Framework. 1. Introduction to.net Framework
1 Unit-1 1. Introduction to.net Framework The.NET framework is a collection of all the tools and utilities required to execute the.net managed applications on a particular platform. The MS.NET framework
More informationChapter 14. Additional Topics in C# 2010 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill
Chapter 14 Additional Topics in C# McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives - 1 Validate user input in the Validating event handler and display messages
More informationCST272 Getting Started Page 1
CST272 Getting Started Page 1 1 2 3 5 6 8 10 Introduction to ASP.NET and C# CST272 ASP.NET ASP.NET Server Controls (Page 1) Server controls can be Buttons, TextBoxes, etc. In the source code, ASP.NET controls
More informationCSC 355 PROJECT 4 NETWORKED TIC TAC TOE WITH WPF INTERFACE
CSC 355 PROJECT 4 NETWORKED TIC TAC TOE WITH WPF INTERFACE GODFREY MUGANDA In this project, you will write a networked application for playing Tic Tac Toe. The application will use the.net socket classes
More informationTRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide
TRAINING GUIDE FOR OPC SYSTEMS.NET Simple steps to successful development and deployment. Step by Step Guide SOFTWARE DEVELOPMENT TRAINING OPC Systems.NET Training Guide Open Automation Software Evergreen,
More informationVisual Basic.NET. 1. Which language is not a true object-oriented programming language?
Visual Basic.NET Objective Type Questions 1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) Java Answer: b 2. A GUI: a.) uses buttons, menus, and icons.
More informationTuneTown Lab Instructions
TuneTown Lab Instructions Purpose: Practice creating a modal dialog. Incidentally, learn to use a list view control. Credit: This program was designed by Jeff Prosise and published in MSDN Magazine. However,
More informationYou can call the project anything you like I will be calling this one project slide show.
C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise
More informationModule 8: Building a Windows Forms User Interface
Module 8: Building a Windows Forms User Interface Table of Contents Module Overview 8-1 Lesson 1: Managing Forms and Dialog Boxes 8-2 Lesson 2: Creating Menus and Toolbars 8-13 Lab: Implementing Menus
More informationFull file at https://fratstock.eu Programming in Visual Basic 2010
OBJECTIVES: Chapter 2 User Interface Design Upon completion of this chapter, your students will be able to 1. Use text boxes, masked text boxes, rich text boxes, group boxes, check boxes, radio buttons,
More informationComponentOne. TouchToolkit for WinForms
ComponentOne TouchToolkit for WinForms ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: sales@componentone.com
More informationGetting started 7. Setting properties 23
Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening
More informationInterface Design in C#
Interface Design in C# Project 1: Copy text from TextBox to Label as shown in the figure. TextBox and Label have the same property: display.text = nameentry.text; private void nameentry_textchanged display.text
More informationChapter 12. Tool Strips, Status Strips, and Splitters
Chapter 12 Tool Strips, Status Strips, and Splitters Tool Strips Usually called tool bars. The new ToolStrip class replaces the older ToolBar class of.net 1.1. Create easily customized, commonly employed
More information1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events
Working with Form: properties, methods and events To create a New Window Forms Application, Select File New Project. It will open one dialog box which is shown in Fig 2.1. Fig 2.1 The New Project dialog
More informationWindows 7 Control Pack for WinForms
ComponentOne Windows 7 Control Pack for WinForms By GrapeCity, Inc. Copyright 1987-2012 GrapeCity, Inc. All rights reserved. Corporate Headquarters ComponentOne, a division of GrapeCity 201 South Highland
More informationTutorial 3 - Welcome Application
1 Tutorial 3 - Welcome Application Introduction to Visual Programming Outline 3.1 Test-Driving the Welcome Application 3.2 Constructing the Welcome Application 3.3 Objects used in the Welcome Application
More informationRules Engine Cookbook
Sitecore CMS 7.0 Rules Engine Cookbook Rev: 2013-05-21 Sitecore CMS 7.0 Rules Engine Cookbook Rules Engine and Conditional Rendering Tips and Techniques for Developers Table of Contents Chapter 1 Introduction...
More informationFull file at
T U T O R I A L 3 Objectives In this tutorial, you will learn to: Set the text in the Form s title bar. Change the Form s background color. Place a Label control on the Form. Display text in a Label control.
More informationModule 9: Validating User Input
Module 9: Validating User Input Table of Contents Module Overview 9-1 Lesson 1: Restricting User Input 9-2 Lesson 2: Implementing Field-Level Validation 9-8 Lesson 3: Implementing Form-Level Validation
More informationExercises for Delphi Advanced Programming Technology (English Version)
Exercises for Delphi Advanced Programming Technology (English Version) School: School of Information Engineering Department: Department of Electronic and Information Engineering Author: Sun Zhaoyun Exercises
More informationTutorial :.Net Micro Framework et.net Gadgeteer
1 Co-développement émulateur personnalisé et application pour une cible. 1.1 Utilisation d un émulateur personnalisé Après l installation du SDK.Net Micro, dans le répertoire d exemples, Framework (ex.
More informationClass Test 5. Create a simple paint program that conforms to the following requirements.
Class Test 5 Question 1 Use visual studio 2012 ultimate to create a C# windows forms application. Create a simple paint program that conforms to the following requirements. The control box is disabled
More informationText box. Command button. 1. Click the tool for the control you choose to draw in this case, the text box.
Visual Basic Concepts Hello, Visual Basic See Also There are three main steps to creating an application in Visual Basic: 1. Create the interface. 2. Set properties. 3. Write code. To see how this is done,
More informationKeeping Track, Menus. CSC 330 Object-Oriented Programming 1
Keeping Track, Menus CSC 330 Object-Oriented Programming 1 Chapter Objectives Keeping Track Create menus and submenus for program control Display and use the Windows common dialog boxes Create context
More informationModel Question Paper. Credits: 4 Marks: 140. Part A (One mark questions)
Model Question Paper Subject Code: MT0040 Subject Name: VB.Net Credits: 4 Marks: 140 (One mark questions) 1. The is a systematic class framework used for the development of system tools and utilities.
More informationCSC 211 Intermediate Programming
Introduction CSC 211 Intermediate Programming Graphical User Interface Concepts: Part 1 Graphical user interface Allow interaction with program visually Give program distinct look and feel Built from window
More informationPART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3
INTRODUCTION xix PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 The Life of Windows 3 From Windows 3.1 to 32-bit 4 Windows XP
More informationCPSC Tutorial 6
CPSC 481 - Tutorial 6 More WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca Please
More informationMicrosoft Visual Basic 2005 CHAPTER 5. Mobile Applications Using Decision Structures
Microsoft Visual Basic 2005 CHAPTER 5 Mobile Applications Using Decision Structures Objectives Write programs for devices other than a personal computer Understand the use of handheld technology Write
More informationFull file at Chapter 2: Creating a User Interface
Chapter 2: Creating a User Interface TRUE/FALSE 1. Text boxes accept and display information automatically, so no special event is necessary for them to do their assigned task. T PTS: 1 REF: 84 2. A button
More informationVisual Studio.NET enables quick, drag-and-drop construction of form-based applications
Visual Studio.NET enables quick, drag-and-drop construction of form-based applications Event-driven, code-behind programming Visual Studio.NET WinForms Controls Part 1 Event-driven, code-behind programming
More information2 USING VB.NET TO CREATE A FIRST SOLUTION
25 2 USING VB.NET TO CREATE A FIRST SOLUTION LEARNING OBJECTIVES GETTING STARTED WITH VB.NET After reading this chapter, you will be able to: 1. Begin using Visual Studio.NET and then VB.NET. 2. Point
More informationPorting your Dyalog Application to Internet
Porting your Dyalog Application to Internet by Eric Lescasse Lescasse Consulting 18 rue de la Belle Feuille 92100 Boulogne eric@lescasse.com http://www.lescasse.com September 11, 2007 Introduction There
More information10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010
10262A VB: Developing Windows Applications with Microsoft Visual Studio 2010 Course Number: 10262A Course Length: 5 Days Course Overview In this course, experienced developers who know the basics of Windows
More informationIntroductionto the Visual Basic Express 2008 IDE
2 Seeing is believing. Proverb Form ever follows function. Louis Henri Sullivan Intelligence is the faculty of making artificial objects, especially tools to make tools. Henri-Louis Bergson Introductionto
More informationGetting started 7. Setting properties 23
Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects
More informationKonark - Writing a KONARK Sample Application
icta.ufl.edu http://www.icta.ufl.edu/konarkapp.htm Konark - Writing a KONARK Sample Application We are now going to go through some steps to make a sample application. Hopefully I can shed some insight
More informationUNIT-3. Prepared by R.VINODINI 1
Prepared by R.VINODINI 1 Prepared by R.VINODINI 2 Prepared by R.VINODINI 3 Prepared by R.VINODINI 4 Prepared by R.VINODINI 5 o o o o Prepared by R.VINODINI 6 Prepared by R.VINODINI 7 Prepared by R.VINODINI
More informationEL-USB-RT API Guide V1.0
EL-USB-RT API Guide V1.0 Contents 1 Introduction 2 C++ Sample Dialog Application 3 C++ Sample Observer Pattern Application 4 C# Sample Application 4.1 Capturing USB Device Connect \ Disconnect Events 5
More informationUnderstanding Events in C#
Understanding Events in C# Introduction Events are one of the core and important concepts of C#.Net Programming environment and frankly speaking sometimes it s hard to understand them without proper explanation
More informationProgramming in C# Project 1:
Programming in C# Project 1: Set the text in the Form s title bar. Change the Form s background color. Place a Label control on the Form. Display text in a Label control. Place a PictureBox control on
More informationM Introduction to C# Programming with Microsoft.NET - 5 Day Course
Module 1: Getting Started This module presents the concepts that are central to the Microsoft.NET Framework and platform, and the Microsoft Visual Studio.NET integrated development environment (IDE); describes
More informationMore Language Features and Windows Forms
More Language Features and Windows Forms C# Programming January 12 Part I Some Language Features Inheritance To extend a class A: class B : A {... } B inherits all instance variables and methods of A Which
More informationWindows Presentation Foundation Visual Studio.NET 2008
Windows Presentation Foundation Visual Studio.NET 2008 Course 6460 - Three Days - Instructor-led - Hands on This three-day instructor-led course provides students with the knowledge and skills to build
More informationCALCULATOR APPLICATION
CALCULATOR APPLICATION Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;
More informationThe Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at:
This document describes how to create a simple Windows Forms Application using some Open Core Interface functions in C# with Microsoft Visual Studio Express 2013. 1 Preconditions The Open Core Interface
More informationWriting Object Oriented Software with C#
Writing Object Oriented Software with C# C# and OOP C# is designed for the.net Framework The.NET Framework is Object Oriented In C# Your access to the OS is through objects You have the ability to create
More informationMore Language Features and Windows Forms. Part I. Some Language Features. Inheritance. Inheritance. Inheritance. Inheritance.
More Language Features and Windows Forms C# Programming Part I Some Language Features January 12 To extend a class A: class B : A { B inherits all instance variables and methods of A Which ones it can
More informationWe are going to use some graphics and found a nice little batman running GIF, off course you can use any image you want for the project.
C# Tutorial - Create a Batman Gravity Run Game Start a new project in visual studio and call it gravityrun It should be a windows form application with C# Click OK Change the size of the to 800,300 and
More informationArcGIS Pro Extensibility - Building and Deploying Addins with the new DotNet SDK
ArcGIS Pro Extensibility - Building and Deploying Addins with the new DotNet SDK Charlie Macleod - Esri Esri UC 2014 Demo Theater New at 10.3 is the ArcGIS Pro Application - Extensibility is provided by
More informationMicrosoft Visual Basic 2015: Reloaded
Microsoft Visual Basic 2015: Reloaded Sixth Edition Chapter Five More on the Selection Structure Objectives After studying this chapter, you should be able to: Determine whether a solution requires a nested
More informationHow to Create a Windows Form Applcation in Visual C++/CLR 2012: Exploiting the power of Visual C++/CLR 2012
Windows Form Applications in Visual C++/CLR 2012 How to use Visual Studio 2015 is explained at this website. You can create a new windows form application in Visual C++/CLR 2013 essentially in the same
More informationDive Into Visual C# 2008 Express
1 2 2 Dive Into Visual C# 2008 Express OBJECTIVES In this chapter you will learn: The basics of the Visual Studio Integrated Development Environment (IDE) that assists you in writing, running and debugging
More information