Lucrare pentru colocviul de practica informatica an II calculatoare COTFAS VLAD CALC 2

Size: px
Start display at page:

Download "Lucrare pentru colocviul de practica informatica an II calculatoare COTFAS VLAD CALC 2"

Transcription

1 Lucrare pentru colocviul de practica informatica an II calculatoare COTFAS VLAD CALC 2 Descriere: Aplicatia este creata cu ajutorul programului Microsoft Visual Studio 2005 CLR form application, si este folosita pentru afisarea unei sinusoide sin(x). Programul este format din 2 NumericUpDown, 4 butoane, si 4 textboxuri. Codul sursa: static int verificaregrid=1; // 0 grid off, 1 grid on, 2 grid static int scalare=0; // 0 scalare off, 1 scalare on #pragma endregion private: System::Void button1_click(system::object^ sender, // modificare obiecte this->label1->location = System::Drawing::Point(12, this- >Height-57); this->numericupdown1->location = System::Drawing::Point(70, this->height-60); this->label2->location = System::Drawing::Point(140, this- >Height-57); this->numericupdown2->location = System::Drawing::Point(220, this->height-60); this->button1->location = System::Drawing::Point(this->Width-95, this- >Height-65); this->button2->location = System::Drawing::Point(this- >Width-170, this->height-65); this->button3->location = System::Drawing::Point(this- >Width-245, this->height-65); this->button4->location = System::Drawing::Point(this- >Width-320, this->height-65); this->label3->location = System::Drawing::Point(this->Width-70, 5); this->label4->location = System::Drawing::Point(this->Width-40, 5);

