visual studio vs#d express windows desktop

Size: px
Start display at page:

Download "visual studio vs#d express windows desktop"

Transcription

1 Free software used in development 1. Visual studio express 2013 for desktop applications. Express versions are free without time limit, only thing you need is Microsoft account (but you can download and use it for 30 days even without account) visual studio vs#d express windows desktop 2. Nvidia CUDA free downloads For windows should be installed after Visual Studio How to CUDA enabled matrix operation: This steps are troublesome, however they are not related to coding itsef. There is a lot of information on CUDA installation on the internet, so i will not write it here. If you are using Windows and older NON Express versions of Visual studio (not 2013), then after installing CUDA you must be able to create CUDA project If you are using Visual studio 2013 then ( zhu.com/cuda 6 rc vs2013 creating cuda project/) or simply open project for any of CUDA Samples (i used multmatrix) and rewrite code inside of it, don t forget to set x64 solution platforms. If you are using Linux and installed CUDA then you can simply write your code as you always do, just be sure to use nvcc compilation line. Source code for pow2 elements of matrix: // std::system includes #include <memory> #include <iostream> // CUDA C includes #include <cuda.h> #include <cuda_runtime.h> global void pow2( int *m,int N) int threadid = blockidx.x*blockdim.x + threadidx.x; if (threadid<n) m[threadid] =m[threadid]*m[threadid];

2 int main() int *m; int N= ; cudamallocmanaged(&m, N * sizeof(int)); for(int i=0; i<n; i++) m[i]=5; pow2<<< (N 1)/1000+1, 1000 >>>(m,n); cudadevicesynchronize(); for(int i=0; i<n; i++) printf("%d: m*m = %d\n", i, m[i]); cudafree(m); return 0; How to make single vessel visualization: 1. Launch Visual studio 2 Create new C# WPF project 3. In menu go to Tools Library Packet manager Manage NuGet Packages for solution. 4. In opened window choose Online packages and in search type Helix 5. Install HelixToolkit.wpf Source code (not generated code marked red: 1) Main Form Xaml <Window x:class="wpfapplication2.mainwindow" xmlns=" xmlns:x="

3 xmlns:helixtoolkit="clr namespace:helixtoolkit.wpf;assembly=helixtoolkit.wpf" Title="SimpleDemo" Height="480" Width="641.5"> <Grid> <HelixToolkit:HelixViewport3D ZoomExtentsWhenLoaded="True" Margin="98,0,0,0" RenderTransformOrigin="0.506,0.918"> <HelixToolkit:DefaultLights/> <ModelVisual3D Content="Binding Model"/> <HelixToolkit:GridLinesVisual3D Width="800" Length="800" MinorDistance="1" MajorDistance="1" Thickness="0.01"/> </HelixToolkit:HelixViewport3D> </Grid> </Window> 2) MainForm.cs using HelixToolkit.Wpf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Media.Media3D; using System.Windows.Navigation; using System.Windows.Shapes; using System.Windows.Threading; namespace WpfApplication2 /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window

4 int t = 0; DispatcherTimer replottimer=new DispatcherTimer(); public MainWindow() InitializeComponent(); this.datacontext = new Vessel(t); t = 1; replottimer.tick += new EventHandler(replotTimer_Tick); replottimer.interval = new TimeSpan(0, 0, 0, 0, 100); replottimer.start(); private void replottimer_tick(object sender, EventArgs e) this.datacontext = new Vessel(t); t++; 3. Vessel.cs (class) public Vessel(int t) var modelgroup = new Model3DGroup(); int points = 500; double x = 0; List<Point3D> path = new List<Point3D>(); double[] radiusarray = new double[points]; double[] valuearray = new double[points]; // Filling radius and path array, based on step for (int i = 0; i < points; i++)

