Master Code on Innovation and Inclusion

Size: px
Start display at page:

Download "Master Code on Innovation and Inclusion"

Transcription

1 Microsoft x HKEdCity: Master Code on Innovation and Inclusion Train-the-Trainers Workshop Writing Applications in C# with Visual Studio

2 Content I. Getting the Tools Ready... 3 II. Getting Started with XAML - RelativePanel... 4 III. Insert a New Page and Design with Grid IV. Challenge Time UI Design V. Using C# to Make the Application Interactive VI. Challenge Time C# Implementation VII. Connecting Your Application with Database VIII. Next Steps Forward... 28

3 I. Getting the Tools Ready Windows 10 OS A Windows 10 OS would enable you to develop the latest form of applications on Windows, Universal Windows App (UWP Apps), that can be deployed on Windows phone, tablet, PC, Xbox One and more interesting, on HoloLens. Visual Studio 2015 Community Visual Studio is the classic and standard tool for building applications in C#, from the traditional ones such as WPF application to what we called UWP apps nowadays. Visual Studio also came along with a designer view tool named Blend for Visual Studio. It provides an easier touch on Visual Design for your application. Now you can download Visual Studio 2015 Community for free here: To ensure your computer s capability to develop the latest form of application on Windows, you have to install the right SDK by choosing custom install on the installer.

4 II. Getting Started with XAML - RelativePanel XAML XAML is a dedicated language used for UI of Windows-based applications. It can be seen as a language similar to HTML. A common format of a line of XAML code would be like this: <Object Property= Value >Content</Object> Example: <Textbox FontSize= 50 Foreground= Blue >Hello</Textbox> Although we are going to use Blend for Visual Studio to create the application, which allows developers to use drag-and-drop to create a User Interface, it is still important to understand the code as sometimes editing the code could be more efficient than crafting in the design view. Blend for Visual Studio Search Blend for Visual Studio in the search bar besides the start button. Then open the software. After opening it you may click New Project to kick-start your application design. Click New Project

5 Choose Blank App (Universal Windows) as the project type. Name the project as CodeForGood, then click OK to start building the template for your project. After the project template is generated, you shall see the blank area which is the design view of your current application. Click on the white area

6 The first thing that you may work on is to change the background color of the application. Inside the Property window, you can browse click Background and choose the way that you like to color the background, be it a solid one or a gradient one. Properties Window Other than using default colors or pattern as the background, you can indeed insert your own pictures into the project with a few steps below: 1. On Solution Explorer window, right-click at the Assets folder 2. Choose Open Folder in File Explorer

7 3. Copy and paste the images which you like to add into the folder through File Explorer 4. Back to Visual Studio, expand the Assets folder and click the Show all files icon on the Solution Explorer task bar. Right-click on the newly added pictures and select Include in Project Show all files Include in Project

8 5. Now, you can choose your own picture from the imagesource button in the Property window for background. Choose your own background With background settled, we can move on to adding more elements into the applications such as some buttons and display text. They can be browsed through the element assets, and use drag-and-drop method to apply on your application. Click the arrow button

9 Try to create a TextBlock which is used to display text to users, then edit the property such as font size, foreground and text content in the Property window. Remember to give a name to the object too: Title

10 Now, try to create two more buttons on the application too, with button text set as Start and About respectively. Name the two buttons as Start_Button and About_Button. You may as well make use of the Layout property to position the text and buttons better. Position the object with Alignment and Margin

11 III. Insert a New Page and Design with Grid Add New Item in a Project To add a new blank page for your project, you can right-click on your project name, then choose Add and click New Item Add new item Then choose Blank Page and name the project as FunctionPage

12 With another new User Interface, another thing that we would like to explore is the default app bar that Visual Studio is able to provide to you. On the Object and Timeline window (or press Ctrl+Alt+T), you can right-click on the TopAppBar and choose Add CommandeBar. Right-click TopAppBar And very soon you see a bar with some buttons appeared there, which you can edit their properties through the Property window Change the symbol here

13 Now we would touch on the part where coding is required. In the middle bottom of the Window, you shall see a tab that says Design and XAML. Clicking on XAML will provide you a new window with a bunch of code. XAML tab for coding Grid is like a creating table in Excel. You should be able customize the number of rows and columns that you would need. With rows and columns defined, a big grid will become many smaller grids. Afterwards, you can use those areas defined to place different objects in different places. A normal way to define rows and columns inside a grid is illustrated below: <Grid x:name="controlpad" Background="White"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="1*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="2.5*"/> <RowDefinition Height="2.5*"/> </Grid.RowDefinitions> </Grid>