2 switch (verificaregrid){ case 0: case 1: case 2: this->button2->text="grid off"; break; this->button2->text="grid on"; break; this->button2->text="grid"; break; // initializare System::Drawing::Graphics^ Desen=this->CreateGraphics(); System::Drawing::Pen^ Creion_rosu, ^Creion_blueD, ^Creion_blue, ^Creion_gri, ^Creion_gri_d; Creion_rosu=gcnew System::Drawing::Pen(System::Drawing::Color::Red); Creion_blueD=gcnew System::Drawing::Pen(System::Drawing::Color::DeepSkyBlue); Creion_blue=gcnew System::Drawing::Pen(System::Drawing::Color::SteelBlue); Creion_gri=gcnew System::Drawing::Pen(System::Drawing::Color::Gray); Creion_gri_d=gcnew System::Drawing::Pen(System::Drawing::Color::LightGray); Desen->Clear(System::Drawing::Color(this->BackColor)); int latime=this->width; int inaltime=this->height; double perioadasinus=system::convert::todouble(this- >numericupdown1->value); double inaltimesinus=system::convert::toint32(this- >numericupdown2->value); int factor_s=inaltime/ 2-50+System::Convert::ToInt32(inaltimeSinus); int yy=factor_s; int y=0, i=0; double x;

3 i,inaltime); i,inaltime); i,latime,i); i,latime,i); if(verificaregrid!=0){ for (int i=0; i<=latime; i+=10) if (i%50==0) Desen->DrawLine(Creion_gri, i, 0, else if(verificaregrid!=2) Desen->DrawLine(Creion_gri_d, i, 0, for (int i=0; i<=inaltime; i+=10) if (i%50==0) Desen->DrawLine(Creion_gri, 0, else if(verificaregrid!=2) Desen->DrawLine(Creion_gri_d, 0, 15+inaltime/2-50); Desen->DrawLine(Creion_blueD, 0, 15+inaltime/2-50, latime, Desen->DrawLine(Creion_blueD, 0, 0, 0, inaltime); do { //y=15+inaltimesinus+factor_s*(1-system::math::sin(x)); //x=i*perioadasinus*system::math::pi/100;// ; x=i*perioadasinus*system::math::pi/(latime-15); y=system::convert::toint32(15-inaltimesinus+factor_s*(1-system::math::sin(x))); Desen->DrawLine(Creion_rosu, i-1, yy, i, y); yy=y; i++; while (i<=latime); if(scalare==0){ this->button3->text="scalare off"; else if(this->numericupdown1->value>=6){ //scalare trunchiata this->button3->text="scalare on"; this->clientsize = System::Drawing::Size(System::Convert::ToInt32(perioadaSinus*100), 432);

4 delete Desen, Creion_rosu, Creion_blue, Creion_blueD, Creion_gri, Creion_gri_d; private: System::Void button2_click(system::object^ sender, if(verificaregrid==2) verificaregrid=0; else if(verificaregrid>=0) verificaregrid++; private: System::Void button3_click(system::object^ sender, if(scalare==1) scalare=0; else if(scalare>=0) scalare++; private: System::Void button4_click(system::object^ sender, System::Drawing::Graphics^ Desen; Desen = this->creategraphics(); Desen->Clear(System::Drawing::Color(this->BackColor)); private: System::Void numericupdown1_valuechanged(system::object^ sender, private: System::Void numericupdown2_valuechanged(system::object^ sender, private: System::Void Form1_Resize(System::Object^ sender, private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {

5 private: System::Void Form1_Click(System::Object^ sender, this->label3->text=string::concat(control::mouseposition.x); this->label4->text=string::concat(control::mouseposition.y); ; Poze:

6 3

Lucrare pentru colocviu de practică

Lucrare pentru colocviu de practică Roman Radu-Alexandru Calculatoare an II Lucrare pentru colocviu de practică Descriere: Aplicatia are ca scop functionalitatea unui decodificator si a unui codificator. Converteste un numar din zecimal

More information

Operatii pop si push-stiva

Operatii pop si push-stiva Operatii pop si push-stiva Aplicatia realizata in Microsoft Visual Studio C++ 2010 permite simularea operatiilor de introducere si extragere a elementelor dintr-o structura de tip stiva.pentru aceasta

More information

Convertor Binar -> Zecimal Rosu Alin, Calculatoare, An2 Mod de Functionare: Am creat un program, in Windows Form Application, care converteste un

Convertor Binar -> Zecimal Rosu Alin, Calculatoare, An2 Mod de Functionare: Am creat un program, in Windows Form Application, care converteste un Convertor Binar -> Zecimal Rosu Alin, Calculatoare, An2 Mod de Functionare: Am creat un program, in Windows Form Application, care converteste un numar binar, in numar zecimal. Acest program are 4 numericupdown-uri

More information

Lampiran B. Program pengendali

Lampiran B. Program pengendali Lampiran B Program pengendali #pragma once namespace serial using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms;

More information

namespace Tst_Form { private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components;

namespace Tst_Form { private: /// <summary> /// Required designer variable. /// </summary> System::ComponentModel::Container ^components; Exercise 9.3 In Form1.h #pragma once #include "Form2.h" Add to the beginning of Form1.h #include #include For srand() s input parameter namespace Tst_Form using namespace System; using

More information

#pragma comment(lib, "irrklang.lib") #include <windows.h> namespace SuperMetroidCraft {

#pragma comment(lib, irrklang.lib) #include <windows.h> namespace SuperMetroidCraft { Downloaded from: justpaste.it/llnu #pragma comment(lib, "irrklang.lib") #include namespace SuperMetroidCraft using namespace System; using namespace System::ComponentModel; using namespace

More information

Exemplu pentru utilizarea metodelor grafice

Exemplu pentru utilizarea metodelor grafice Exemplu pentru utilizarea metodelor grafice In cadrul cursului, metodele grafice vor fi exemplificate folosind programul de mai jos. System::Windows::Forms::Cursor ^cursor_creion; Image ^img_bg,^img,^img_temp;

More information

using namespace System::Drawing::Drawing2D; using namespace System::Collections::Generic;

using namespace System::Drawing::Drawing2D; using namespace System::Collections::Generic; using namespace System::Drawing::Drawing2D; using namespace System::Collections::Generic; private: System::Void Form1_Load(System::Object^ System::EventArgs^ e) Text = "Grafika"; tabpage1->text = "2D";

More information

APARAT DE MASURA. Descrierea programului

APARAT DE MASURA. Descrierea programului APARAT DE MASURA Descrierea programului Acest program reprezinta un aparat de masura universal. Acest apparat poate fi modificat in functie de necesitatile utilizatorului. Modificarile pe care aparatul

More information

and event handlers Murach's C# 2012, C6 2013, Mike Murach & Associates, Inc. Slide 1

and event handlers Murach's C# 2012, C6 2013, Mike Murach & Associates, Inc. Slide 1 Chapter 6 How to code methods and event handlers Murach's C# 2012, C6 2013, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Given the specifications for a method, write the method. 2. Give

More information

Nano River Technologies April 2009

Nano River Technologies April 2009 Miniboard Nano River Technologies April 2009 Rev: 1.4 (Apr 2009) Nano River Technolgies Page 1 of 67 Table of Contents 1. OVERVIEW... 4 2. WINDOWS GPIO TOOL... 5 2.1. FUNCTIONALITY... 5 2.2. PROJECT STRUCTURE...

More information

Using VO Windows in a.net Windows Form Application

Using VO Windows in a.net Windows Form Application Using VO Windows in a.net Windows Form Application Paul Piko, February 2010 This article shows how to use a VO datawindow in a Vulcan.NET Windows Form application. It makes use of the class WinFormVOWindowHost

More information

Classes in C# namespace classtest { public class myclass { public myclass() { } } }

Classes in C# namespace classtest { public class myclass { public myclass() { } } } Classes in C# A class is of similar function to our previously used Active X components. The difference between the two is the components are registered with windows and can be shared by different applications,

More information

Given the C++ declaration statement below, which of the following represents the value of exforsys? e) None of the above. 1K

Given the C++ declaration statement below, which of the following represents the value of exforsys? e) None of the above. 1K Instruction: When specified, you may choose more than one answer; otherwise, choose ONE answer for each question. Choose the answer(s) by circling it/them on the Answer Sheet provided. Questions 1-12 are

More information

SDI & MDI Applications

SDI & MDI Applications SDI & MDI Applications Pemrograman Visual (TH22012 ) by Kartika Firdausy 081.328.718.768 kartikaf@indosat.net.id kartika@ee.uad.ac.id blog.uad.ac.id/kartikaf kartikaf.wordpress.com SDI and MDI Fundamentals

More information

Rezolvare fişă de laborator Java Iniţiere în limbajul Java

Rezolvare fişă de laborator Java Iniţiere în limbajul Java Rezolvare fişă de laborator Java Iniţiere în limbajul Java Ex 1: Scrie următorul program Java folosind JCreator apoi încercă să-l înţelegi. public class primulprg System.out.println("Acesta este primul

More information

Laborator 8 Java Crearea claselor de obiecte. Variabilele (campurile) clasei de obiecte

Laborator 8 Java Crearea claselor de obiecte. Variabilele (campurile) clasei de obiecte Laborator 8 Java Crearea claselor de obiecte. Variabilele (campurile) clasei de obiecte Probleme rezolvate: Scrieti, compilati si rulati toate exemplele din acest laborator: 1. Programul urmator (LotoConstante.java)

More information

Laborator 3 Java. Introducere in programarea vizuala

Laborator 3 Java. Introducere in programarea vizuala Laborator 3 Java Introducere in programarea vizuala 1. Pachetele AWT si Swing. 2. Ferestre 3.1. Introduceti urmatorul program JAVA: public class Pv public static void main(string args[ ]) JFrame fer=new

More information

Getting started with Java

Getting started with Java Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly

More information

Curs practic de Java

Curs practic de Java Curs practic de Java Curs - Cristian Frăsinaru acf@infoiasi.ro Facultatea de Informatică Universitatea Al. I. Cuza Iaşi Internaţionalizarea Curs practic de Java p.1/1 Cuprins Introducere Clasa Locale Formatarea

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

PNI SmartCAM. versiune Android. - manual de utilizare-

PNI SmartCAM. versiune Android. - manual de utilizare- PNI SmartCAM versiune Android - manual de utilizare- Introducere: Acest manual se refera la instalarea si utilizarea aplicatiei PNI SmartCAM, software necesar monitorizarii atat camerei cu IP PNI 631W,

More information

Laborator 5 Instrucțiunile repetitive

Laborator 5 Instrucțiunile repetitive Laborator 5 Instrucțiunile repetitive Instrucțiunea for Instrucțiunea for permite repetarea unei secvențe de instrucțiuni atâta timp cât o condiție este îndeplinita. În plus, oferă posibilitatea execuției

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

Lab 4: Adding a Windows User-Interface

Lab 4: Adding a Windows User-Interface Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using

More information

GHID DE UTILIZARE A APLICAȚIEI MINISTRA PLAY PE SMART TV

GHID DE UTILIZARE A APLICAȚIEI MINISTRA PLAY PE SMART TV GHID DE UTILIZARE A APLICAȚIEI MINISTRA PLAY PE SMART TV TV Deschide aplicația Ministra Play din bara de jos a interfeței TV. Selectează aplicația Ministra Play utilizând cursorul telecomenzii. Apar 4

More information

BAZE DE DATE SUPORT PENTRU AFACERI

BAZE DE DATE SUPORT PENTRU AFACERI ACADEMIA DE STUDII ECONOMICE FACULTATEA DE CIBERNETICĂ, STATISTICĂ ŞI INFORMATICĂ ECONOMICĂ BAZE DE DATE SUPORT PENTRU AFACERI http://bdsa.ase.ro PROGRAM DE MASTERAT COMPLEMENTAR DESFĂŞURAT ÎN COLABORARE

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Faculty of Engineering. Computer Programming Closed-book Written Test 3 Date: 28 March 2009 Time: 2:30 3:30 pm

THE HONG KONG POLYTECHNIC UNIVERSITY Faculty of Engineering. Computer Programming Closed-book Written Test 3 Date: 28 March 2009 Time: 2:30 3:30 pm THE HONG KONG POLYTECHNIC UNIVERSITY Faculty of Engineering Computer Programming Closed-book Written Test 3 Date: 28 March 2009 Time: 2:30 3:30 pm Name: Programme Code: Student No. This test aims at assessing

More information

AppOBP > PrOBPT > class Timp import java.text.decimalformat;

AppOBP > PrOBPT > class Timp import java.text.decimalformat; AppOBP > PrOBPT > class Timp import java.text.decimalformat; public class Timp { private int hour; // 0-23 private int minute; // 0-59 private int second; // 0-59 // constructorul Timp initializeaza fiecare

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

Instructions for writing Web Services using Microsoft.NET:

Instructions for writing Web Services using Microsoft.NET: Instructions for writing Web Services using Microsoft.NET: Pre-requisites: Operating System: Microsoft Windows XP Professional / Microsoft Windows 2000 Professional / Microsoft Windows 2003 Server.NET

More 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

Database Applications

Database Applications Database Applications Pemrograman Visual (TH22012 ) by Kartika Firdausy 081.328.718.768 kartikaf@indosat.net.id kartika@ee.uad.ac.id blog.uad.ac.id/kartikaf kartikaf.wordpress.com Introduction A database

More information

32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio

32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio 1 2 Conexiune - Oracle.ManagedDataAccess.Client... 3 using Oracle.ManagedDataAccess.Client;... public partial class

More information

Ingineria Sistemelor de Programare

Ingineria Sistemelor de Programare Ingineria Sistemelor de Programare Interfete grafice (Swing) mihai.hulea@aut.utcluj.ro 2017 Scurt istoric AWT: Abstract Windowing Toolkit import java.awt.* Swing Java FX Swing Demo Libraria Swing Swing

More information

JDBC Accesul la baze de date

JDBC Accesul la baze de date TEHNOLOGII JAVA PENTRU DEZVOLTAREA APLICAŢIILOR LUCRARE DE LABORATOR 21 JDBC Accesul la baze de date I. SCOPUL LUCRĂRII Lucrarea de faţă are rolul de a prezenta şi familiariza studentul cu modul de accesare

More information

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events Working with Form: properties, methods and events To create a New Window Forms Application, Select File New Project. It will open one dialog box which is shown in Fig 2.1. Fig 2.1 The New Project dialog

More information

Using the Quinn-Curtis.Net Software (QCChart2D and QCRTGraph) with Managed C++ (MC++)

Using the Quinn-Curtis.Net Software (QCChart2D and QCRTGraph) with Managed C++ (MC++) Using the Quinn-Curtis Net Software (QCChart2D and QCRTGraph) with Managed C++ (MC++) August 9, 2005 Starting with Visual Studio 2003, you can create a Managed C++ application that interfaces to the Quinn-Curtis

More information

Parallel Programming Languages 1 - OpenMP

Parallel Programming Languages 1 - OpenMP some slides are from High-Performance Parallel Scientific Computing, 2008, Purdue University & CSCI-UA.0480-003: Parallel Computing, Spring 2015, New York University Parallel Programming Languages 1 -

More information

C13. INTERFATA PARALELA PROGRAMABILA (PPI) I8255A (PIO)

C13. INTERFATA PARALELA PROGRAMABILA (PPI) I8255A (PIO) C13. INTERFATA PARALELA PROGRAMABILA (PPI) I8255A (PIO) 1.Descriere PIO 2. Arhitectura PIO 3. Programare PIO 4. PIO in PC 5. Aplicatii http://www.advancedmsinc.com/iocards/8255.htm http://www.eisti.fr/~ga/phy/iitr/ii05/tr.pdf

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

1 de :02

1 de :02 1 de 6 02-12-2005 18:02!" $%$&&$ ' ( ) ) * +,"* (-)( )(*) ) ). /) %) ( ( -( *)% ) (0 ( " ' * ) *) *)(%* % ) (!%12%! ( ) ( ( )*)3 *) ( *(-)( %. )(( ) *(!() 2 ( (6 &)*7 8 ( 1( -(! ", % ' ( *.() (%) )() (

More information

Laborator 9. Programare orientată pe obiecte Laborator 9. 1) Să se realizeze o aplicaţie care să rezolve ecuaţii de gradul al doilea.

Laborator 9. Programare orientată pe obiecte Laborator 9. 1) Să se realizeze o aplicaţie care să rezolve ecuaţii de gradul al doilea. Laborator 9 1) Să se realizeze o aplicaţie care să rezolve ecuaţii de gradul al doilea. Interfaţa aplicaţiei va fi următoarea Casetelor text li se vor da denumirile: camp_a, camp_b, camp_c, rez. Evenimentului

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

Documentation: RAG Regression Analysis Graph

Documentation: RAG Regression Analysis Graph Documentation: RAG Regression Analysis Graph Contents: by Marius Ebel Documentation: RAG Regression Analysis Graph... 1 Overview... 2 LinkedInt64List... 2 RAGGraph... 2 RAG... 2 Details... 2 TRAGGraphType

More information

Laborator 2 Aplicatii Java

Laborator 2 Aplicatii Java Laborator 2 Aplicatii Java Introducere in programarea vizuala - Pachetul AWT Scrieti, compilati si rulati toate exemplele din acest laborator: 1. import java.awt.*; class First extends Frame First() Button

More information

C++/CLI Essentials. Student Guide Revision 1.0. Object Innovations Course 431

C++/CLI Essentials. Student Guide Revision 1.0. Object Innovations Course 431 C++/CLI Essentials Student Guide Revision 1.0 Object Innovations Course 431 C++/CLI Essentials Rev. 1.0 Student Guide Information in this document is subject to change without notice. Companies, names

More information

Using the TekScope IVI-COM Driver from C#.NET

Using the TekScope IVI-COM Driver from C#.NET Using the TekScope IVI-COM Driver from C#.NET Introduction This document describes the step-by-step procedure for using the TekScope IVI- COM driver from a.net environment using C#. Microsoft.Net supports

More information

Multimedia. If the user is working on a spreadsheet, he or she may start typing numbers and performing calculations.

Multimedia. If the user is working on a spreadsheet, he or she may start typing numbers and performing calculations. Multimedia Pemrograman Visual (TH22012 ) by Kartika Firdausy 081.328.718.768 kartikaf@indosat.net.id kartika@ee.uad.ac.id blog.uad.ac.id/kartikaf kartikaf.wordpress.com The Open Dialog Box When creating

More information

Birotică Profesională. Cursul 12

Birotică Profesională. Cursul 12 Birotică Profesională Cursul 12 Sumar Visual Basic for Applications (VBA) Tipuri de date Structuri de control Funcţii si proceduri Obiecte si colecţii VBA Mediu de programare destinat in special realizării

More information

JDBC Java Database Connectivity

JDBC Java Database Connectivity Page 1 TEHNICI AVANSATE DE PROGRAMARE LUCRARE DE LABORATOR 10 JDBC Java Database Connectivity I. SCOPUL LUCRĂRII Lucrarea de faţă are rolul de a prezenta şi familiariza studentul cu modul de accesare si

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

ANALYSIS OF DATA TRANSMITTED BETWEEN THE SERVER AND THE CLIENT THROUGH DIFFERENT TYPES OF COMMUNICATION

ANALYSIS OF DATA TRANSMITTED BETWEEN THE SERVER AND THE CLIENT THROUGH DIFFERENT TYPES OF COMMUNICATION BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI Publicat de Universitatea Tehnică Gheorghe Asachi din Iaşi Tomul LIX (LXIII), Fasc. 1, 2013 Secţia ELECTROTEHNICĂ. ENERGETICĂ. ELECTRONICĂ ANALYSIS OF DATA TRANSMITTED

More information

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. Charting.aspx 1 1 Imports System 2 Imports cete.dynamicpdf.pageelements 3 Imports cete.dynamicpdf 4 Imports

More information

ICS3C/4C/3U/4U Unit 2 Workbook Selection: If Statement

ICS3C/4C/3U/4U Unit 2 Workbook Selection: If Statement Selection: If Statement Selection allows a computer to do different things based on the situation. The if statement checks if something is true and then runs the appropriate code. We will start learning

More information

Syllabus. 1. Program information. 2. Course information Instructors. 3. Total estimated time. 4. Prerequisites. Page 1/5

Syllabus. 1. Program information. 2. Course information Instructors. 3. Total estimated time. 4. Prerequisites. Page 1/5 Syllabus 1. Program information 1.1. Institution ACADEMY OF ECONOMIC STUDIES 1.2. Faculty Economic Cybernetics, Statistics and Informatics 1.3. Departments (Departament) INFORMATICA SI CIBERNETICA ECONOMICA

More information

Developing an app using Web Services, DB2, and.net

Developing an app using Web Services, DB2, and.net Developing an app using Web Services, DB2, and.net http://www7b.software.ibm.com/dmdd/ Table of contents If you're viewing this document online, you can click any of the topics below to link directly to

More information

Dr. House Developer Documentation

Dr. House Developer Documentation Dr. House Developer Documentation This application is a basic graphical user interface framework for experiments on architectural meshes. The meshes are displayed in the form of wires or polygons inside

More information

Tehnici avansate de programare

Tehnici avansate de programare Tehnici avansate de programare Curs - Cristian Frăsinaru acf@infoiasi.ro Facultatea de Informatică Universitatea Al. I. Cuza Iaşi Adnotarea elementelor Tehnici avansate de programare p.1/1 Cuprins Ce sunt

More information

Drawing Geometrical Objects. Graphic courtesy of Eric Roberts

Drawing Geometrical Objects. Graphic courtesy of Eric Roberts Methods Drawing Geometrical Objects Graphic courtesy of Eric Roberts Drawing Geometrical Objects Constructors new GRect( x, y, width, height) Creates a rectangle whose upper left corner is at (x, y) of

More information

Fişiere in C++ Un fişier este o colecţie de date indicat printr-un nume şi o extensie. Numele este desparţit de extensie prin punct.

Fişiere in C++ Un fişier este o colecţie de date indicat printr-un nume şi o extensie. Numele este desparţit de extensie prin punct. Fişiere in C++ Un fişier este o colecţie de date indicat printr-un nume şi o extensie. Numele este desparţit de extensie prin punct. Avantajul lucrului cu fisiere este evident, datele rezultate în urma

More information

Exercises C-Programming

Exercises C-Programming Exercises C-Programming Claude Fuhrer (claude.fuhrer@bfh.ch) 0 November 016 Contents 1 Serie 1 1 Min function.................................. Triangle surface 1............................... 3 Triangle

More information

Abandoned Cart - Magento 2 USER MANUAL MAGEDELIGHT.COM

Abandoned Cart  - Magento 2 USER MANUAL MAGEDELIGHT.COM Abandoned Cart Email - Magento 2 USER MANUAL MAGEDELIGHT.COM License Key After successful installation of Abandoned Cart Email extension, you are now required to configure the license key in the admin

More information

mith College Computer Science CSC103 How Computers Work Week 7 Fall 2017 Dominique Thiébaut

mith College Computer Science CSC103 How Computers Work Week 7 Fall 2017 Dominique Thiébaut mith College Computer Science CSC103 How Computers Work Week 7 Fall 2017 Dominique Thiébaut dthiebaut@smith.edu Important Review Does the animation leave a trace? Are the moving objects move without a

More information

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class

OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class OVERLOADING METHODS AND CONSTRUCTORS: The Ball Class Create a Ball Demo program that uses a Ball class. Use the following UML diagram to create the Ball class: Ball - ballcolor: Color - ballwidth, ballheight:

More information

PLC APPLICATION FOR BRUSHLESS MOTOR POSITIONING

PLC APPLICATION FOR BRUSHLESS MOTOR POSITIONING BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI Publicat de Universitatea Tehnică Gheorghe Asachi din Iaşi Volumul 64 (68), Numărul 2, 2018 Secţia ELECTROTEHNICĂ. ENERGETICĂ. ELECTRONICĂ PLC APPLICATION FOR

More information

Capturing the Mouse. Dragging Example

Capturing the Mouse. Dragging Example Capturing the Mouse In order to allow the user to drag something, you need to keep track of whether the mouse is "down" or "up". It is "down" from the MouseDown event to the subsequent MouseUp event. What

More information

OhioState::OpenGLPanel. OpenGL and Windows. Public methods. OpenGLPanel : Forms::Control

OhioState::OpenGLPanel. OpenGL and Windows. Public methods. OpenGLPanel : Forms::Control OhioState::OpenGLPanel OpenGL and Windows Windows Forms Programming Roger Crawfis The simplest possible canvas or rendering context. No assumptions are made (single buffer, double buffer, etc.) Burden

More information

CT862 Section 1 Introduction

CT862 Section 1 Introduction CT862 Section 1 Introduction VB.NET: VB introduced in 1991 Provided the first easily accessible means of writing Windows applications o The VB IDE was inherently graphical and mirrored the Windows OS itself

More information

Nebraska - eforms. Tips and Tricks

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

Metodele ShowDialog() şi Clear(). Evenimentul MouseEnter.

Metodele ShowDialog() şi Clear(). Evenimentul MouseEnter. Metodele ShowDialog() şi Clear(). Evenimentul MouseEnter. Exemplu: Casete de dialog Evenimentul MouseEnter al unui control vă permite ca la o simplă plimbare pe buton fără a executa clic pe el, să se execute

More information

Creating a nice GUI. OpenGL and Windows. Note: VS 2003 shown. Create a new Project

Creating a nice GUI. OpenGL and Windows. Note: VS 2003 shown. Create a new Project Creating a nice GUI OpenGL and Windows Windows Forms Programming Roger Crawfis The next several slides will walk you thru a particular design that I like for my applications. The order can be a little

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. ContactList.aspx 1 1 using System; 2 using System.Data; 3 using System.Data.SqlClient; 4 using cete.dynamicpdf;

More information

For this example, we will set up a small program to display a picture menu for a fast food take-away shop.

For this example, we will set up a small program to display a picture menu for a fast food take-away shop. 146 Programming with C#.NET 9 Fast Food This program introduces the technique for uploading picture images to a C# program and storing them in a database table, in a similar way to text or numeric data.

More information

CSCI 111 Midterm 1, version A Exam Fall Solutions 09.00am 09.50am, Tuesday, October 13, 2015

CSCI 111 Midterm 1, version A Exam Fall Solutions 09.00am 09.50am, Tuesday, October 13, 2015 QUEENS COLLEGE Department of Computer Science CSCI 111 Midterm 1, version A Exam Fall 2015 10.13.15 Solutions 09.00am 09.50am, Tuesday, October 13, 2015 Problem 1 Write a complete C++ program that does

More information

The following program computes a Calculus value, the "trapezoidal approximation of

The following program computes a Calculus value, the trapezoidal approximation of Multicore machines and shared memory Multicore CPUs have more than one core processor that can execute instructions at the same time. The cores share main memory. In the next few activities, we will learn

More information

CSC 211 Intermediate Programming

CSC 211 Intermediate Programming Introduction CSC 211 Intermediate Programming Graphical User Interface Concepts: Part 1 Graphical user interface Allow interaction with program visually Give program distinct look and feel Built from window

More information

www.openwire.org www.mitov.com Copyright Boian Mitov 2004-2014 Index Installation...3 Where is VisionLab?...3 Creating a new VisionLab project in Visual C#...3 Installing the components on the Toolbox...5

More information

User-Defined Controls

User-Defined Controls C# cont d (C-sharp) (many of these slides are extracted and adapted from Deitel s book and slides, How to Program in C#. They are provided for CSE3403 students only. Not to be published or publicly distributed

More 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

Error! Bookmark not defined.

Error! Bookmark not defined. SEMINAR 06 CONTENTS Enuntul Problemei... 1 Repository... 2 Memory... 2 XML... 3 GUI... 4 Forma Selectie... 4 Forma Programator... 5 Forma Tester... 6 Java... 7 Mecanismul de Transmitere al Evenimentelor

More information

Laborator 3 Aplicatii Java

Laborator 3 Aplicatii Java Laborator 3 Aplicatii Java 1. Programarea vizuala Scrieti, compilati si rulati toate exemplele din acest laborator: 1. Fisierul se numeste testschimbareculori.java: import java.awt.*; import java.awt.event.*;

More information

Keeping Track, Menus. CSC 330 Object-Oriented Programming 1

Keeping Track, Menus. CSC 330 Object-Oriented Programming 1 Keeping Track, Menus CSC 330 Object-Oriented Programming 1 Chapter Objectives Keeping Track Create menus and submenus for program control Display and use the Windows common dialog boxes Create context

More information

We're going to show you how to draw a variety of items including: Lines, simple shapes. Images from bitmap and other image files. Text.

We're going to show you how to draw a variety of items including: Lines, simple shapes. Images from bitmap and other image files. Text. Graphics with GDI+ This is the second of the two chapters in this book that covers the elements of interacting directly with the user, that is displaying information on the screen and accepting user input

More information

Menus. You ll find MenuStrip listed in the Toolbox. Drag one to your form. Where it says Type Here, type Weather. Then you ll see this:

Menus. You ll find MenuStrip listed in the Toolbox. Drag one to your form. Where it says Type Here, type Weather. Then you ll see this: Menus In.NET, a menu is just another object that you can add to your form. You can add objects to your form by drop-and-drag from the Toolbox. If you don t see the toolbox, choose View Toolbox in the main

More information

visual studio vs#d express windows desktop

visual studio vs#d express windows desktop Free software used in development 1. Visual studio express 2013 for desktop applications. Express versions are free without time limit, only thing you need is Microsoft account (but you can download and

More information

Quartz. ArcGIS Runtime SDK for Android

Quartz. ArcGIS Runtime SDK for Android Quartz ArcGIS Runtime SDK for Android Quartz (beta) Ce ofera? Utilizarea OpenGL controale si functionalitati de performanta inalta; utilizarea de Vector Tile Package utilizarea Map Package; biblioteci

More information

Graphics with GDI + WHAT S IN THIS CHAPTER?

Graphics with GDI + WHAT S IN THIS CHAPTER? 48 Graphics with GDI + WHAT S IN THIS CHAPTER? Principles of drawing Colors and the safety palette Pens and brushes Lines and simple shapes BMP images and other image fi les Drawing Text Fonts and font

More information

1. Introduction to the OpenCV library

1. Introduction to the OpenCV library Image Processing - Laboratory 1: Introduction to the OpenCV library 1 1. Introduction to the OpenCV library 1.1. Introduction The purpose of this laboratory is to acquaint the students with the framework

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab Enrique Muñoz Ballester Dipartimento di Informatica via Bramante 65, 26013 Crema (CR), Italy enrique.munoz@unimi.it Contact Email: enrique.munoz@unimi.it Office: Room BT-43 Industrial,

More information

This is the start of the server code

This is the start of the server code This is the start of the server code using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Net; using System.Net.Sockets;

More information

Porting your Dyalog Application to Internet

Porting your Dyalog Application to Internet Porting your Dyalog Application to Internet by Eric Lescasse Lescasse Consulting 18 rue de la Belle Feuille 92100 Boulogne eric@lescasse.com http://www.lescasse.com September 11, 2007 Introduction There

More information

OFFICE MAX. Selectie produse. disponibile pentru comandă online la data de

OFFICE MAX. Selectie produse. disponibile pentru comandă online la data de OFFICE MAX S.R.L. CIF RO10839469, Nr. Reg. Com. J40/7425/1998 HQ: Str. Siret 95, Bucuresti-1. Capital Social: 21000 lei Sediu Social: Bd. Ion Mihalache 70-84, Bucuresti-1 Cont RO14 RNCB 0072 1303 5331

More information

Introduction to Matlab

Introduction to Matlab Introduction to Matlab 1 Outline: What is Matlab? Matlab Screen Variables, array, matrix, indexing Operators (Arithmetic, relational, logical ) Display Facilities Flow Control Using of M-File Writing User

More information

Programming with Visual Studio Higher (v. 2013)

Programming with Visual Studio Higher (v. 2013) Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:

More information

DISTRIBUTED DIFFERENTIAL CRIPTANALYSIS OF FEAL - 8

DISTRIBUTED DIFFERENTIAL CRIPTANALYSIS OF FEAL - 8 BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI Publicat de Universitatea Tehnică Gheorghe Asachi din Iaşi Tomul LV (LIX), Fasc. 1, 2009 SecŃia AUTOMATICĂ şi CALCULATOARE DISTRIBUTED DIFFERENTIAL CRIPTANALYSIS

More information

CS 160: Interactive Programming

CS 160: Interactive Programming CS 160: Interactive Programming Professor John Canny 3/8/2006 1 Outline Callbacks and Delegates Multi-threaded programming Model-view controller 3/8/2006 2 Callbacks Your code Myclass data method1 method2

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