5 //simulating pulse double pulse = 1.5 * Math.Sin(6.28 * i * t * 0.1); if (pulse > 0) radiusarray[i] = 1 + pulse; else radiusarray[i] = 1; valuearray[i] = radiusarray[i] 1; path.add(new Point3D(x, 0, 0)); x = x + 0.1; // Creating mesh var meshbuilder = new MeshBuilder(true, true); meshbuilder.addtube(path, valuearray, radiusarray, 12, false); var mesh = meshbuilder.tomesh(true); // Coloring Color vesselcolor1 = Color.FromRgb(114, 2, 5); Color vesselcolor2 = Color.FromRgb(228, 130, 22); LinearGradientBrush lingrbrush = new LinearGradientBrush(); lingrbrush.gradientstops.add(new GradientStop(vesselColor1, 0.0)); lingrbrush.gradientstops.add(new GradientStop(vesselColor2, 1.0)); var vesselmaterial = MaterialHelper.CreateMaterial(linGrBrush); var insidematerial = MaterialHelper.CreateMaterial(Colors.Red); // Finish and return the model modelgroup.children.add(new GeometryModel3D Geometry = mesh, Material = vesselmaterial, BackMaterial = insidematerial ); this.model=modelgroup; /// <summary> /// Gets or sets the model. /// </summary> /// <value>the model.</value> public Model3D Model get; set;

6

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C3: Dice

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C3: Dice 1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C3: Dice Front face All faces CheckBoxes Camera sliders Corrugated faces Front face Copyright by V. Miszalok, last update: 2010-01-08 Guidance

More information

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: The complete code of Sphere

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: The complete code of Sphere 1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: The complete code of Sphere Preliminaries MainWindow.xaml MainWindow.xaml.cs Preliminaries Copyright by V. Miszalok, last update: 2010-01-08

More information

Course 2D_WPF: 2D-Computer Graphics with C# + WPF Chapter C1a: The Intro Project Written in XAML and C#

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

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: Sphere

Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: Sphere 1 Course 3D_WPF: 3D-Computer Graphics with C# + WPF Chapter C4: Sphere Copyright by V. Miszalok, last update: 2010-01-08 Basic sphere Texture choice with RadioButtons Rotations Longitudes-, latitudes-

More information

Workspace Desktop Edition Developer's Guide. Customize Views and Regions

Workspace Desktop Edition Developer's Guide. Customize Views and Regions Workspace Desktop Edition Developer's Guide Customize Views and Regions 11/27/2017 Customize Views and Regions Purpose: To provide information about customizable views and their regions. Contents 1 Customize

More information

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C1: The Intro Project

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

WPF Viewer for Reporting Services 2008/2012 Getting Started

WPF Viewer for Reporting Services 2008/2012 Getting Started WPF Viewer for Reporting Services 2008/2012 Getting Started Last modified on: July 9, 2012 Table of Content Introduction... 3 Prerequisites... 3 Creating application using Microsoft SQL 2008/2008 R2 /2012

More information

Visão Computacional: Reconhecimento da Mão Humana e Seus Movimentos. Licenciatura em Gestão de Sistemas e Computação. Visão Computacional:

Visão Computacional: Reconhecimento da Mão Humana e Seus Movimentos. Licenciatura em Gestão de Sistemas e Computação. Visão Computacional: Visão Computacional: Reconhecimento da Mão Humana e Seus Movimentos Licenciatura em Gestão de Sistemas e Computação Visão Computacional: Reconhecimento da Mão Humana e Seus Movimentos Projeto Final de

More information

Weather forecast ( part 1 )

Weather forecast ( part 1 ) Weather forecast ( part 1 ) I will create a small application that offers the weather forecast for a certain city in the USA. I will consume two webservices for this. The first service will give me an

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

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

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

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

CALCULATOR APPLICATION

CALCULATOR APPLICATION CALCULATOR APPLICATION Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

CSC 355 PROJECT 4 NETWORKED TIC TAC TOE WITH WPF INTERFACE

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

Course 2D_SL: 2D-Computer Graphics with Silverlight Chapter C5: The Complete Code of PathAnimation. Copyright by V. Miszalok, last update:

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

University of Florida Department of Electrical and Computer Engineering Intelligent Machine Design Laboratory- Final Report EEL 5666 Fall 2014.

University of Florida Department of Electrical and Computer Engineering Intelligent Machine Design Laboratory- Final Report EEL 5666 Fall 2014. University of Florida Department of Electrical and Computer Engineering Intelligent Machine Design Laboratory- Final Report EEL 5666 Fall 2014 Alfred Sai Srivatsava Vemu Instructors: Dr. Antonio Arroyo