14 With the code above implemented, you will have a 3x3 Grid area. You may have observed there are * behind the numbers of the width/height definition. What it means here is, with * putting behind the number, the length of that side would be adjust in a ratio assignment. Hence the 3 rows created previously will be assigned with height equal to a 1:2.5:2.5 ratio. This would enable your app interface to become more dynamic. Auto on the otherhand, means the length of that side of the grid will be expanded along with the content placed inside. Hence, the more content that you place into a grid assigned with Auto width/height, the more area it will conquer in the app interface, vice versa. While locating the grid area, below is a reference map for the code generated above: Grid.Row= 0 Grid.Column= 0 Grid.Row= 0 Grid.Column= 1 Grid.Row= 0 Grid.Column= 2 Grid.Row= 1 Grid.Column= 0 Grid.Row= 1 Grid.Column= 1 Grid.Row= 1 Grid.Column= 2 Grid.Row= 2 Grid.Column= 0 Grid.Row= 2 Grid.Column= 1 Grid.Row= 2 Grid.Column= 2 In XAML, index calculation starts from 0. For example, if you want to call out the very middle grid, you need the code below: <Grid Grid.Row = 1 Grid.Column= 1 > <TextBlock x:name= Testing /> </Grid>

15 What s more interesting is, you can use RowDefinition / ColumnDefinition inside a smaller grid like below: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="1*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="2.5*"/> <RowDefinition Height="2.5*"/> </Grid.RowDefinitions> <Grid Grid.Row = 1 Grid.Column= 1 > <Grid.ColumnDefinitions> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="1*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> </Grid> </Grid> The above code would result in the grid below: Grid.Row= 0 Grid.Column= 0 Grid.Row= 0 Grid.Column= 1 Grid.Row= 0 Grid.Column= 2 Grid.Row= 1 Grid.Column= 0 Grid.Row= 0 Grid.Column= 0 Grid.Row= 1 Grid.Column= 0 Grid.Row= 0 Grid.Column= 1 Grid.Row= 1 Grid.Column= 1 Grid.Row= 1 Grid.Column= 2 Grid.Row= 2 Grid.Column= 0 Grid.Row= 2 Grid.Column= 1 Grid.Row= 2 Grid.Column= 2

16 Now back at the project, try to insert the below code inside the <Grid></Grid>: <Grid.RowDefinitions> <RowDefinition Height="0.5*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> </Grid.RowDefinitions> The above basically cut the app into 4 horizontal areas. The integration of the code should look like below:

17 cc You can then start dragging buttons and textboxes inside these areas. First thing to suggest though, you can actually place a RelativePanel inside one of any grids. It can greatly help you position your objects with such implementation. For Grid.Row=1, you may try to add the below code: <Grid Grid.Row="1"> <RelativePanel> </RelativePanel> </Grid> Then back to the Design view, further add one more TextBlock named as NameQuestion and one TextBox named as NameInput inside the second row of Grid (specified in the below picture). RelativePanel property Specify the Object that you want the current object to be placed above Alignment within the grid As you might have observed, after placing objects inside a relative panel, you can actually, use other objects to configure a relative positioning for the object that you intend to build. Other than using other objects for relative positioning, you can as well use the whole area of the RelativePanel to do positioning such as aligning the object in the center horizontally.

18 IV. Challenge Time UI Design Now try to build the following with what you have just learnt 1. FunctionPage Add a textblock below the app bar describing the situation in Grid.Row=0 Add a textblock and 2 buttons for user to choose the gender in Grid.Row=2 When user choose one of the gender, there should be a boundary in another color indicating the choice the user has chosen Add a Button in Grid.Row=3 for user to proceed to the question part 2. Playground Add another Blank Page named Playground Devide the pages into 3 rows of grid Add TextBlocks that display some messages to the user plus an image file to simulate the character Add a question through TextBlock in Grid.Row=1 Add 4 answer buttons plus a submit button in Grid.Row=2 Reference Images:

19 V. Using C# to Make the Application Interactive With buttons, texboxes and pages created, now we lack a series of C# code to make these pages actually communicative. Now let s go back to MainPage.xaml to start adding functions into the app. Click & Event To ensure a button would trigger a event, you may first click on the Start_Button, then further click on the Thunder icon in the property Window. Next, give a name of the event besides the Click property such as Start_Button_Click. Provide a name for the event Event handler button that looks like a thunder After that, press Enter on that row with your keyboard, then Visual Studio will bring you to another page named MainPage.xaml.cs directly.

20 Add the line of code to direct user from one page to another within private void Start_Button_Click(object sender, RoutedEventArgs e) illustrated below private void Start_Button_Click(object sender, RoutedEventArgs e) this.frame.navigate(typeof(functionpage)); private void Start_Button_Click(object sender, RoutedEventArgs e) is an event that enables what inside it are to be triggered after clicking the Start_Button. this.frame.navigate(typeof(pagename)); is the code that we would use to navigate user from one page to another. PageName here simply means the name of the page you would like to direct the user to. Now click on the little green triangle, which is the debug/release button that can help you to test the app against real environment. After launch, you shall be able to use the Start_Button to go to the next page. After debugging you should see tha app screen like this

21 Content Dialog You may as well use dialog box to interact with users for instruction or minor messages. Inside MainPage.xaml, add another Click property for the About_Button. Then try to add the below code inside public sealed partial class MainPage : Page in MainPage.xaml.cs: private async void About_Button_Click(object sender, RoutedEventArgs e) ContentDialog about = new ContentDialog(); about.title = "About"; about.content = "This app is developed by Microsoft Hong Kong Limited"; about.primarybuttontext = "OK"; await about.showasync(); Defining Variables and Collecting Data Inputted by User Inside FunctionPage.xaml.cs, add the below line above public FunctionPage() to add an object called name which would store data that belong to the string datatype (mix of characters, symbols and numbers) public static string name; To capture the user s input in the NameInput Textbox, you may use the below code: name = NameInput.Text;

