WRITING THE MANAGEMENT SYSTEM APPLICATION
|
|
- Theodora Fields
- 5 years ago
- Views:
Transcription
1 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 application with Universal Windows Application so that it can work both on the desktops and raspberry pi cards. We create a new Universal Windows project in the Visual Studio. We choose the platform version from the following window. There is a monitor sizing option of the project on the top left of our application. This option is set for telephones as default.
2 We change this option according to the monitor type we are using. For example we choose the following option because we are going to use a laptop in our application. For the images we are going to use in the project, we create a folder called images in Solution Explorer and we add the photos of students and other folders and files that we are going to use in form design. We add our file called class.xml into the images folder. We create our XML file with sample data in it as: <?xml version="1.0" encoding="utf-8"?> <Class> <Student> <id>0</id> <CardID>00f0d4d3</CardID> <NameSurName>Ahmet Kaan Akkus</NameSurName> <Number>110</Number> <ClassID>ATP-11A</ClassID> <Privileged>yok</Privileged> </Student> <Student> <id>1</id> <CardID>e463bd58</CardID> <NameSurName>Mahmut Sakar</NameSurName> <Number>100</Number> <ClassID>ATP-11A</ClassID> <Privileged>var</Privileged> </Student> <Student> <id>2</id> <CardID>5474ac04</CardID> <NameSurName>Abdulkadir Delikaya</NameSurName> <Number>36</Number> <ClassID>TL-12A</ClassID> <Privileged>var</Privileged> </Student> </Class> In our project, to display the images, we are going to use an open source SDK called UWP Community Toolkit which was published by Microsoft. This SDK includes many helpful methods, libraries and additional controls. Firstly, we install the SDK called Microsoft.Toolkit.UWP.UI.Controls by using Project / Manage NuGet Packages menu.
3 After that, into the XAML code in Page tag, we add: xmlns:controls="using:microsoft.toolkit.uwp.ui.controls" line, and to the C# code we add: usingmicrosoft.toolkit.uwp.ui.controls; line. While installing the related SDK, we choose our project s platform version as minimum Windows 10 (10.0; Build 10586). Otherwise, it will give error. For the Hamburger menu code, firstly we add DataTemplate codes in the MainPage.xaml page. <Page.Resources> <DataTemplate x:name="hamburgerdefaulttemplate"> <Grid Width="240" Height="48"> <Grid.ColumnDefinitions> <ColumnDefinition Width="48" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <SymbolIcon Grid.Column="0" Symbol="Binding Icon" Foreground="White" /> <TextBlock Grid.Column="1" Text="Binding Name" FontSize="16" VerticalAlignment="Center" Foreground="White" /> </Grid> </DataTemplate> </Page.Resources> So that the menu elements can be viewed in the hamburger menu in our code, we perform the necessary actions. In the C# part, we are going to define the menu elements. Finally in the XAML part, we write the codes which constitute our menu. <UWPToolkit:HamburgerMenu x:name="hamburgermenucontrol"
4 PaneBackground="Black" Foreground="White" ItemClick="OnMenuItemClick" ItemTemplate= "StaticResource hamburgerdefaulttemplate" OptionsItemClick="OnMenuItemClick"> <Frame x:name="contentframe" /> </UWPToolkit:HamburgerMenu> We define OnMenuItemClick process which is going to be called when menu elements are clicked in our code and we create a Frame control in the hamburger menu so that the related pages are called and viewed. We write the following codes in the MainPage.xaml.cs page. public MainPage() this.initializecomponent(); var items = new List<MenuItem> new MenuItem() Icon = Symbol.People,Name = "LOGIN", new MenuItem() Icon = Symbol.Manage, Name = "OPERATIONS", new MenuItem() Icon = Symbol.Setting, Name = "SETTINGS" ; hamburgermenucontrol.itemssource = items; public class MenuItem public Symbol Icon get; set; public string Name get; set; private void OnMenuItemClick(object sender, ItemClickEventArgs e) var menuitem = e.clickeditem as MenuItem; if (menuitem.name == "OPERATIONS") contentframe.navigate(typeof(operations)); else if (menuitem.name == "LOGIN") contentframe.navigate(typeof(userlogin)); We add the menu elements into a list we defined in our code. We define the Symbol and Name properties for each of the menu elements. The icons we are going to use for the menu elements are ready in the Symbol option. By using the OnMenuItemClick method, we indicate the pages that will be viewed in the contentframe when menu elements are clicked. After that we are going to design a page on which we will carry out rfid processes. On this page, we are going to carry out processes like following the card reading processes, and logging them. Let s add a new page to our application by using Add Page option from the Project menu. We call our page Operations. Let s change the background color of our form. The XAML code of the background color of our form is as the following: <Grid Background="ThemeResource ApplicationPageBackgroundThemeBrush"> </Grid>
5 We edit this code as: <Grid > <Grid.Background> <LinearGradientBrush> <GradientStop Color="#FFE7E8EC" Offset="0" /> <GradientStop Color="#FF5E7988" Offset="1" /> </LinearGradientBrush> </Grid.Background> </Grid> We make horizontal color transition by using LinearGradientBrush in our code. The view of our form will be as: Card data which has been read with rfid reader on Arduino, where there is no internet access in our project, are being sent via XBee modules. We read the data sent by using wireless serial communication protocol with the device called xbee explorer usb which we are going to connect to our computer from the usb port. In order to perform processes on the serial port in Universal Windows applications, we add the following lines under the <Capabilities> title in Package.appxmanifest file. <Capabilities> <DeviceCapability Name="serialcommunication"> <Device Id="any"> <Function Type="name:serialPort" /> </Device> </DeviceCapability> </Capabilities> To read the information that is coming from the serial port, we define an asynchronous method called Serial( ) in our code. The methods we use to reach the port information and serial port communication are under the Windows.Devices.Enumeration and Windows.Devices.SerialCommunication namespaces. First of all, we make the following definitions about the serial port. string devices = SerialDevice.GetDeviceSelector("COM4");
6 var dev = await DeviceInformation.FindAllAsync(devices); SerialDevice SerialPort = await SerialDevice.FromIdAsync(dev[0].Id); With the SerialDevice.GetDeviceSelector( ) method, we choose the Com port to which our xbee explorer usb device is connected. We take the information of the device which is connected to the com port with DeviceInformation.FindAllAsync() method. And by creating a SerialDevice item with the SerialDevice.FromIdAsync( ) method and reaching the device via the Id of the device, we start an asynchronous process. And then we make the settings about the serial port. SerialPort.WriteTimeout = TimeSpan.FromMilliseconds(1000); SerialPort.ReadTimeout = TimeSpan.FromMilliseconds(1000); SerialPort.BaudRate = 9600; SerialPort.Parity = SerialParity.None; SerialPort.StopBits = SerialStopBitCount.One; SerialPort.DataBits = 8; With the WriteTimeout ve ReadTimeout properties, we define the writing and reading timeout durations in our code. We assign 1000 milliseconds (1 second) as a value. Baud Rate indicates the data communication speed. It is expressed in bytes per second (bps). Its default value is Parity byte is used to control whether the sent data is wrong or not. Before sending new data, the stop byte must be sent. Data byte is used to define the data length. It can take a value between 5 and 8. 8 value is equal to one byte and it can be used for nearly all kinds of data. We create a continuous while loop in our Serial( ) method. We are going to perform the processes of reading from the serial port in the loop. var rbuffer = (new byte[1]).asbuffer(); await SerialPort.InputStream.ReadAsync(rbuffer, 1, InputStreamOptions.Partial); To hide the values coming from the serial port in the code lines first, we define a variable called rbuffer which is in byte string type. AsBuffer, restores IBuffer type interface which represents a byte series. With the ReadAsync method, values are read asynchronously from a stream. Its usage is as the following: ReadAsync(IBuffer buffer, uint count, InputStreamOptions options) buffer, indicates the IBuffer type variable which represents byte stream. Count, indicates the byte number which is going to be read. Options, indicates the type of the asynchronous reading process. In order to use this parameter you must add Windows.Storage.Streams namespace to the project. It can have None, Partial and ReadAhead values. In the partial option, when one or more bytes are read, reading process is completed. When the process is done, all the byte values that are wanted may not be applicable. In the ReadAhead option, reading process read more byte values by being taken forward optionally. It decreases the delay time and increases the performance. if ((char)rbuffer.toarray()[0]!= 'n')
7 In the line above, we control if it is a new start of row. If it is not, we transfer the value which is read in the strbuilder.append((char)rbuffer.toarray()[0]); line into our StringBuilder item called strbuilder. If it is a new start of row, in the following line, we search for the.bmp expression and we acquire the file name information. temp = strbuilder.tostring().substring(strbuilder.tostring(). IndexOf(".bmp")-3,3); Because the file names of the students photos are in the form of the students numbers, we are going to use this information to reach the student photos. We keep the information about the students in both locally and on the web. We keep them in SQL Azure database in the Web, and in an xml file in the project folder locally. To reach the information in the XML file, we perform the following processes: var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("msappx:///images/class.xml")); In this line, by using the GetFileFromApplicationUriAsync() method of the StorageFile class, we reach the class.xml file under the images folder. To reach the local files in the UWP applications, we add the ms-appx:/// expression in front of the file path. This expression indicates the type of the file system. using (var inputstream = await file.openreadasync()) In the line above, we read the xml file content in the Windows Runtime stream type with OpenReadAsync( ) method. using (var classicstream = inputstream.asstreamforread()) In the line above, it converts the Windows Runtime stream type to Windows Store stream type. using (var streamreader = new StreamReader(classicStream)) while (streamreader.peek() >= 0) strcontent = streamreader.readtoend(); In these lines, after checking that the file end has been reached or not with the Peek( ) method, if it is not the end of the file, the file content is transformed to string variable called strcontent with the ReadToEnd( ) method.
8 After that, we are going to parse the xml content. We are going to use the methods under System.Xml.Linq namespace. First of all we define the variables to which we are going to transfer the values we read from inside the xml. string name=null,priv=null,cid = null; Then XDocument doc = XDocument.Parse(strContent); In this line transfer the elements of the xml file to the doc variable in XDocument type. name = (from x in doc.descendants("student") where x.element("number").value == temp select (string)x.element("namesurname").value).firstordefault(); In this line, we compare the value of number element under Student tag with the Number value which comes from serial port and which we keep in the temp variable. If the results are equal, we get the NameSurName value under the Student tag again. By making comparison according to the value of Number element this way we can obtain other elements, too. For our example, we take the values in the NameSurName, Privileged and ClassID parts and we transfer these to name, priv and cid variables. Afterwards, we are going to write our codes with which we are going to view the instant processes in GridView called grdoperations. For this, let s add a new class named StudentData with Project/Add Class option to our project. We are going to define the columns that are going to be viewed in GridView. Our code will be as: class StudentDataCollection: ObservableCollection<StudentData> public class StudentData public string Name get; set; public string Number get; set; public string Privileged get; set; public string Time get; set; By defining ObservableCollection in our code, we enable the changes to be automatically transferred into GridView when there are any changes on property. After that we are going to write the DataTemplate codes in XAML code part of GridView. We add the following codes into the GridView XAML codes: <GridView.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="120"/> <ColumnDefinition Width="50"/> <ColumnDefinition Width="150"/> <ColumnDefinition Width="160"/> </Grid.ColumnDefinitions>
9 <TextBlock Grid.Column="0" Text="Binding Name"/> <TextBlock Grid.Column="1" Text="Binding Number"/> <TextBlock Grid.Column="2" Text="Binding Privileged"/> <TextBlock Grid.Column="3" Text="Binding Time"/> </Grid> </DataTemplate> </GridView.ItemTemplate> After this, we write our C# code necessary for listing in GridView. grdoperations.items.add((new StudentData.StudentData() Name = name, Number = temp, Privileged = "Çıkış İzni="+priv, Time=DateTime.Now.ToString() )); In our code, we linked the values we extracted from XML to the corresponding columns in the GridView. grdoperations.selecteditem = grdoperations. Items[grdOperations.Items.Count - 1]; grdoperations.scrollintoview(grdoperations.items[grdoperations. Items.Count - 1], ScrollIntoViewAlignment.Leading); In these lines, firstly we choose the last line which was added into the GridView and make the scroll down process automatically. After this process, we are going to view the student photos. Photos are going to be listed collectively in dimmed color in a red frame according to the class name. And then, according to the card information, the photo of the related student is going to have a normal color and it is going to be shown in a black frame. However we keep all the read information in a Dictionary so that the student photo can be viewed differently as each student s information comes from the rfid reader. First of all we define a Dictionary named readingnames. Dictionary<string, string> readingnames = new Dictionary<string, string>(); After that we add the student number and class information into the Dictionary. readingnames.add(temp, cid); Then we add a VariableSizedWrapGrid control called wrpsiniflistesi to view the photos. With this control we can reach child elements in it by indicating the column and line values. wrpsiniflistesi.children.clear(); In this line we clean the elements in VariableSizedWrapGrid in our code first. String path = Directory.GetCurrentDirectory() In this line we get the folder path in which the photos of the related class are kept by using the class name value which is kept in cid variable.
10 foreach (String imgurl in Directory.GetFiles(path)) In this line we read the file paths of photo files in the folder one by one with foreach loop. String filename = Path.GetFileName(imgurl); Uri uri = new Uri("ms-appx:///" + filename); var image = new Image Source = new BitmapImage(uri) ; We define the photo source from the file path by creating a new BitmapImage item. In the UWP applications, to reach the local files we add ms-appx:/// expression in front of the file path. This expression shows the type of the file system type. Button btn = new Button(); In this line we define a new Button item. var brush = new ImageBrush(); In this line we define a new ImageBrush item. We are going perform some editing processes on the button by using this. btn.borderbrush = new SolidColorBrush(Windows.UI.Colors.Red); btn.borderthickness = new Thickness(5, 5, 5, 5); First we specify a red border on the button with the BorderBrush option and we choose the thickness of the border with BorderThickness option. BitmapImage btpimg = new BitmapImage(); btpimg.urisource = new Uri(@"ms-appx:///images/photos/"+ cid+"/" + filename); brush.imagesource = btpimg; In these lines we define a BitMapImage called btpimage and we give the file path of the read photo in the loop in the related class as the file path. btn.background = brush; In this line we transfer all the properties for brush item to the BackGround property of the button. btn.background.opacity = 0.4; We make the photo dim by adjusting the opacity value of the button. btn.verticalcontentalignment = VerticalAlignment.Bottom; We align the button content as the photo above and the text below.
11 btn.name = "btn" + System.IO.Path.GetFileNameWithoutExtension(filename); We name the buttons according to the file names automatically to reach them in the code. btn.minheight = 70; btn.minwidth = 60; We specify the height and width of the buttons. btn.margin = new Thickness(3); We adjust the margins of the button. And finally, in the following line, we add the button control in VariableSizedWrapGrid. wrpsiniflistesi.children.add(btn); After the buttons are added, we will display them on the buttons, according to the incoming card information, according to the photos of the related student. foreach (KeyValuePair<string, string> eleman in readingnames) foreach (Button btn in wrpsiniflistesi.children) if ((cid==eleman.value) & (btn.name.tostring(). Substring(3) == eleman.key)) var brush = new ImageBrush(); btn.borderbrush = new SolidColorBrush(Windows.UI.Colors.Black); btn.borderthickness = new Thickness(1, 1, 1, 1); BitmapImage btpimg = new BitmapImage(); btpimg.urisource = new Uri(@"ms-appx:///images/photos/"+ cid+"/" + btn.name.tostring().substring(3)+".jpg"); brush.imagesource = btpimg; btn.background = brush; break; In the foreach loop in our code, we choose the buttons in VariableSizedWrapGrid. By using the if structure, if the class name value kept in cid variable is equal to the value kept in the Dictionary called readingnames and the button name which is read is compatible with the key kept in the Dictionary called readingnames, we make the process. By defining a new brush item, we add a black border with BorderBrush property and we define the border thickness with the
12 BorderThickness property. After that we define a BitmapImage item and as the file path we give the file path of the student photo coming from button name. From inside the button called btnportopen, we run our Serial( ) method by calling it as seen in the following line. private async void btnportopen_click(object sender, RoutedEventArgs e) Serial(); While defining our method we defined it as an asynchronous method by adding the async expression in front of it. Until the running of the asynchronous methods ends, running the other program lines is continued by going back to the application. When we read the card information from the RFID reader, the information in the Operations page will be viewed as:
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 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 informationWeek 7: NavigationView Control Exercise
BCIS 4650 Week 7: NavigationView Control Exercise BUILD THE UI FIRST (ALWAYS). ================================================================================================ 1. Start with a New Project
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 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 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 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 informationMaster Code on Innovation and Inclusion
Microsoft x HKEdCity: Master Code on Innovation and Inclusion Train-the-Trainers Workshop Writing Applications in C# with Visual Studio Content I. Getting the Tools Ready... 3 II. Getting Started with
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 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 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 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 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 informationBCIS 4650 Visual Programming for Business Applications
BCIS 4650 Visual Programming for Business Applications XAML Controls (That You Will, or Could, Use in Your BCIS 4650 App i.e., a Subset) 1 What is a XAML Control / Element? Is a Toolbox class which, when
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 informationComponentOne. Document Library for UWP
ComponentOne Document Library for UWP GrapeCity US GrapeCity 201 South Highland Avenue, Suite 301 Pittsburgh, PA 15206 Tel: 1.800.858.2739 412.681.4343 Fax: 412.681.4384 Website: https://www.grapecity.com/en/
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 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 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 informationvar xdoc = XDocument.Load(inStream);
Gradebook Sample App Summary: The goal of this project is to demonstrate how to share code across project types by using a Portable Class Library between a traditional Windows* Desktop application and
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 informationComponentOne. PdfViewer for WPF and Silverlight
ComponentOne PdfViewer for WPF and Silverlight GrapeCity US GrapeCity 201 South Highland Avenue, Suite 301 Pittsburgh, PA 15206 Tel: 1.800.858.2739 412.681.4343 Fax: 412.681.4384 Website: https://www.grapecity.com/en/
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 informationThis 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 informationIntegration 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 informationC# Crash Course Dimitar Minchev
C# Crash Course Dimitar Minchev BIO Dimitar Minchev PhD of Informatics, Assistant Professor in Faculty of Computer Science and Engineering, Burgas Free University, Bulgaria. Education Bachelor of Informatics,
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 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 informationWebFront 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 informationWindows 10 Development: Table of Contents
Windows 10 Development: Table of Contents In this book we ll dive into some of the basics you ll need to build real-world applications, such as newly updated Falafel 2 Go for Windows 10 application. We
More informationAuthoring 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 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 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 informationRadGanttView 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 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 informationSAMPLE 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 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 informationHands-On Lab. Using Bing Maps
Hands-On Lab Using Bing Maps Lab version: 1.0.0 Last updated: 2/2/2011 CONTENTS Overview... 3 Exercise 1: Introduction to the Bing Map Control... 7 Task 1 Registering a Bing Maps Account... 7 Task 2 Working
More informationAuthoring 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 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 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 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 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 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 informationThe 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 information1.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 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 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 informationIntegrate GIS Functionality into Windows Apps with ArcGIS Runtime SDK for.net
Integrate GIS Functionality into Windows Apps with ArcGIS Runtime SDK for.net By Rex Hansen, Esri ArcGIS Runtime SDK for.net The first commercial edition of the ArcGIS Runtime SDK for the Microsoft.NET
More informationCPSC Tutorial 6
CPSC 481 - Tutorial 6 More WPF (based on previous tutorials by Alice Thudt, Fateme Rajabiyazdi, David Ledo, Brennan Jones, Sowmya Somanath, and Kevin Ta) Introduction Contact Info li26@ucalgary.ca Please
More 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 informationComponentOne. Xamarin Edition
ComponentOne Xamarin Edition ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: sales@componentone.com Telephone:
More informationIndex. Windows 10 running, 199 suspended state, 199 terminate apps,
A Application lifecycle activation ApplicationExecution State, 216 restoring navigation state, 216 217 restoring session information, 217 218 state transitions, 200 activation, 201 killing, 202 launching,
More informationWebinse Image Gallery
Webinse Image Gallery Gallery extension allows to create albums and galleries and add or change images in galleries. Easily set params which allow to customize interface and effects on the frontend. Overview
More informationHands-On Lab. Building Applications in Silverlight 4 Module 7: Event Administrator Dashboard with Out of Browser, Toasts and Native Integration
Hands-On Lab Building Applications in Silverlight 4 Module 7: with Out of Browser, Toasts and Native Integration 1 P a g e Contents Introduction... 3 Exercise 1: Adding an Out of Browser Application...
More informationNebraska - eforms. Tips and Tricks
Nebraska - eforms Tips and Tricks 1) Nebraska eforms is an ASP.Net 4.0 - Silverlight 4 web application created for industry users to submit required regulatory forms electronically. You must have.net Framework
More informationMigrating 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 informationSparkline for ASP.NET WebForms
Cover Page ComponentOne Sparkline for ASP.NET WebForms Cover Page Info ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com
More informationUsing the Windows Runtime from C# and Visual Basic
APPENDIX WinRT Resources This appendix contains resources that you may find helpful as you explore WinRT in more depth. Many of them were used during the research of this book, so they should help to expound
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 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 informationWorkspace Desktop Edition Developer's Guide. Migrate Custom Applications from 8.1 to 8.5
Workspace Desktop Edition Developer's Guide Migrate Custom Applications from 8.1 to 8.5 4/28/2018 Migrate Custom Applications from 8.1 to 8.5 Contents 1 Migrate Custom Applications from 8.1 to 8.5 1.1
More informationComponentOne. Xamarin Edition
ComponentOne Xamarin Edition Xamarin Edition 1 Table of Contents Getting Started with Xamarin Edition 6 Breaking Changes for Xuni Users 6-7 NuGet Packages 7-8 Redistributable Files 8-9 System Requirements
More informationName 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 informationComponentOne. Imaging for UWP
ComponentOne Imaging 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 Telephone:
More informationDesktop Studio: Charts. Version: 7.3
Desktop Studio: Charts Version: 7.3 Copyright 2015 Intellicus Technologies This document and its content is copyrighted material of Intellicus Technologies. The content may not be copied or derived from,
More informationPortable 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 informationCHAPTER 1: INTRODUCING C# 3
INTRODUCTION xix PART I: THE OOP LANGUAGE CHAPTER 1: INTRODUCING C# 3 What Is the.net Framework? 4 What s in the.net Framework? 4 Writing Applications Using the.net Framework 5 What Is C#? 8 Applications
More informationCOPYRIGHTED MATERIAL. Contents. Part I: C# Fundamentals 1. Chapter 1: The.NET Framework 3. Chapter 2: Getting Started with Visual Studio
Introduction XXV Part I: C# Fundamentals 1 Chapter 1: The.NET Framework 3 What s the.net Framework? 3 Common Language Runtime 3.NET Framework Class Library 4 Assemblies and the Microsoft Intermediate Language
More informationLab 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 informationTABLE OF CONTENTS 1 Introduction to Foxit PDF SDK...1 1.1 Why Foxit is your choice... 1 1.2 Features... 1 1.2.1 Evaluation... 2 1.2.2 License... 2 1.3 About this guide... 2 2 Introduction to PDF...3 2.1
More informationSten-SLATE ESP Kit. Description and Programming
Sten-SLATE ESP Kit Description and Programming Stensat Group LLC, Copyright 2016 Overview In this section, you will be introduced to the processor board electronics and the arduino software. At the end
More information8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)
Web Development & Design Foundations with HTML5 Ninth Edition Chapter 7 More on Links, Layout, and Mobile Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links
More informationDesktop Studio: Charts
Desktop Studio: Charts Intellicus Enterprise Reporting and BI Platform Intellicus Technologies info@intellicus.com www.intellicus.com Working with Charts i Copyright 2011 Intellicus Technologies This document
More informationCreating a Website in Schoolwires Technology Integration Center
Creating a Website in Schoolwires Technology Integration Center Overview and Terminology... 2 Logging into Schoolwires... 2 Changing a password... 2 Accessing Site Manager... 2 Section Workspace Overview...
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 informationArcGIS Pro SDK for.net Beginning Pro Customization. Charles Macleod
ArcGIS Pro SDK for.net Beginning Pro Customization Charles Macleod Session Overview Extensibility patterns - Add-ins - Configurations Primary API Patterns - QueuedTask and Asynchronous Programming - async
More informationProgramming with Microsoft Visual Basic.NET. Array. What have we learnt in last lesson? What is Array?
What have we learnt in last lesson? Programming with Microsoft Visual Basic.NET Using Toolbar in Windows Form. Using Tab Control to separate information into different tab page Storage hierarchy information
More informationCSC 415 ONLINE PHOTOALBUM: THE SEQUEL ASP.NET VERSION
CSC 415 ONLINE PHOTOALBUM: THE SEQUEL ASP.NET VERSION GODFREY MUGANDA In this project, you will convert the Online Photo Album project to run on the ASP.NET platform, using only generic HTTP handlers.
More informationProfessional Course in Web Designing & Development 5-6 Months
Professional Course in Web Designing & Development 5-6 Months BASIC HTML Basic HTML Tags Hyperlink Images Form Table CSS 2 Basic use of css Formatting the page with CSS Understanding DIV Make a simple
More informationWindows Phone 8 Game Development
Windows Phone 8 Game Development Marcin Jamro Chapter No. 8 "Maps, Geolocation, and Augmented Reality" In this package, you will find: A Biography of the author of the book A preview chapter from the book,
More informationCHANNEL9 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 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 informationFor your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Author...
More informationPorting Advanced User Interfaces From ios* To Windows 8*
Porting Advanced User Interfaces From ios* To Windows 8* Abstract This article discusses porting advanced user interface features from an ios app to a Windows Store app. We use an electronic medical record
More informationAsset Arena InvestOne
Asset Arena InvestOne 1 21 AD HOC REPORTING 21.1 OVERVIEW Ad Hoc reporting supports a range of functionality from quick querying of data to more advanced features: publishing reports with complex features
More informationChapter 4 Notes. Creating Tables in a Website
Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a
More informationGetting Started Using HBase in Microsoft Azure HDInsight
Getting Started Using HBase in Microsoft Azure HDInsight Contents Overview and Azure account requrements... 3 Create an HDInsight cluster for HBase... 5 Create a Twitter application ID... 9 Configure and
More informationGoogle Docs Handout. Carol LaRow
Google Docs Handout Easy-To-Use Online Tool Carol LaRow Create documents and collaborate in real time, inside a WEB browser window. Or, work on documents when it s convenient. Features: Use one of four
More informationTo 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 information2 P age. Pete s Pagebuilder revised: March 2008
AKA DNN 4 Table of Content Introduction... 3 Admin Tool Bar... 4 Page Management... 6 Advanced Settings:... 7 Modules... 9 Moving Modules... 10 Universal Module Settings... 11 Basic Settings... 11 Advanced
More informationEXAMGOOD 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 informationReno A & E, 4655 Aircenter Circle, Reno, NV (775) Release Date: February 5, 2008 All Reno A&E monitors. All versions of RaeComM.
Product: RaeComM Title: RaeComM Basics Release Date: February 5, 2008 Scope: All Reno A&E monitors. All versions of RaeComM. Installing RaeComM The most current version of RaeComM software is available
More informationPART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3
INTRODUCTION xix PART I: INTRODUCTION TO WINDOWS 8 APPLICATION DEVELOPMENT CHAPTER 1: A BRIEF HISTORY OF WINDOWS APPLICATION DEVELOPMENT 3 The Life of Windows 3 From Windows 3.1 to 32-bit 4 Windows XP
More 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 informationThis document contains a general description of the MVVMStarter project, and specific guidelines for how to add a new domain class to the project.
MVVMStarter Guide This document contains a general description of the MVVMStarter project, and specific guidelines for how to add a new domain class to the project. Table of Content Introduction...2 Purpose...2
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 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 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 information