More information

CSIS 1624 CLASS TEST 6

CSIS 1624 CLASS TEST 6 CSIS 1624 CLASS TEST 6 Instructions: Use visual studio 2012/2013 Make sure your work is saved correctly Submit your work as instructed by the demmies. This is an open-book test. You may consult the printed

More information

You can call the project anything you like I will be calling this one project slide show.

You can call the project anything you like I will be calling this one project slide show. C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise

More 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

XAML - BUTTON. The Button class represents the most basic type of button control. The hierarchical inheritance of Button class is as follows

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

CPSC Tutorial 6

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

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

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

Now find the button component in the tool box. [if toolbox isn't present click VIEW on the top and click toolbox]

Now find the button component in the tool box. [if toolbox isn't present click VIEW on the top and click toolbox] C# Tutorial - Create a Tic Tac Toe game with Working AI This project will be created in Visual Studio 2010 however you can use any version of Visual Studio to follow along this tutorial. To start open

More information

Windows Presentation Foundation

Windows Presentation Foundation Windows Presentation Foundation CS 525 John Stites Table of Contents Introduction... 3 Separation of Presentation and Behavior... 3 XAML Object Elements... 3 2-D Graphics... 6 3-D Graphics... 9 Microsoft

More information

Silverlight: A Beginner s Guide

Silverlight: A Beginner s Guide CHAPTER 11 Silverlight: A Beginner s Guide The noblest pleasure is the joy of understanding. - Leonardo Da Vinci In this chapter: Silverlight Basics Silverlight and the.net Framework Hello Silverlight

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

Remote Debugging of Embedded System. by Xiaoxi (Jessie) Zhao. A Dissertation

Remote Debugging of Embedded System. by Xiaoxi (Jessie) Zhao. A Dissertation Remote Debugging of Embedded System by Xiaoxi (Jessie) Zhao A Dissertation Submitted in partial fulfillment of the requirements for Graduate with Honor Distinction in Bachelor of Science Degree in Electrical

More information

using System.IO; using System.Collections.Generic; using System.Xml.Linq;

using System.IO; using System.Collections.Generic; using System.Xml.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Windows; using System.Windows.Controls;

More information

Interface Builders and Interface Description Languages

Interface Builders and Interface Description Languages Interface Builders and Interface Description Languages Interface Builders (IB) and Interface Description Languages (IDL) enable Drag and Drop construction of GUI's are part of man;y Visual Studio(2013)

More information

Main Game Code. //ok honestly im not sure, if i guess its a class ment for this page called methodtimer that //either uses the timer or set to timer..

Main Game Code. //ok honestly im not sure, if i guess its a class ment for this page called methodtimer that //either uses the timer or set to timer.. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms;

More information

FDSc in ICT. Building a Program in C#

FDSc in ICT. Building a Program in C# FDSc in ICT Building a Program in C# Objectives To build a complete application in C# from scratch Make a banking app Make use of: Methods/Functions Classes Inheritance Scenario We have a bank that has

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

Start Visual Studio, create a new project called Helicopter Game and press OK

Start Visual Studio, create a new project called Helicopter Game and press OK C# Tutorial Create a helicopter flying and shooting game in visual studio In this tutorial we will create a fun little helicopter game in visual studio. You will be flying the helicopter which can shoot

More information

Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill

Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill Developing Desktop Apps for Ultrabook Devices in Windows* 8: Adapting Existing Apps By Paul Ferrill Microsoft introduced the Extensible Application Markup Language (XAML) in conjunction with the release

More information

RegEx - Numbers matching. Below is a sample code to find the existence of integers within a string.

RegEx - Numbers matching. Below is a sample code to find the existence of integers within a string. RegEx - Numbers matching Below is a sample code to find the existence of integers within a string. Sample code pattern to check for number in a string: using System; using System.Collections.Generic; using

More information

Complete code applied for one-armed robot

Complete code applied for one-armed robot Complete code applied for one-armed robot Workplace 1: using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO;

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

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

RegEx-validate IP address. Defined below is the pattern for checking an IP address with value: String Pattern Explanation

RegEx-validate IP address. Defined below is the pattern for checking an IP address with value: String Pattern Explanation RegEx-validate IP address Defined below is the pattern for checking an IP address with value: 240.30.20.60 String Pattern Explanation 240 ^[0-9]1,3 To define the starting part as number ranging from 1

More information

Hands-on CUDA exercises

Hands-on CUDA exercises Hands-on CUDA exercises CUDA Exercises We have provided skeletons and solutions for 6 hands-on CUDA exercises In each exercise (except for #5), you have to implement the missing portions of the code Finished

More information

Object oriented lab /second year / review/lecturer: yasmin maki

Object oriented lab /second year / review/lecturer: yasmin maki 1) Examples of method (function): Note: the declaration of any method is : method name ( parameters list ).. Method body.. Access modifier : public,protected, private. Return

More information

First start a new Windows Form Application from C# and name it Interest Calculator. We need 3 text boxes. 4 labels. 1 button

First start a new Windows Form Application from C# and name it Interest Calculator. We need 3 text boxes. 4 labels. 1 button Create an Interest Calculator with C# In This tutorial we will create an interest calculator in Visual Studio using C# programming Language. Programming is all about maths now we don t need to know every

More information

IBSDK Quick Start Tutorial for C# 2010

IBSDK Quick Start Tutorial for C# 2010 IB-SDK-00003 Ver. 3.0.0 2012-04-04 IBSDK Quick Start Tutorial for C# 2010 Copyright @2012, lntegrated Biometrics LLC. All Rights Reserved 1 QuickStart Project C# 2010 Example Follow these steps to setup

More information

The Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at:

The Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at: This document describes how to create a simple Windows Forms Application using some Open Core Interface functions in C# with Microsoft Visual Studio Express 2013. 1 Preconditions The Open Core Interface

More information

if (say==0) { k.commandtext = "Insert into kullanici(k_adi,sifre) values('" + textbox3.text + "','" + textbox4.text + "')"; k.

if (say==0) { k.commandtext = Insert into kullanici(k_adi,sifre) values(' + textbox3.text + ',' + textbox4.text + '); k. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient;

More information

APPLICATIONS of AFFINE TRANSFORMATION. Introduction

APPLICATIONS of AFFINE TRANSFORMATION. Introduction APPLICATIONS of AFFINE TRANSFORMATION Pallavi A. Mandhare #1 # Department of Computer Science, Savitribai Phule Pune University 1 mandharepa@gmail.com Abstract The function between affine spaces, which

More information

Lab - 1. Solution : 1. // Building a Simple Console Application. class HelloCsharp. static void Main() System.Console.WriteLine ("Hello from C#.

Lab - 1. Solution : 1. // Building a Simple Console Application. class HelloCsharp. static void Main() System.Console.WriteLine (Hello from C#. Lab - 1 Solution : 1 // Building a Simple Console Application class HelloCsharp static void Main() System.Console.WriteLine ("Hello from C#."); Solution: 2 & 3 // Building a WPF Application // Verifying

More information

Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK.

Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK. Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK. Before you start - download the game assets from above or on MOOICT.COM to

More information

ComponentOne. PdfViewer for WPF and Silverlight

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

Visual Basic/C# Programming (330)

Visual Basic/C# Programming (330) Page 1 of 12 Visual Basic/C# Programming (330) REGIONAL 2017 Production Portion: Program 1: Calendar Analysis (400 points) TOTAL POINTS (400 points) Judge/Graders: Please double check and verify all scores

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

Quick Start - WPF. Chapter 4. Table of Contents

Quick Start - WPF. Chapter 4. Table of Contents Chapter 4 Quick Start - WPF Table of Contents Chapter 4... 4-1 Quick Start - WPF... 4-1 Using Haystack Generated Code in WPF... 4-2 Quick Start for WPF Applications... 4-2 Add New Haystack Project for

More information

Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software.

Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software. Creation of the application based on the DevForce Silverlight by IdeaBlade with the use of Report Sharp-Shooter for Silverlight by Perpetuum Software. Getting Started Table of Contents: Preface 2 Product

More information

Getting Started with Banjos4Hire

Getting Started with Banjos4Hire Getting Started with Banjos4Hire Rob Miles Department of Computer Science Data Objects There are a number of objects that you will need to keep track of in the program Banjo Customer Rental You can use

More information

This tutorial is designed for software developers who want to learn how to develop quality applications with clean structure of code.

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

API Guide MSS-8 and MVS-16

API Guide MSS-8 and MVS-16 API Guide and MVS-16 Page 1-8 Channel Matrix Switcher Page 10-16 Channel Matrix Switcher and Multi Viewer MVS-16 API Guide for RS232 RS232 Connection: Port Settings: Bps 9600, Data bits 8, Parity None,

More information

Start Visual Studio and create a new windows form application under C# programming language. Call this project YouTube Alarm Clock.

Start Visual Studio and create a new windows form application under C# programming language. Call this project YouTube Alarm Clock. C# Tutorial - Create a YouTube Alarm Clock in Visual Studio In this tutorial we will create a simple yet elegant YouTube alarm clock in Visual Studio using C# programming language. The main idea for this

More information

Lecture 8 Building an MDI Application

Lecture 8 Building an MDI Application Lecture 8 Building an MDI Application Introduction The MDI (Multiple Document Interface) provides a way to display multiple (child) windows forms inside a single main(parent) windows form. In this example

More information

AddFlow for Silverlight V 2.0 Tutorial

AddFlow for Silverlight V 2.0 Tutorial AddFlow for Silverlight V 2.0 Tutorial January 2014 Lassalle Technologies http://www.lassalle.com - page 1 - CONTENTS 1) Introduction... 5 2) Last Version enhancements...6 2.1 Version 2.0...6 2.1.1 A major

More information

Class Test 5. Create a simple paint program that conforms to the following requirements.

Class Test 5. Create a simple paint program that conforms to the following requirements. Class Test 5 Question 1 Use visual studio 2012 ultimate to create a C# windows forms application. Create a simple paint program that conforms to the following requirements. The control box is disabled

More information

EE 356 Assigned: Oct. 4, 2017 Project 4 Due: Oct. 16, 2017

EE 356 Assigned: Oct. 4, 2017 Project 4 Due: Oct. 16, 2017 EE 356 Assigned: Oct. 4, 2017 Project 4 Due: Oct. 16, 2017 Travelling Salesman Problem using Genetic Programming The travelling salesman problem (TSP) can be stated as: A salesman is required to visit

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

Getting Started with ComponentOne LiveLinq

Getting Started with ComponentOne LiveLinq Getting Started with ComponentOne LiveLinq What is LINQ? LINQ, or Language Integrated Query, is a set of features in.net 3.5 used for writing structured type-safe queries over local object collections

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

GPU Programming. Rupesh Nasre.

GPU Programming. Rupesh Nasre. GPU Programming Rupesh Nasre. http://www.cse.iitm.ac.in/~rupesh IIT Madras July 2017 Hello World. #include int main() { printf("hello World.\n"); return 0; Compile: nvcc hello.cu Run: a.out GPU

More information

Learn to Love Lambdas

Learn to Love Lambdas Learn to Love Lambdas An overview of Lambda Expressions by JeremyBytes.com Overview Lambda expressions can be confusing the first time you walk up to them. But once you get to know them, you ll see that

More information

Supporting Data Parallelism in Matcloud: Final Report

Supporting Data Parallelism in Matcloud: Final Report Supporting Data Parallelism in Matcloud: Final Report Yongpeng Zhang, Xing Wu 1 Overview Matcloud is an on-line service to run Matlab-like script on client s web browser. Internally it is accelerated by

More information

Chapter 1. Introducing WPF. Objectives: Understand the motivation behind WPF. Examine the various flavors of WPF applications

Chapter 1. Introducing WPF. Objectives: Understand the motivation behind WPF. Examine the various flavors of WPF applications Chapter 1 Introducing WPF Objectives: Understand the motivation behind WPF Examine the various flavors of WPF applications Overview the services provided by WPF Examine the core WPF assemblies and namespaces

More information

CGameState.cs. CGameState.cs. CGameState.cs. CGameState.cs. JewelThiefLevelDesigner/JewelThief/CGameState.cs

CGameState.cs. CGameState.cs. CGameState.cs. CGameState.cs. JewelThiefLevelDesigner/JewelThief/CGameState.cs slide 1 slide 2 JewelThiefLevelDesigner/JewelThief/ namespace JewelThief /// /// This class is used to store the position and /// velocity of a dynamic entity. Note that /// both the position

More information

Hands-on CUDA Optimization. CUDA Workshop

Hands-on CUDA Optimization. CUDA Workshop Hands-on CUDA Optimization CUDA Workshop Exercise Today we have a progressive exercise The exercise is broken into 5 steps If you get lost you can always catch up by grabbing the corresponding directory

More information

Kinect: getting started. Michela Goffredo University Roma TRE

Kinect: getting started. Michela Goffredo University Roma TRE Kinect: getting started 2 Michela Goffredo University Roma TRE goffredo@uniroma3.it What s Kinect Sensor Microsoft Kinect is a motion sensor by Microsoft Xbox which allows to extract: RGB video stream

More information

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear.

The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. 4 Programming with C#.NET 1 Camera The first program we write will display a picture on a Windows screen, with buttons to make the picture appear and disappear. Begin by loading Microsoft Visual Studio

More information

Class Test 4. Question 1. Use notepad to create a console application that displays a stick figure. See figure 1. Question 2

Class Test 4. Question 1. Use notepad to create a console application that displays a stick figure. See figure 1. Question 2 Class Test 4 Marks will be deducted for each of the following: -5 for each class/program that does not contain your name and student number at the top. -2 If program is named anything other than Question1,

More information

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below.

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below. APPENDIX 1 TABLE DETAILS Mainly three tables namely Teacher, Student and Class for small database of a school are used. The snapshots of all three tables are shown below. Details of Class table are shown

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

Create your own Meme Maker in C#

Create your own Meme Maker in C# Create your own Meme Maker in C# This tutorial will show how to create a meme maker in visual studio 2010 using C#. Now we are using Visual Studio 2010 version you can use any and still get the same result.

More information

Lecture 3: Introduction to CUDA

Lecture 3: Introduction to CUDA CSCI-GA.3033-004 Graphics Processing Units (GPUs): Architecture and Programming Lecture 3: Introduction to CUDA Some slides here are adopted from: NVIDIA teaching kit Mohamed Zahran (aka Z) mzahran@cs.nyu.edu

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

Robotic arm manipulation laboratory with a six degree of freedom JACO arm

Robotic arm manipulation laboratory with a six degree of freedom JACO arm Calhoun: The NPS Institutional Archive Theses and Dissertations Thesis Collection 2015-12 Robotic arm manipulation laboratory with a six degree of freedom JACO arm Palacios, Ronald H. Monterey, California:

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

// Specify SEF file to load. oschema = (edischema) oedidoc.loadschema(spath + sseffilename, SchemaTypeIDConstants. Schema_Standard_Exchange_Format);

// Specify SEF file to load. oschema = (edischema) oedidoc.loadschema(spath + sseffilename, SchemaTypeIDConstants. Schema_Standard_Exchange_Format); using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Edidev.FrameworkEDI;

More information

Master Code on Innovation and Inclusion

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

BUILDING A COM/ATL C# CLIENT

BUILDING A COM/ATL C# CLIENT BUILDING A COM/ATL C# CLIENT Bob Coker rcoker06@gmail.com May 27, 2015 OVERVIEW 1. Project Background and Description Before building the COM/ATL client, build the COM/ATL server. The article for this

More information

ESC101 : Fundamental of Computing

ESC101 : Fundamental of Computing ESC101 : Fundamental of Computing End Semester Exam 19 November 2008 Name : Roll No. : Section : Note : Read the instructions carefully 1. You will lose 3 marks if you forget to write your name, roll number,

More information

Introduction to Silverlight

Introduction to Silverlight Fox c01.tex V3-01/30/2009 4:56pm Page 1 Introduction to Silverlight As software development has evolved and the process and end result become more complex and sophisticated, so too has the expectation

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

WARM UP LESSONS BARE BASICS

WARM UP LESSONS BARE BASICS WARM UP LESSONS BARE BASICS CONTENTS Common primitive data types for variables... 2 About standard input / output... 2 More on standard output in C standard... 3 Practice Exercise... 6 About Math Expressions

More information

Register file. A single large register file (ex. 16K registers) is partitioned among the threads of the dispatched blocks.

Register file. A single large register file (ex. 16K registers) is partitioned among the threads of the dispatched blocks. Sharing the resources of an SM Warp 0 Warp 1 Warp 47 Register file A single large register file (ex. 16K registers) is partitioned among the threads of the dispatched blocks Shared A single SRAM (ex. 16KB)

More information

Xamarin.Forms. Pages Building an Interface

Xamarin.Forms. Pages Building an Interface Xamarin.Forms Pages Building an Interface VS and Project Configuration VS: Tools Options only UWP only Android Solution Manage Nuget Packages for Solution Help About All projects Build Configuration Manager

More information

GPU programming CUDA C. GPU programming,ii. COMP528 Multi-Core Programming. Different ways:

GPU programming CUDA C. GPU programming,ii. COMP528 Multi-Core Programming. Different ways: COMP528 Multi-Core Programming GPU programming,ii www.csc.liv.ac.uk/~alexei/comp528 Alexei Lisitsa Dept of computer science University of Liverpool a.lisitsa@.liverpool.ac.uk Different ways: GPU programming

More information

.NET Framework, C# and a little bit of WPF. Ivan Bernabucci University Roma TRE

.NET Framework, C# and a little bit of WPF. Ivan Bernabucci University Roma TRE 2 Ivan Bernabucci University Roma TRE i.bernabucci@uniroma3.it OVERVIEW What is.net? What is FCL? What is CLR? What is C#? Basic Expressions and Operators Creating Project with Visual Studio Exploring

More information

Writing Your First Autodesk Revit Model Review Plug-In

Writing Your First Autodesk Revit Model Review Plug-In Writing Your First Autodesk Revit Model Review Plug-In R. Robert Bell Sparling CP5880 The Revit Model Review plug-in is a great tool for checking a Revit model for matching the standards your company has

More information

Diving into Visual Studio 2015 (Day #5): Debugging Improvements in Visual Studio 2015 (Part 1) -Akhil Mittal

Diving into Visual Studio 2015 (Day #5): Debugging Improvements in Visual Studio 2015 (Part 1) -Akhil Mittal Diving into Visual Studio 2015 (Day #5): Debugging Improvements in Visual Studio 2015 (Part 1) -Akhil Mittal Introduction Visual Studio has always been a great IDE for code debugging. It provides a numerous

More information

In-Class Worksheet #4

In-Class Worksheet #4 CSE 459.24 Programming in C# Richard Kidwell In-Class Worksheet #4 Creating a Windows Forms application with Data Binding You should have Visual Studio 2008 open. 1. Create a new Project either from the

More information

Visual C# Program: Simple Game 3

Visual C# Program: Simple Game 3 C h a p t e r 6C Visual C# Program: Simple Game 3 In this chapter, you will learn how to use the following Visual C# Application functions to World Class standards: Opening Visual C# Editor Beginning a

More information

CUDA Parallelism Model

CUDA Parallelism Model GPU Teaching Kit Accelerated Computing CUDA Parallelism Model Kernel-Based SPMD Parallel Programming Multidimensional Kernel Configuration Color-to-Grayscale Image Processing Example Image Blur Example

More information

Engr 123 Spring 2018 Notes on Visual Studio

Engr 123 Spring 2018 Notes on Visual Studio Engr 123 Spring 2018 Notes on Visual Studio We will be using Microsoft Visual Studio 2017 for all of the programming assignments in this class. Visual Studio is available on the campus network. For your

More information

CUDA From Loops to Grids. S. Markidis, I.B. Peng, S. Rivas-Gomez KTH Royal Institute of Technology

CUDA From Loops to Grids. S. Markidis, I.B. Peng, S. Rivas-Gomez KTH Royal Institute of Technology CUDA From Loops to Grids S. Markidis, I.B. Peng, S. Rivas-Gomez KTH Royal Institute of Technology Motivational Example: dist_v1 Compute an array of distances from a reference point to each of N points

More information