22 Hence, the string name will capture whatever values the user key in the textbox. The difference between using public and private is on the fact that whether you want the data collected in the variables being carried over throughout the whole application or just to keep within the same page. After captured NameInput.Text in the FunctionPage as name inside public Playground(), you can then use it in the Playground page like: HelloMsg.Text = "Hello, " + FunctionPage.name;

23 If-statement If-statement is very useful in helping you to control the user s behavier in your application. For exmaple, if the user didn t input any value in the NameInput TextBox in FunctionPage and click I m Ready, you should actually stop user from advancing with code like below: private async void ProceedButton_Click(object sender, RoutedEventArgs e) name = NameInput.Text; if (string.isnullorempty(name)) ContentDialog Reminder = new ContentDialog(); Reminder.Title = "Reminder"; Reminder.Content = "Please check if you have inserted your name and selected the gender"; Reminder.PrimaryButtonText = "OK"; await Reminder.ShowAsync(); else this.frame.navigate(typeof(playground)); The format of using if-statement is: if(condition satisfied)take actions or if(condition satisfied) take some actions else if (another condition satisfied) take other actions

24 VI. Challenge Time C# Implementation Now try to build the following with what you have just learnt 1. FunctionPage Capture user s gender Upon clicking the button I m Ready, the user will be directed to the Playground page 2. Playground Display Boy/Girl image according to the user s input in the previous page on gender Enable user to see what answer they have chosen with visual effect Capture the answer the user has chosen with string Assign different scores to different answer Reference Image:

25 VII. Connecting Your Application with Database Although Visual Studio is a product from Microsoft, while you can actually integrate the application solution with products beyond Microsoft. For this demo application, you can actually connect it with MySQL database. Before that, you will need extension on refefrence in this project: Download here: Add two new items in this project while this time we choose Class instead of BlankPage, namely GetData and ShowData GetData.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeForGood public class GetData public string name get; set; public int score get; set; public GetData(string whatname, int whatscore) name = whatname; score = whatscore;

