CPSC Tutorial 6
|
|
- Leslie Morrison
- 5 years ago
- Views:
Transcription
1 CPSC Tutorial 6 More WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta)
2 Introduction
3 Contact Info Please always include [CPSC 481] in the subject header Expect replies in: 24 hours on weekdays 48 hours on weekends
4 Reminder Horizontal Prototype Due March 6th (Monday) in class Write-up, including redesign rational (i.e. changes from the Lo-Fi prototype), screenshots, and the grading sheet (from the handout) Horizontal prototype presentation freeze Either your slides (PDF) to me OR submit on a USB, along with your write-up Presentations on March 7th / 9th
5 Horizontal Prototype
6 More WPF!
7 User Controls Controls are interactive elements in WPF Elements such as Buttons, TextBoxes, etc. are Microsoft Controls If you want to reuse specific elements in your interface, you can create User Controls User Controls can be composites of Microsoft Elements
8 Create User Control
9 Page Switcher
10 Create 3 buttons Pages: Method 1
11 Create a user control Pages (cont.)
12 Pages (cont.)
13 Fill with content Pages (cont.)
14 Pages (cont.) Add a StackPanel And give it a name
15 Pages: Initialize User Controls Create 2 additional user controls Add the following code to your MainWindow.xaml.cs before the constructor: // Initialize user controls UserControl1 _page1 = new UserControl1(); UserControl2 _page2 = new UserControl2(); UserControl3 _page3 = new UserControl3();
16 Pages: Result
17 Pages: Event Handlers private void Page1_Button_Click(object sender, RoutedEventArgs e) { stackpanel1.children.clear(); } stackpanel1.children.add(_page1); private void Page2_Button_Click(object sender, RoutedEventArgs e) { stackpanel1.children.clear(); } stackpanel1.children.add(_page2); private void Page3_Button_Click(object sender, RoutedEventArgs e) { stackpanel1.children.clear(); } stackpanel1.children.add(_page3);
18 Pages: Method 2 Create 3 User Controls, and name them: MainMenu, Page1, Page2 Add a Switcher.cs class to the project using System.Windows.Controls; public static MainWindow pageswitcher; public static void Switch(UserControl newpage) { pageswitcher.navigate(newpage); }
19 Pages (cont.) Add the following code to MainWindow.xaml.cs public MainWindow() { InitializeComponent(); Switcher.pageSwitcher = this; Switcher.Switch(new MainMenu()); } public void Navigate(UserControl nextpage) { this.content = nextpage; }
20 Pages (cont.) Design MainMenu, Page1, and Page2 to look like this:
21 Pages (cont.) For MainMenu, Page1, and Page2, add the following events: private void Button1_Click(object sender, RoutedEventArgs e) { Switcher.Switch(new MainMenu()); } private void Button2_Click(object sender, RoutedEventArgs e) { Switcher.Switch(new Page1()); } private void Button3_Click(object sender, RoutedEventArgs e) { Switcher.Switch(new Page2()); }
22 Pages (cont.) If you want to save the page state, then keep the User Control instance Page1 _page1 = new Page1(); private void Button_Click(object sender, RoutedEventArgs e) { Switcher.Switch(_page1); }
23 Style and Template
24 Style To customize the look-and-feel of a button Add a Resources tag
25 Style (cont.) Define the style
26 Style (cont.) OR give it a key to reuse the same style
27 Template You can create Control Templates These define how a control is drawn
28 Template (cont.) You can create Control Templates to define how a control is drawn <UserControl.Resources> <Style x:key="mybuttonstyle" TargetType="{x:Type Button} > <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border Name="fondoboton" BorderBrush="DarkGray" BorderThickness="5" CornerRadius="10,0,10,0" Background="LightGray"> <ContentPresenter Name="contenido" Content="{Binding Path=Content, RelativeSource={RelativeSource TemplatedParent}}"></ContentPresenter> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </UserControl.Resources>
29 Template (cont.) You can create Control Templates to define how a control is drawn <UserControl.Resources> <Style x:key="mybuttonstyle" TargetType="{x:Type Button} > <Setter Property= Background" Value="Orange"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Border Name="fondoboton" BorderBrush="DarkGray" BorderThickness="5" CornerRadius="10,0,10,0" Background= {TemplateBinding Background} > <ContentPresenter Name="contenido" Content="{Binding Path=Content, RelativeSource={RelativeSource TemplatedParent}}"></ContentPresenter> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </UserControl.Resources>
30 Template: Override Property For a specific button, you can set the background colour to something other than the default, while keeping everything else the same as the template Without changing the template, change the button s XAML code to something like this: <Button Style= {StaticResource MyButtonStyle} Background= Red Content= Button HorizontalAlignment= Left Margin= 119,234,0,0 VerticalAlignment= Top Width= 75 >
31 List Box
32 Drag & drop List Box
33 List Box (cont.) Click to modify items
34 List Box (cont.) Select ListBoxItem Click to add
35 List Box (cont.) Change content
36 List Box: Result
37 List Box (cont.) Obtain the selected index listbox1.selectedindex; Add event handler private void listbox1_selectionchanged(object sender, SelectionChangedEventArgs e) { testbox1.text = (String)((ListBoxItem)listBox1.SelectedItem).Content; }
38 Simple Animation
39 Insert an ellipse Simple Animation
40 Simple Animation (cont.) XAML code <Ellipse Name= ellipse1" Fill= #FFE828 HorizontalAlignment= Left Height= 118 Margin= 10,151,0,0 Stroke= Black Width= 127 > Add instance declaration using System.Windows.Media.Animation; private Storyboard mystoryboard;
41 Simple Animation (cont.) In the User Control constructor // animate fade in and fade out DoubleAnimation animation = new DoubleAnimation(); animation.from = 1.0; animation.to = 0.0; animation.duration = new Duration(TimeSpan.FromSeconds(5)); animation.autoreverse = true; animation.repeatbehavior = RepeatBehavior.Forever; mystoryboard = new Storyboard(); mystoryboard.children.add(animation); Storyboard.SetTargetName(animation, ellipse1.name); Storyboard.SetTargetProperty(animation, new PropertyPath(Ellipse.OpacityProperty)); // Use the Loaded event to start the Storyboard. ellipse1.loaded += new RoutedEventHandler(myEllipseLoaded);
42 Simple Animation (cont.) Add event handler private void myellipseloaded(object sender, RoutedEventArgs e) { mystoryboard.begin(this); } How about animating the width of the ellipse?
43 Click & Drag
44 Click & Drag Create an ellipse and give a name Also give the grid a name
45 Click & Drag (cont.) MouseDown MouseMove MouseUp
46 Click & Drag (cont.) bool captured = false; private void Ellipse1_MouseDown(object sender, MouseButtonEventArgs e) { captured = true; } private void Ellipse1_MouseUp(object sender, MouseButtonEventArgs e) { captured = false; } private void Ellipse1_MouseMove(object sender, MouseEventArgs e) { if (captured) } { Thickness margin = ellipse1.margin; margin.left = e.getposition(_maingrid).x - (ellipse1.width / 2); margin.top = e.getposition(_maingrid).y - (ellipse1.height / 2); ellipse1.margin = margin; }
47 Trigger
48 Trigger Allow you to change the value of a given property one a certain condition is reached Can be done entirely in XAML 3 types: 1. Property trigger 2. Data trigger 3. Event trigger
49 Property Trigger Defined by the <Trigger> element Watches the change of a specific property on the owner control Whenever that property has a specific value, it changes other properties
50 Property Trigger Example <TextBlock Text="Hello, styled world!" FontSize="28" HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock.Style> <Style TargetType="TextBlock"> <Setter Property="Foreground" Value="Blue"></Setter> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Foreground" Value="Red" /> <Setter Property="TextDecorations" Value="Underline" /> </Trigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> Result: underlines and colours the text red on mouse over
51 Data Trigger Defined by the <DataTrigger> element Watches a specific property that can be anywhere (not specifically on the owner control) Whenever that property has a specific value, it changes other properties
52 Data Trigger Example <CheckBox Name="cbSample" Content= Hello, world? /> <TextBlock Margin= 0,20,0,0 FontSize="48" HorizontalAlignment="Center"> <TextBlock.Style> <Style TargetType="TextBlock"> <Setter Property="Text" Value= No"></Setter> <Setter Property="Foreground" Value="Red"></Setter> <Style.Triggers> <DataTrigger Binding= {Binding ElementName=cbSample, Path=IsChecked} Value="True"> <Setter Property="Foreground" Value="Green" /> <Setter Property="Text" Value= Yes!" /> </DataTrigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> Result: Changes the text to Yes! and colour to green when the checkbox is checked
53 Event Trigger Defined by the <EventTrigger> element Triggers in response to an event being called Triggers exactly once that event is called
54 Event Trigger Example <TextBlock Name="lblStyled" Text="Hello, styled world!" FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock.Style> <Style TargetType="TextBlock"> <Style.Triggers> <EventTrigger RoutedEvent= MouseEnter > <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Duration= 0:0:0.300 Storyboard.Targetproperty= FontSize" To="28"> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> <EventTrigger RoutedEvent= MouseLeave > <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Duration= 0:0:0.800 Storyboard.Targetproperty= FontSize" To="18"> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock>
55 Event Trigger Example (cont.) Result: animation enlarges the text on mouse over, and thinks it back to its original size on mouse leave
56 Image as Button
57 Image as Button Create a button that displays as an image <Grid> <Button Background="Transparent" HorizontalAlignment="Left" Margin="117,84,0,0" VerticalAlignment="Top" Width="361" Height="231"> <Image Name="img1" Stretch="Fill" Source="Testimg.png" Margin= 10" /> </Button> </Grid>
58 Timer
59 Timer We are going to make use of a DispatchTimer Make sure you are using the Threading namespace Add a <TextBlock> on your code, and we will change the value every time the timer ticks
60 Timer (cont.) XAML <Grid Name="grid" > <TextBlock Name="TimerText" FontSize="48" VerticalAlignment= Center" HorizontalAlignment= Center" /> </Grid> C# using System.Windows.Threading; public void DispatcherTimerSample() { InitializeComponent(); DispatcherTimer timer = new DispatcherTimer(); timer.interval = TimeSpan.FromSeconds(1); timer.tick += timer_tick; timer.start(); } void timer_tick(object sender, EventArgs e) { timertext.content = DateTime.Now.ToLongTimeString(); }
61 Exercise Try a few of the things we talked today
62 Next Week Horizontal Prototype Presentations 12 mins + 3 mins feedback All group members must attend
63 Thank You
CPSC Tutorial 5
CPSC 481 - Tutorial 5 Assignment #2 and 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
More informationCPSC Tutorial 5 WPF Applications
CPSC 481 - Tutorial 5 WPF Applications (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Horizontal Prototype WPF Applications Controls
More informationCPSC Tutorial 9 Blend & Animations
CPSC 481 - Tutorial 9 Blend & Animations (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Blend & Animations Using Blend Hands on example
More informationCPSC Tutorial 4
CPSC 481 - Tutorial 4 Visual Studio and C# (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca
More informationWeather forecast ( part 2 )
Weather forecast ( part 2 ) In the first part of this tutorial, I have consumed two webservices and tested them in a Silverlight project. In the second part, I will create a user interface and use some
More informationCPSC 481 Tutorial 10 Expression Blend. Brennan Jones (based on tutorials by Bon Adriel Aseniero and David Ledo)
CPSC 481 Tutorial 10 Expression Blend Brennan Jones bdgjones@ucalgary.ca (based on tutorials by Bon Adriel Aseniero and David Ledo) Expression Blend Enables you to build rich and compelling applications
More informationCPSC Tutorial 4 Visual Studio and C#
CPSC 481 - Tutorial 4 Visual Studio and C# (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, and Sowmya Somanath) Today Intro to Assignment 2 Visual Studio Intro
More informationStyles and Control Templates
Chapter CHAPTER 5 5 Styles and Control Templates In a word processing document, a style is a set of properties to be applied to ranges of content e.g., text, images, etc. For example, the name of the style
More informationWorkspace Desktop Edition Developer's Guide. Customize Views and Regions
Workspace Desktop Edition Developer's Guide Customize Views and Regions 11/27/2017 Customize Views and Regions Purpose: To provide information about customizable views and their regions. Contents 1 Customize
More informationCourse 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update:
1 Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation Preliminaries Page.XAML Page.xaml.cs Copyright by V. Miszalok, last update: 30-01-2009 Install 1) Visual
More informationCourse 2D_WPF: 2D-Computer Graphics with C# + WPF Chapter C1a: The Intro Project Written in XAML and C#
1 Course 2D_WPF: 2D-Computer Graphics with C# + WPF Chapter C1a: The Intro Project Written in XAML and C# An Empty Window Copyright by V. Miszalok, last update: 2011-02-08 Guidance for Visual C# 2010 Express,
More informationCourse 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project
1 Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project Copyright by V. Miszalok, last update: 16-10-2008 Preliminaries Version 01: Page.XAML Version 02: Page.XAML Version 03:
More informationAdvanced Programming C# Lecture 3. dr inż. Małgorzata Janik
Advanced Programming C# Lecture 3 dr inż. Małgorzata Janik majanik@if.pw.edu.pl Winter Semester 2017/2018 Windows Presentation Foundation Windows Presentation Foundation Allows for clear separation between
More informationSilverlight memory board ( Part 2 )
Silverlight memory board ( Part 2 ) In the first part this tutorial we created a new Silverlight project and designed the user interface. In this part, we will add some code to the project to make the
More informationYes, this is still a listbox!
Yes, this is still a listbox! Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) and Expression Blend 2.0 September preview for this tutorial. You can download the beta2
More informationXAML - BUTTON. The Button class represents the most basic type of button control. The hierarchical inheritance of Button class is as follows
http://www.tutorialspoint.com/xaml/xaml_button.htm XAML - BUTTON Copyright tutorialspoint.com The Button class represents the most basic type of button control. The hierarchical inheritance of Button class
More informationCS3240 Human-Computer Interaction
CS3240 Human-Computer Interaction Lab Session 3 Supplement Creating a Picture Viewer Silverlight Application Page 1 Introduction This supplementary document is provided as a reference that showcases an
More informationWeek 6: First XAML Control Exercise
BCIS 4650 Week 6: First XAML Control Exercise The controls you will use are: Blank App (Universal Windows), which contains a Grid control by default StackPanel (acts as a container for CheckBoxes and RadioButtons)
More informationWindows Presentation Foundation. Jim Fawcett CSE687 Object Oriented Design Spring 2018
Windows Presentation Foundation Jim Fawcett CSE687 Object Oriented Design Spring 2018 References Pro C# 5 and the.net 4.5 Platform, Andrew Troelsen, Apress, 2012 Programming WPF, 2nd edition, Sells & Griffiths,
More informationGetting Started with Banjos4Hire
Getting Started with Banjos4Hire Rob Miles Department of Computer Science Data Objects There are a number of objects that you will need to keep track of in the program Banjo Customer Rental You can use
More informationsharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145
Navigation in Silverlight -3 1. Introduction: In previous article we learn to navigate to another Silverlight page without using navigation framework, which is new feature in Silverlight 3. Read it Here:
More informationCS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom
CS3240 Human-Computer Interaction Lab Sheet Lab Session 4 Media, Ink, & Deep Zoom CS3240 Lab SEM 1 2009/2010 Page 1 Overview In this lab, you will get familiarized with interactive media elements such
More informationComponentOne. HyperPanel for WPF
ComponentOne HyperPanel for WPF Copyright 1987-2012 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Internet:
More informationLecture # 6 Engr. Ali Javed 11th March, 2014
Lecture # 6 Engr. Ali Javed 11 th March, 2014 Instructor s Information Instructor: Engr. Ali Javed Assistant Professor Department of Software Engineering U.E.T Taxila Email: ali.javed@uettaxila.edu.pk
More informationCourse 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C3: Dice
1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C3: Dice Front face All faces CheckBoxes Camera sliders Corrugated faces Front face Copyright by V. Miszalok, last update: 2010-01-08 Guidance
More informationMy own Silverlight textbox
My own Silverlight textbox Step 1: create a new project I use the beta 2 of Visual Studio 2008 ( codename Orcas ) for this tutorial. http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx. You can download
More informationCourse 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: The complete code of Sphere
1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: The complete code of Sphere Preliminaries MainWindow.xaml MainWindow.xaml.cs Preliminaries Copyright by V. Miszalok, last update: 2010-01-08
More informationCS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration
CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration Page 1 Overview In this lab, users will get themselves familarise with fact that Expression Blend uses the identical
More informationStep4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox.
Name of Experiment: Display the Unicode for the key-board characters. Exp No:WP4 Background: Student should have a basic knowledge of C#. Summary: After going through this experiment, the student is aware
More informationLesson 9: Exercise: Tip Calculator
Lesson 9: Exercise: Tip Calculator In this lesson we ll build our first complete app, a Tip Calculator. It will help solve one of the fundamental problems that I have whenever I'm out to a restaurant,
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 informationCourse 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: Sphere
1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: Sphere Copyright by V. Miszalok, last update: 2010-01-08 Basic sphere Texture choice with RadioButtons Rotations Longitudes-, latitudes-
More informationChapter 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 informationNote: many examples in this section taken or adapted from Pro WPF 4.5 C#, Matthew MacDonald, apress, 2012, pp
COMP 585 Noteset #12 Note: many examples in this section taken or adapted from Pro WPF 4.5 C#, Matthew MacDonald, apress, 2012, pp. 46-48. WPF: More Code vs. Markup The apparently recommended way to use
More informationMicrosoft.BrainDump v by.Gabry.53q
Microsoft.BrainDump.70-511.v2012-10-03.by.Gabry.53q Number: 000-000 Passing Score: 800 Time Limit: 120 min File Version: 1.0 I corrected some questions in previous vce(provided by Pit). Exam A QUESTION
More informationArcGIS Pro SDK for.net: UI Design and MVVM
Esri Developer Summit March 8 11, 2016 Palm Springs, CA ArcGIS Pro SDK for.net: UI Design and MVVM Charlie Macleod, Wolf Kaiser Important Customization Patterns for the Pro SDK MVVM Hooking Pro Commands
More informationNE Fundamentals of XAML and Microsoft Expression Blend
NE-10553 Fundamentals of XAML and Microsoft Expression Blend Summary Duration 3 Days Audience Developers Level 200 Technology Microsoft Expression Blend Delivery Method Instructor-led (Classroom) Training
More informationExam Name: TS: Windows Applications Development with Microsoft.NET Framework 4
Vendor: Microsoft Exam Code: 70-511 Exam Name: TS: Windows Applications Development with Microsoft.NET Framework 4 Version: DEMO CSHARP QUESTION 1 You use Microsoft.NET Framework 4 to create a Windows
More informationMicrosoft Exam
Volume: 228 Questions Question No : 1 You use Microsoft.NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create
More informationIntroduction to Data Templates and Value Converters in Silverlight
Introduction to Data Templates and Value Converters in Silverlight An overview of Data Templates and Value Converters by JeremyBytes.com Overview Business applications are all about data, and laying out
More informationHands-On Lab. Hello Windows Phone
Hands-On Lab Hello Windows Phone Lab version: 1.1.0 Last updated: 12/8/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING WINDOWS PHONE APPLICATIONS WITH MICROSOFT VISUAL STUDIO 2010 EXPRESS FOR WINDOWS
More informationSeminar Internetdienste Thema: Silverlight
Seminar Internetdienste Thema: Silverlight Zlatko Filipovski zlatko.filipovski [AT] uni-ulm.de Wintersemestar 2007 Contents 1 Overall 2 1.1 Why was Silverlight created.. 2 1.2 Silverlight 1.0 (JavaScript)
More informationOverview Describe the structure of a Windows Forms application Introduce deployment over networks
Windows Forms Overview Describe the structure of a Windows Forms application application entry point forms components and controls Introduce deployment over networks 2 Windows Forms Windows Forms are classes
More informationWPF Graphics and Multimedia
csfp6_24_wpfgraphics.fm Page 1 Thursday, July 7, 2016 10:10 AM 24 WPF Graphics and Multimedia Objectives In this chapter you ll: Manipulate fonts. Draw basic WPF shapes. Use WPF brushes to customize the
More informationExam sell. Higher Quality Better Service! Certified IT practice exam authority.
Higher Quality Better Service! Exam sell Certified IT practice exam authority Accurate study guides, High passing rate! Exam Sell provides update free of charge in one year! http://www.examsell.com Exam
More informationCopyright Soyatec. Licensed under the Eclipse Public License 1.0
Contents Needs Architecture XAML fundamentals Data Binding Presentation Modeling Framework - MDA Advanced features Roadmap Testimony Q&A Needs Visual VisualUI UI Editor Editor Business Analyst UI UI Modeler
More informationMicrosoft CSharp
Microsoft 70-511-CSharp Windows Apps Dev Microsoft.NET Framework 4 Download Full Version : https://killexams.com/pass4sure/exam-detail/70-511-csharp QUESTION: 59 You are developing a Windows Presentation
More informationCPSC 481 Tutorial 4. Intro to Visual Studio and C#
CPSC 481 Tutorial 4 Intro to Visual Studio and C# Brennan Jones bdgjones@ucalgary.ca (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, and David Ledo) Announcements I emailed you an example
More information[MS10553]: Fundamentals of XAML and Microsoft Expression Blend
[MS10553]: Fundamentals of XAML and Microsoft Expression Blend Length : 3 Days Audience(s) : Developers Level : 200 Technology : Microsoft Expression Blend Delivery Method : Instructor-led (classroom)
More informationusing System.IO; using System.Collections.Generic; using System.Xml.Linq;
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Windows; using System.Windows.Controls;
More informationSkinning Manual v1.0. Skinning Example
Skinning Manual v1.0 Introduction Centroid Skinning, available in CNC11 v3.15 r24+ for Mill and Lathe, allows developers to create their own front-end or skin for their application. Skinning allows developers
More informationMicrosoft TS: Silverlight 4, Development. Practice Test. Version: QQ:
Microsoft 70-506 TS: Silverlight 4, Development Practice Test Version: 28.20 QUESTION NO: 1 You are developing a Silverlight 4 application. You handle the RightMouseButtonDown event of the applications
More informationComponentOne. Extended Library for UWP
ComponentOne Extended Library for UWP 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 informationRadPDFViewer For Silverlight and WPF
RadPDFViewer For Silverlight and WPF This tutorial will introduce the RadPDFViewer control, part of the Telerik suite of XAML controls Setting Up The Project To begin, open Visual Studio and click on the
More informationAccurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year!
IT TEST BOOK QUESTION & ANSWER Ittestbook provides update free of charge in one year! Accurate study guides, High passing rate! Exam : 070-506 Title : TS: Microsoft Silverlight 4, Development Version :
More informationUniversal Windows Platform Complete Solution
Universal Windows Platform Complete Solution Rahat Yasir Md. Shariful Islam Nibir Copyright 2016 By, Rahat Yasir rahat.anindo@live.com Md. Shariful Islam Nibir nibirsharif@outlook.com All rights reserved.
More informationCS3240 Human-Computer Interaction Lab Sheet Lab Session 2
CS3240 Human-Computer Interaction Lab Sheet Lab Session 2 Key Features of Silverlight Page 1 Overview In this lab, you will get familiarized with the key features of Silverlight, such as layout containers,
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 informationThis tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code.
About the Tutorial Every good developer wants and tries to create the most sophisticated applications to delight their users. Most of the times, developers achieve this on the first release of the application.
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 informationHands-On Lab. Sensors -.NET. Lab version: Last updated: 12/3/2010
Hands-On Lab Sensors -.NET Lab version: 1.0.0 Last updated: 12/3/2010 CONTENTS OVERVIEW... 3 EXERCISE 1: INTEGRATING THE SENSOR API INTO A WPF APPLICATION... 5 Task 1 Prepare a WPF Project for Sensor Integration...
More informationUsing Functions in Alice
Using Functions in Alice Step 1: Understanding Functions 1. Download the starting world that goes along with this tutorial. We will be using functions. A function in Alice is basically a question about
More informationSparkline for WPF 1. ComponentOne. Sparkline for WPF
Sparkline for WPF 1 ComponentOne Sparkline for WPF Sparkline for WPF 2 ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com
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 informationSilverlight Invaders Step 0: general overview The purpose of this tutorial is to create a small game like space invaders. The first thing we will do is set up the canvas of design some user controls (
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 informationvisual studio vs#d express windows desktop
Free software used in development 1. Visual studio express 2013 for desktop applications. Express versions are free without time limit, only thing you need is Microsoft account (but you can download and
More informationFundamentals of XAML and Microsoft Expression Blend
10553A - Version: 1 22 April 2018 Fundamentals of XAML and Microsoft Expression Blend Fundamentals of XAML and Microsoft Expression Blend 10553A - Version: 1 3 days Course Description: This 3-day course
More informationIAP C# Lecture 5 XAML and the Windows Presentation Foundation. Geza Kovacs
IAP C# Lecture 5 XAML and the Windows Presentation Foundation Geza Kovacs What is Windows Presentation Foundation (WPF)? A toolkit for building graphical user interfaces (GUI) for an application Ships
More informationInterface Builders and Interface Description Languages
Interface Builders and Interface Description Languages Interface Builders (IB) and Interface Description Languages (IDL) enable Drag and Drop construction of GUI's are part of man;y Visual Studio(2013)
More informationApplied WPF 4 in Context US $49.99 SOURCE CODE ONLINE
www.it-ebooks.info Contents at a Glance About the Author... xii About the Technical Reviewer... xiii Acknowledgments... xiv Introduction... xv Chapter 1: Introducing WPF and XAML... 1 Chapter 2: Sample
More informationMicrosoft Windows Apps Dev w/microsoft.net Framework 4. Download Full Version :
Microsoft 70-511 Windows Apps Dev w/microsoft.net Framework 4 Download Full Version : https://killexams.com/pass4sure/exam-detail/70-511 Answer: A, C QUESTION: 215 You develop a Windows Presentation Foundation
More informationwindows-10-universal #windows- 10-universal
windows-10-universal #windows- 10-universal Table of Contents About 1 Chapter 1: Getting started with windows-10-universal 2 Remarks 2 Examples 2 Installation or Setup 2 Creating a new project (C# / XAML)
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 informationArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins. Wolfgang Kaiser
ArcGIS Pro SDK for.net: Advanced User Interfaces in Add-ins Wolfgang Kaiser Framework Elements - Recap Any Framework Element is an extensibility point - Controls (Button, Tool, and variants) - Hosted on
More informationHands-On Lab. Using Pivot and Panorama Controls
Hands-On Lab Using Pivot and Panorama Controls Lab version: 1.0.0 Last updated: 12/8/2010 CONTENTS Overview... 3 Exercise 1: Introduction to Navigation in Windows Phone... 7 Task 1 Creating a Windows Phone
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 informationLAYOUT. Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon
LAYOUT Chapter 3 of Pro WPF : By Matthew MacDonald Assist Lect. Wadhah R. Baiee. College of IT Univ. of Babylon - 2014 Loading and Compiling XAML (See Codes in your Textbook) There are three distinct coding
More informationWeek 8: Data Binding Exercise (Bookstore)
BCIS 4650 Week 8: Data Binding Exercise (Bookstore) Page 1 of 6 Page 2 of 6 XAML CODE FOR MainPage.xaml
More informationMicrosoft Corporation
Microsoft Corporation http://www.jeff.wilcox.name/ 2 3 Display 480x800 QVGA Other resolutions in the future Capacitive touch 4+ contact points Sensors A-GPS, Accelerometer, Compass, Light Camera 5+ megapixels
More informationChapter 13. Additional Topics in Visual Basic The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill
Chapter 13 Additional Topics in Visual Basic McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Objectives Write Windows applications that run on mobile devices Display database information
More informationVideo Library: Silverlight 1.1 Case Example
28401c08online.qxd:WroxPro 9/12/07 9:29 PM Page 1 Video Library: Silverlight 1.1 Case Example For our Silverlight 1.1 example, we chose to port our Silverlight 1.0 example to 1.1. This provides a good
More informationThis book was purchased by
This book was purchased by arosner@rosnertech.com Table of Contents 1. Introduction and Tooling 2. Controls 3. Data Binding 4. Views 5. Local Data 6. Remote data and services 7. Charms and Contracts 8.
More informationWPF AND SILVERLIGHT RESOURCES
Appendix WPF AND SILVERLIGHT RESOURCES If you like what you have learned thus far and want to keep on developing in WPF and/or Silverlight, I suggest you keep this list of resources handy. You never know
More informationIn this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics.
Additional Controls, Scope, Random Numbers, and Graphics CS109 In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics. Combo
More informationResponding to the Mouse
Responding to the Mouse The mouse has two buttons: left and right. Each button can be depressed and can be released. Here, for reference are the definitions of three common terms for actions performed
More informationWindows Presentation Foundation for.net Developers
Telephone: 0208 942 5724 Email: info@aspecttraining.co.uk YOUR COURSE, YOUR WAY - MORE EFFECTIVE IT TRAINING Windows Presentation Foundation for.net Developers Duration: 5 days Overview: Aspect Training's
More informationWebAqua.NET 2.0 White Paper
WebAqua.NET 2.0 White Paper Table of Contents Overview... 3 Technology... 4 Silverlight 2.0... 4 ASP.NET... 6 Licensing and Deployment for Silverlight 2.0... 7 Runtime Licensing... 7 Deployment... 8 Design-time
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 informationName of Experiment: Country Database
Name of Experiment: Country Database Exp No: DB2 Background: Student should have basic knowledge of C#. Summary: Database Management is one of the key factors in any Mobile application development framework.
More informationLab 14: PowerPoint Part 2
Lab 14: PowerPoint Part 2 () CONTENTS 1 Background Layouts, Text formatting, Slides, Animation and Images... 1 1.1 In-Lab... Error! Bookmark not defined. 1.1.1 In-Lab Materials... Error! Bookmark not defined.
More informationWeek 7: NavigationView Control Exercise
BCIS 4650 Week 7: NavigationView Control Exercise BUILD THE UI FIRST (ALWAYS). ================================================================================================ 1. Start with a New Project
More informationInstant Silverlight 5 Animation
Instant Silverlight 5 Animation Enrich your web page or Silverlight business application with Silverlight animations Nick Polyak BIRMINGHAM - MUMBAI Instant Silverlight 5 Animation Copyright 2013 Packt
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 informationUsing Adobe Contribute 4 A guide for new website authors
Using Adobe Contribute 4 A guide for new website authors Adobe Contribute allows you to easily update websites without any knowledge of HTML. This handout will provide an introduction to Adobe Contribute
More informationClick on the empty form and apply the following options to the properties Windows.
Start New Project In Visual Studio Choose C# Windows Form Application Name it SpaceInvaders and Click OK. Click on the empty form and apply the following options to the properties Windows. This is the
More informationTutor Handbook for WebCT
Tutor Handbook for WebCT Contents Introduction...4 Getting started...5 Getting a course set up...5 Logging onto WebCT...5 The Homepage...6 Formatting and designing the Homepage...8 Changing text on the
More informationSilverlight 5 Using C#
Silverlight 5 Using C# Student Guide Revision 5.0 Object Innovations Course 4146 Silverlight 5 Using C# Rev. 5.0 Student Guide Information in this document is subject to change without notice. Companies,
More informationCreate a memory DC for double buffering
Animation Animation is implemented as follows: Create a memory DC for double buffering Every so many milliseconds, update the image in the memory DC to reflect the motion since the last update, and then
More informationCS 201 Advanced Object-Oriented Programming Lab 10 - Recursion Due: April 21/22, 11:30 PM
CS 201 Advanced Object-Oriented Programming Lab 10 - Recursion Due: April 21/22, 11:30 PM Introduction to the Assignment In this assignment, you will get practice with recursion. There are three parts
More information