26 ShowData.cs (code continue in next page) using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeForGood public class ShowData private static ShowData _showdata = new ShowData(); private ObservableCollection<GetData> _alldata = new ObservableCollection<GetData>(); public ObservableCollection<GetData> AllData get return _showdata._alldata; public IEnumerable<GetData> GetData() try using (MySqlConnection connection = new MySqlConnection( ConnectionString to be inserted here connection.open(); MySqlCommand getcommand = connection.createcommand(); getcommand.commandtext = "SELECT UserName, UserScore FROM userdetails ORDER BY UserScore"; using (MySqlDataReader reader = getcommand.executereader()) while (reader.read()) _showdata._alldata.add (new GetData(reader.GetString("UserName"), reader.getint32("userscore"))); catch (MySqlException) // Handle it <span class="wp-smiley wp-emoji wp-emoji-smile" title=":)">:)</span> return _showdata.alldata; public bool InsertNewData(string whatname, int whatscore) GetData newgetdata = new GetData(whatname, whatscore); // Insert to the collection and update DB try

27 using (MySqlConnection connection = new MySqlConnection( ConnectionString to be inserted here )) connection.open(); MySqlCommand insertcommand = connection.createcommand(); insertcommand.commandtext = "INSERT INTO userdetails(username, insertcommand.parameters.addwithvalue("@name", newgetdata.name); insertcommand.parameters.addwithvalue("@score", newgetdata.score); insertcommand.executenonquery(); _showdata._alldata.add(newgetdata); return true; catch (MySqlException) // Don't forget to handle it return false; public ShowData() In the above, replace the line with ConnectionString to be inserted here with below: "Database=code4good;Data Source=ap-cdbr-azure-southeast-b.cloudapp.net;User Id=bafa5843bcae70;Password=a3ef7582;SslMode=None" Finally, add the below line of code for the Submit_Button: pp.show_data.insertnewdata(codeforgood.functionpage.name, AccuScore); For now, the user s name and score will be send to your MySQL Database

28 VIII. Next Steps Forward There are still more things that you can work on to make this project more meaningful: 1. Retrieve Data from the Database Leverage on what we have built in the ShowData.cs, may potentially create a leaderboard to enable users to compare their ranking and understand how strong they are 2. VisualState in XAML VisualState is a new method that you can call on XAML to enable you to design an application on Windows with responsive interface You may try to implement the code below in the FunctionPage of the app: <VisualStateManager.VisualStateGroups> <VisualStateGroup x:name="visualstategroup"> <VisualState x:name="visualstate"> <VisualState.StateTriggers> <AdaptiveTrigger MinWindowWidth="1200"/> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="FemaleButton.Width" Value="400"/> <Setter Target="FemaleChosen.Width" Value="420"/> <Setter Target="MaleButton.Width" Value="400"/> <Setter Target="MaleChosen.Width" Value="420"/> </VisualState.Setters> </VisualState> <VisualState x:name="visualstate1"> <VisualState.StateTriggers> <AdaptiveTrigger MinWindowWidth="0"/> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="FemaleButton.Width" Value="180"/> <Setter Target="FemaleChosen.Width" Value="200"/> <Setter Target="MaleButton.Width" Value="180"/> <Setter Target="MaleChosen.Width" Value="200"/> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> 3. Windows 10 IoT Core With use of Windows 10 IoT support on Raspberry Pi, may create applications that have physical content in real life for user to interact. Learn more: windowsondevice.com 4. Xamarin With use of Xamarin, you can actually replicate the code to further export the application to Android and ios platform. Learn more: xamarin.com

windows-10-universal #windows- 10-universal

windows-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 information

Week 7: NavigationView Control Exercise

Week 7: NavigationView Control Exercise BCIS 4650 Week 7: NavigationView Control Exercise BUILD THE UI FIRST (ALWAYS). ================================================================================================ 1. Start with a New Project

More information

Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver

Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver Windows 10 UWP Hands on Lab Lab 2: Note: This demo app created for this lab uses the Visual Studio 2015 RTM and Windows Tools SDK ver 10240. 1. Select the Models folder and bring up the popup menu and

More information

CPSC Tutorial 5

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 information

Week 6: First XAML Control Exercise

Week 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 information

CPSC Tutorial 5 WPF Applications

CPSC 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 information

WebFront for Service Manager

WebFront for Service Manager WebFront for Service Manager Authoring Guide Gridpro AB Rev: 2.10.6513 (System Center 2012) & 3.0.6513 (System Center 2016) Published: November 2017 Contents Purpose... 3 Introduction... 3 Limitations...

More information

Authoring Guide Gridpro AB Rev: Published: March 2014

Authoring Guide Gridpro AB Rev: Published: March 2014 Authoring Guide Gridpro AB Rev: 2.5.5197 Published: March 2014 Contents Purpose... 3 Introduction... 3 Limitations... 3 Prerequisites... 3 Customizing Forms... 4 Launching the Customization Editor... 4

More information

Building Responsive Apps for Windows 10 Greg Lutz. GrapeCity

Building Responsive Apps for Windows 10 Greg Lutz. GrapeCity Building Responsive Apps for Windows 10 Greg Lutz GrapeCity Responsive Design == Adaptive UI The goal of adaptive UI is to adapt its layout to the needs of the user. In our case Adaptive UI will mean adaption

More information

Authoring Guide v2.1 PATRIK SUNDQVIST

Authoring Guide v2.1 PATRIK SUNDQVIST 2012 Authoring Guide v2.1 PATRIK SUNDQVIST Purpose The purpose of this document is to provide assistance when customizing WebFront for Service Manager 2012. 1 TABLE OF CONTENTS 2 Introduction... 2 3 Limitations...

More information

CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS

CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS CHANNEL9 S WINDOWS PHONE 8.1 DEVELOPMENT FOR ABSOLUTE BEGINNERS Full Text Version of the Video Series Published April, 2014 Bob Tabor http://www.learnvisualstudio.net Contents Introduction... 2 Lesson

More information

sharpcorner.com/uploadfile/37db1d/4958/default.aspx?articleid=cb0b291c-52ae-4b80-a95c- 438d76fa1145

sharpcorner.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 information

RadPDFViewer For Silverlight and WPF

RadPDFViewer 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 information

Portable Class Libraries ---

Portable Class Libraries --- Portable Class Libraries --- Overview In this lab, you ll learn about Portable Class Libraries (PCLs). PCLs enable you to create managed assemblies that work on more than one.net Framework platform. Within

More information

Step4: Now, Drag and drop the Textbox, Button and Text block from the Toolbox.

Step4: 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 information

Hands-On Lab. Hello Windows Phone

Hands-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 information

ArcGIS Pro SDK for.net UI Design for Accessibility. Charles Macleod

ArcGIS Pro SDK for.net UI Design for Accessibility. Charles Macleod ArcGIS Pro SDK for.net UI Design for Accessibility Charles Macleod Overview Styling - Light, Dark, High Contrast Accessibility Custom Styling* Add-in Styling Since1.4: Light and Dark Theme and High Contrast

More information

Name of Experiment: Country Database

Name 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 information

This walkthrough assumes you have completed the Getting Started walkthrough and the first lift and shift walkthrough.

This walkthrough assumes you have completed the Getting Started walkthrough and the first lift and shift walkthrough. Azure Developer Immersion In this walkthrough, you are going to put the web API presented by the rgroup app into an Azure API App. Doing this will enable the use of an authentication model which can support

More information

Lesson 9: Exercise: Tip Calculator

Lesson 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 information

Where s the difference?

Where s the difference? NET Where s the difference? Classic App Modern App Installed from anywhere Does anything during installation/update/deinstallation. Can access the whole system during runtime. Can run as admin. No-Supsend-Lifecycle

More information

Yes, this is still a listbox!

Yes, 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 information

CS3240 Human-Computer Interaction Lab Sheet Lab Session 3 Designer & Developer Collaboration

CS3240 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 information

Name of Experiment: Student Database

Name of Experiment: Student Database Name of Experiment: Student Database Exp No: DB1 Background: Student should have basic knowledge of C#. Summary: DBMS is a necessary requirement for any Mobile Application. We need to store and retrieve

More information

Introduction to Data Templates and Value Converters in Silverlight

Introduction 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 information

WRITING THE MANAGEMENT SYSTEM APPLICATION

WRITING THE MANAGEMENT SYSTEM APPLICATION Chapter 10 WRITING THE MANAGEMENT SYSTEM APPLICATION We are going to write an application which will read and evaluate the data coming from our Arduino card reader application. We are going to make this

More information

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Contents Create your First Test... 3 Standalone Web Test... 3 Standalone WPF Test... 6 Standalone Silverlight Test... 8 Visual Studio Plug-In

More information

Lesson 10: Exercise: Tip Calculator as a Universal App

Lesson 10: Exercise: Tip Calculator as a Universal App Lesson 10: Exercise: Tip Calculator as a Universal App In this lesson we're going to take the work that we did in the previous lesson and translate it into a Universal App, which will allow us to distribute

More information

Week 8: Data Binding Exercise (Bookstore)

Week 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 information

User Interface Changes for SYSPRO

User Interface Changes for SYSPRO User Interface Changes for SYSPRO User Interface Changes for SYSPRO 7 3 Table of Contents Introduction... 4 User Interface Themes and Preferences... 4 Changes to the main menu in SYSPRO... 11 Conversion

More information

ComponentOne. Extended Library for UWP

ComponentOne. 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 information

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer C# Tutorial Create a Motivational Quotes Viewer Application in Visual Studio In this tutorial we will create a fun little application for Microsoft Windows using Visual Studio. You can use any version

More information

Programming in C# Project 1:

Programming 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 information

The finished application DEMO ios-specific C# Android-specific C# Windows-specific C# Objective-C in XCode Java in Android Studio C# Shared Logic C# in Visual Studio ios codebase Android codebase Windows

More information

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year! EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 70-357 Title : Developing Mobile Apps Version :

More information

Working with Tables in Word 2010

Working with Tables in Word 2010 Working with Tables in Word 2010 Table of Contents INSERT OR CREATE A TABLE... 2 USE TABLE TEMPLATES (QUICK TABLES)... 2 USE THE TABLE MENU... 2 USE THE INSERT TABLE COMMAND... 2 KNOW YOUR AUTOFIT OPTIONS...

More information

Developing Native Windows Phone 7 Applications for SharePoint

Developing Native Windows Phone 7 Applications for SharePoint Developing Native Windows Phone 7 Applications for SharePoint Steve Pietrek Cardinal Solutions About Cardinal OUR FOCUS: Enterprise Rich Internet Applications Mobile Solutions Portals & Collaboration Business

More information

Developing Mobile Apps (357)

Developing Mobile Apps (357) Developing Mobile Apps (357) Develop a XAML page layout for an adaptive UI Construct a page layout Configure a RelativePanel layout; select the appropriate XAML layout panel based on the UI requirement;

More information

CS3240 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 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 information

Survey Creation Workflow These are the high level steps that are followed to successfully create and deploy a new survey:

Survey Creation Workflow These are the high level steps that are followed to successfully create and deploy a new survey: Overview of Survey Administration The first thing you see when you open up your browser to the Ultimate Survey Software is the Login Page. You will find that you see three icons at the top of the page,

More information

Integration with AppBar

Integration with AppBar Integration with AppBar Content first principle is highly recommended to be followed when developing an application for Windows 8. You can also allow users of your application to focus on the content.

More information

-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1.

-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1. -Using Excel- Note: The version of Excel that you are using might vary slightly from this handout. This is for Office 2004 (Mac). If you are using a different version, while things may look slightly different,

More information

MICROSOFT POWERPOINT BASIC WORKBOOK. Empower and invest in yourself

MICROSOFT POWERPOINT BASIC WORKBOOK. Empower and invest in yourself MICROSOFT POWERPOINT BASIC WORKBOOK Empower and invest in yourself 2 Workbook Microsoft PowerPoint Basic onlineacademy.co.za MODULE 01 GETTING STARTED WITH POWERPOINT 1. Launch a blank PowerPoint presentation.

More information

CPSC 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 (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 information

Migrating to Windows Phone

Migrating to Windows Phone BOOKS FOR PROFESSIONALS BY PROFESSIONALS Liberty Blankenburg RELATED Migrating to Windows Phone Upgrade your existing programming knowledge and begin developing for the Windows Phone with Migrating to

More information

We 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.

We 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 information

Forms/Distribution Acrobat X Professional. Using the Forms Wizard

Forms/Distribution Acrobat X Professional. Using the Forms Wizard Forms/Distribution Acrobat X Professional Acrobat is becoming a standard tool for people and businesses to use in order to replicate forms and have them available electronically. If a form is converted

More information

REACH SCREEN SYSTEMS. System Support Manual. User manual for operating the REACH Announcement Tool, Scheduling Tool, and Touch Screen Systems.

REACH SCREEN SYSTEMS. System Support Manual. User manual for operating the REACH Announcement Tool, Scheduling Tool, and Touch Screen Systems. REACH SCREEN SYSTEMS System Support Manual User manual for operating the REACH Announcement Tool, Scheduling Tool, and Touch Screen Systems. Table of Contents REACH Announcement Tool... 4 Overview... 4

More information

SAMPLE CHAPTER. C# and XAML. Pete Brown MANNING

SAMPLE CHAPTER. C# and XAML. Pete Brown MANNING SAMPLE CHAPTER C# and XAML Pete Brown MANNING Windows Store App Development by Pete Brown Chapter 18 Copyright 2013 Manning Publications brief contents 1 Hello, Modern Windows 1 2 The Modern UI 19 3 The

More information

Creating Interactive PDF Forms

Creating Interactive PDF Forms Creating Interactive PDF Forms Using Adobe Acrobat X Pro for the Mac University Information Technology Services Training, Outreach, Learning Technologies and Video Production Copyright 2012 KSU Department

More information

BusinessObjects Frequently Asked Questions

BusinessObjects Frequently Asked Questions BusinessObjects Frequently Asked Questions Contents Is there a quick way of printing together several reports from the same document?... 2 Is there a way of controlling the text wrap of a cell?... 2 How

More information

Sample A2J Guided Interview & HotDocs Template Exercise

Sample A2J Guided Interview & HotDocs Template Exercise Sample A2J Guided Interview & HotDocs Template Exercise HotDocs Template We are going to create this template in HotDocs. You can find the Word document to start with here. Figure 1: Form to automate Converting

More information

9 POINTS TO A GOOD LINE GRAPH

9 POINTS TO A GOOD LINE GRAPH NAME: PD: DATE: 9 POINTS TO A GOOD LINE GRAPH - 2013 1. Independent Variable on the HORIZONTAL (X) AXIS RANGE DIVIDED BY SPACES and round up to nearest usable number to spread out across the paper. LABELED

More information

Advanced Programming C# Lecture 3. dr inż. Małgorzata Janik

Advanced 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 information

MAKING TABLES WITH WORD BASIC INSTRUCTIONS. Setting the Page Orientation. Inserting the Basic Table. Daily Schedule

MAKING TABLES WITH WORD BASIC INSTRUCTIONS. Setting the Page Orientation. Inserting the Basic Table. Daily Schedule MAKING TABLES WITH WORD BASIC INSTRUCTIONS Setting the Page Orientation Once in word, decide if you want your paper to print vertically (the normal way, called portrait) or horizontally (called landscape)

More information

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide

ArtOfTest Inc. Automation Design Canvas 2.0 Beta Quick-Start Guide Automation Design Canvas 2.0 Beta Quick-Start Guide Contents Creating and Running Your First Test... 3 Adding Quick Verification Steps... 10 Creating Advanced Test Verifications... 13 Creating a Data Driven

More information

Define the Slide Animation Direction on the deck control.

Define the Slide Animation Direction on the deck control. IBM Cognos Report Studio: Author Active Reports allows students to build on their Report Studio experience by using active report controls to build highly interactive reports that can be consumed by users.

More information

Tutorial 3 - Welcome Application

Tutorial 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 information

Label Design Program Label Artist-II Manual Rev. 1.01

Label Design Program Label Artist-II Manual Rev. 1.01 Label Design Program Label Artist-II Manual Rev. 1.01 http://www.bixolon.com Contents 1. Introduction... 2 2. Supported Operating Systems... 2 3. Features... 3 3-1 Menu... 3 3-1-1 New... 3 3-1-2

More information

Note: many examples in this section taken or adapted from Pro WPF 4.5 C#, Matthew MacDonald, apress, 2012, pp

Note: 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 information

Creating Page Layouts 25 min

Creating Page Layouts 25 min 1 of 10 09/11/2011 19:08 Home > Design Tips > Creating Page Layouts Creating Page Layouts 25 min Effective document design depends on a clear visual structure that conveys and complements the main message.

More information

Lab 7: Silverlight API

Lab 7: Silverlight API Lab 7: Silverlight API Due Date: 02/07/2014 Overview Microsoft Silverlight is a development platform for creating engaging, interactive user experiences for Web, desktop, and mobile applications when online

More information

RadGanttView For Silverlight and WPF

RadGanttView For Silverlight and WPF RadGanttView For Silverlight and WPF This tutorial will introduce RadGanttView, part of the Telerik suite of XAML controls. Setting Up The Project To begin, open Visual Studio and click on the Telerik

More information

Nauticom NetEditor: A How-to Guide

Nauticom NetEditor: A How-to Guide Nauticom NetEditor: A How-to Guide Table of Contents 1. Getting Started 2. The Editor Full Screen Preview Search Check Spelling Clipboard: Cut, Copy, and Paste Undo / Redo Foreground Color Background Color

More information

Book 5. Chapter 1: Slides with SmartArt & Pictures... 1 Working with SmartArt Formatting Pictures Adjust Group Buttons Picture Styles Group Buttons

Book 5. Chapter 1: Slides with SmartArt & Pictures... 1 Working with SmartArt Formatting Pictures Adjust Group Buttons Picture Styles Group Buttons Chapter 1: Slides with SmartArt & Pictures... 1 Working with SmartArt Formatting Pictures Adjust Group Buttons Picture Styles Group Buttons Chapter 2: Slides with Charts & Shapes... 12 Working with Charts

More information

CS3240 Human-Computer Interaction

CS3240 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 information

StitchGraph User Guide V1.8

StitchGraph User Guide V1.8 StitchGraph User Guide V1.8 Thanks for buying StitchGraph: the easy way to create stitch layouts for hardanger and other complex embroidery stitch types. StitchGraph is intended to allow you to create

More information

1.1 Why Foxit MobilePDF SDK is your choice Foxit MobilePDF SDK Key Features of Foxit PDF SDK for UWP Evaluation...

1.1 Why Foxit MobilePDF SDK is your choice Foxit MobilePDF SDK Key Features of Foxit PDF SDK for UWP Evaluation... TABLE OF CONTENTS 1 Introduction to Foxit MobilePDF SDK...1 1.1 Why Foxit MobilePDF SDK is your choice... 1 1.2 Foxit MobilePDF SDK... 2 1.3 Key Features of Foxit PDF SDK for UWP... 3 1.4 Evaluation...

More information

Lesson 15 Working with Tables

Lesson 15 Working with Tables Working with Tables Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition 1 Objectives Create a table and insert text. Insert and delete rows and columns. Adjust column width and row height.

More information

The Dreamweaver Interface

The Dreamweaver Interface The Dreamweaver Interface Let s take a moment to discuss the different areas of the Dreamweaver screen. The Document Window The Document Window shows you the current document. This is where you are going

More information

Collaborate in Qlik Sense. Qlik Sense February 2018 Copyright QlikTech International AB. All rights reserved.

Collaborate in Qlik Sense. Qlik Sense February 2018 Copyright QlikTech International AB. All rights reserved. Collaborate in Qlik Sense Qlik Sense February 2018 Copyright 1993-2018 QlikTech International AB. All rights reserved. Copyright 1993-2018 QlikTech International AB. All rights reserved. Qlik, QlikTech,

More information

Software User's Guide

Software User's Guide Software User's Guide The contents of this guide and the specifications of this product are subject to change without notice. Brother reserves the right to make changes without notice in the specifications

More information

CounselLink Reporting. Designer

CounselLink Reporting. Designer CounselLink Reporting Designer Contents Overview... 1 Introduction to the Document Editor... 2 Create a new document:... 2 Document Templates... 3 Datasets... 3 Document Structure... 3 Layout Area... 4

More information

This is the empty form we will be working with in this game. Look under the properties window and find the following and change them.

This is the empty form we will be working with in this game. Look under the properties window and find the following and change them. We are working on Visual Studio 2010 but this project can be remade in any other version of visual studio. Start a new project in Visual Studio, make this a C# Windows Form Application and name it zombieshooter.

More information

SCRIPT REFERENCE. UBot Studio Version 4. The UI Commands

SCRIPT REFERENCE. UBot Studio Version 4. The UI Commands SCRIPT REFERENCE UBot Studio Version 4 The UI Commands UI Text Box This command creates a field in the UI area at the top of the browser. Drag the command from the toolbox into the scripting area. In the

More information

Microsoft FrontPage. An Introduction to. Lecture No.1. Date: April Instructor: Mr. Mustafa Babagil. Prepared By: Nima Hashemian

Microsoft FrontPage. An Introduction to. Lecture No.1. Date: April Instructor: Mr. Mustafa Babagil. Prepared By: Nima Hashemian An Introduction to Microsoft FrontPage Lecture No.1 Date: April 20. 2007 Instructor: Mr. Mustafa Babagil Prepared By: Nima Hashemian 2006 An Introduction to FrontPage Mathematics Department Eastern Mediterranean

More information

PowerPoint 2007 Cheat Sheet

PowerPoint 2007 Cheat Sheet ellen@ellenfinkelstein.com 515-989-1832 PowerPoint 2007 Cheat Sheet Contents Templates and Themes... 2 Apply a corporate template or theme... 2 Format the slide master... 2 Work with layouts... 3 Edit

More information

Software User's Guide

Software User's Guide Software User's Guide The contents of this guide and the specifications of this product are subject to change without notice. Brother reserves the right to make changes without notice in the specifications

More information

Revision August 2016

Revision August 2016 Revision 1.1.4 August 2016 Contents Introduction...3 What's New...4 Managing Recordings...6 The Recorder View...7 Sharing...10 Notifications...12 Home Screen Widget...13 Tablet Support...14 Settings...15

More information

Goldfish 4. Quick Start Tutorial

Goldfish 4. Quick Start Tutorial Goldfish 4 Quick Start Tutorial A Big Thank You to Tobias Schilpp 2018 Fishbeam Software Text, Graphics: Yves Pellot Proofread, Photos: Tobias Schilpp Publish Code: #180926 www.fishbeam.com Get to know

More information

Lesson 15 Working with Tables

Lesson 15 Working with Tables Working with Tables Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition 1 Objectives Create a table and insert text. Insert and delete rows and columns. Adjust column width and row height.

More information

How to Make a Poster Using PowerPoint

How to Make a Poster Using PowerPoint How to Make a Poster Using PowerPoint 1997 2010 Start PowerPoint: Make a New presentation a blank one. When asked for a Layout, choose a blank one one without anything even a title. Choose the Size of

More information

Dreamweaver Tutorial #2

Dreamweaver Tutorial #2 Dreamweaver Tutorial #2 My web page II In this tutorial you will learn: how to use more advanced features for your web pages in Dreamweaver what Cascading Style Sheets (CSS) are and how to use these in

More information

Revision December 2018

Revision December 2018 Revision 2.0.6 December 2018 Contents Introduction... 3 What s New... 4 Managing Recordings... 6 The Recorder View... 8 Transcription Service... 12 Sharing... 15 Notifications... 17 Home Screen Widget...

More information

VisualPST 2.4. Visual object report editor for PowerSchool. Copyright Park Bench Software, LLC All Rights Reserved

VisualPST 2.4. Visual object report editor for PowerSchool. Copyright Park Bench Software, LLC All Rights Reserved VisualPST 2.4 Visual object report editor for PowerSchool Copyright 2004-2015 Park Bench Software, LLC All Rights Reserved www.parkbenchsoftware.com This software is not free - if you use it, you must

More information

ADJUST TABLE CELLS-ADJUST COLUMN AND ROW WIDTHS

ADJUST TABLE CELLS-ADJUST COLUMN AND ROW WIDTHS ADJUST TABLE CELLS-ADJUST COLUMN AND ROW WIDTHS There are different options that may be used to adjust columns and rows in a table. These will be described in this document. ADJUST COLUMN WIDTHS Select

More information

This is a demonstration of how you can create a Microsoft Power Point presentation:

This is a demonstration of how you can create a Microsoft Power Point presentation: This is a demonstration of how you can create a Microsoft Power Point presentation: Go to your start menu and choose Microsoft Office documents and choose the Power Point blank presentation document. Then

More information

User s and installation guide

User s and installation guide INTELLIO MOBILE CLIENT 4 User s and installation guide 1 Intellio Mobil Client 4 Table of contents 1 Intellio Mobile Client 4 (IMC4) introduction... 3 2 Installation... 3 2.1 Intellio Video Gateway...

More information

The Cover Sheet - MS Word

The Cover Sheet - MS Word The Cover Sheet - MS Word You can create the Cover Sheet for your book using Microsoft Word. The Cover Sheet The Cover Sheet consists of four main components: The Back Cover The Front Cover The Spine Bleed

More information

CPSC Tutorial 9 Blend & Animations

CPSC 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 information

Display Systems International Software Demo Instructions

Display Systems International Software Demo Instructions Display Systems International Software Demo Instructions This demo guide has been re-written to better reflect the common features that people learning to use the DSI software are concerned with. This

More information

While the press might have you believe that becoming a phoneapp

While the press might have you believe that becoming a phoneapp 2 Writing Your First Phone Application While the press might have you believe that becoming a phoneapp millionaire is a common occurrence, it s actually pretty rare, but that doesn t mean you won t want

More information

CST272 Getting Started Page 1

CST272 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 information

GstarCAD Complete Features Guide

GstarCAD Complete Features Guide GstarCAD 2017 Complete Features Guide Table of Contents Core Performance Improvement... 3 Block Data Sharing Process... 3 Hatch Boundary Search Improvement... 4 New and Enhanced Functionalities... 5 Table...

More information

Click on the empty form and apply the following options to the properties Windows.

Click 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 information

Form Properties Window

Form Properties Window C# Tutorial Create a Save The Eggs Item Drop Game in Visual Studio Start Visual Studio, Start a new project. Under the C# language, choose Windows Form Application. Name the project savetheeggs and click

More information

Microsoft Excel Important Notice

Microsoft Excel Important Notice Microsoft Excel 2013 Important Notice All candidates who follow an ICDL/ECDL course must have an official ICDL/ECDL Registration Number (which is proof of your Profile Number with ICDL/ECDL and will track

More information

Microsoft Expression Web Quickstart Guide

Microsoft Expression Web Quickstart Guide Microsoft Expression Web Quickstart Guide MS-Expression Web Quickstart Guide Page 1 of 24 Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program,

More information

San Pedro Junior College. WORD PROCESSING (Microsoft Word 2016) Week 4-7

San Pedro Junior College. WORD PROCESSING (Microsoft Word 2016) Week 4-7 WORD PROCESSING (Microsoft Word 2016) Week 4-7 Creating a New Document In Word, there are several ways to create new document, open existing documents, and save documents: Click the File menu tab and then

More information

Reference Services Division Presents. Microsoft Word 2

Reference Services Division Presents. Microsoft Word 2 Reference Services Division Presents Microsoft Word 2 This handout covers the latest Microsoft Word 2010. This handout includes instructions for the tasks we will be covering in class. Basic Tasks Review

More information