3 4 5 6 7 8 private void mailButton_Click(object sender, RoutedEventArgs e) { sendMail("From JotPad", jotTextBox.Text); }

Slides:



Advertisements
Similar presentations
Complete Structure class Date {class Date { private :private : // private data and functions// private data and functions public :public : // public data.
Advertisements

Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Class Scope class Student { private: string id; string firstName, lastName; float gpa; public: void Read() { cin >> id >> firstName >> lastName >> gpa;
1 Rich Internet Application 학기 동서대학교 김남우. 2/12 Control Text Control 1.TextBlock 2.TextBox 3.PasswordBox Content Control 1.Button 2.CheckBox 3.ListBoxItem.
APIWP7.1WP8W8 System.Net.WebClient  System.Net.HttpWebRequest (async only) System.Net.Http.HttpClient (NuGet) Windows.Web.Syndication.SyndicationClient.
Msdevcon.ru#msdevcon. Windows Phone 8 Networking Survival Kit Andy Wigley Microsoft UK.
Dinko Jakovljević Microsoft Student Partner | BambooLab
Using Phone Resources Rob S. Miles | Microsoft MVP | University of Hull, UK Andy Wigley | Microsoft MVP | Appa Mundi Session 8.0.
Static vs. Dynamic Relationships CIS 480 System Analysis and Design.
Andy Wigley APPA New Data Features in “Mango”: SQL Server Compact and User Data.
30 April 2014 Building Apps for Windows Phone 8.1 Jump Start WinRT Apps & Silverlight.
ONLINE CONFERENCE DESIGN.BUILD.DELIVE R with WINDOWS PHONE THURSDAY 24 MARCH 2011.
WPH304. announcement LINQ to SQL LINQ to User Data.

Data Binding to Controls Programming in C# Data Binding to Controls CSE 494R (proposed course for 459 Programming in C#) Prof. Roger Crawfis.
Events in C# Events in C#.
Agenda Windows Phone History WP 7.0 Silverlight WP 7.5 Silverlight WP 8.0 Silverlight WP 8.1 Silverlight WP 8.1 WinRT.
Application Code PDP PEP public void borrowBook (User user, Book book, Context context) throws PolicyViolationException { Request request = new Request.
Charles Petzold Launchers and Choosers.
C# Events and WPF #W5. Horizontal Prototype WPF Designed for rapid user interface design Used for many devices: Windows Phone, Tablets, PCs,
V 1.0 Programming III. Automatic notifications (…Changed, INofityPropertyChanged, ObservableCollection ) Data formatters Data conversions Resources.
Uwe Habermann Venelina Jordanova Usage of VFP code in the back- end of Silverswitch applications.
private void Goto2(object sender, Windows.UI.Xaml.RoutedEventArgs e) { var app = App.Current as Common.BootStrapper; var nav = app.NavigationService;
Windows Phone Application Development Using C#/XAML.
Lecture 16: Multithreaded Programming. public partial class Form1 : Form { Thread ct; Thread rt; public static int circle_sleep = 0; public static int.
Национальная процедура одобрения и регистрации проектов (программ) международной технической помощи (исключая представление информации об организации и.
Dog.cs public string name = "Sharo"; public string Name { get { return this.name; } } public void Bark() { Console.WriteLine("wow-wow"); } public void.
Outlook 2003 Rules Creating/Modifing Rules Junk By sender By receipient By Subject By John Marcus – Presentation.
More exercises with C# Fateme Rajabi #W6. Add an image to your project Right click on your project name in solution explorer Add -> Existing item -> browse.

Module 14 Application Settings, State, and Life Cycle.
Getting Images from TouchlessLib. Download, unzip.
3 4 private void loadButton_Click(object sender, RoutedEventArgs e) { string url = " + nameTextBox.Text.
3 4 private void saveButton_Click(object sender, RoutedEventArgs e) { saveText("jot.txt", jotTextBox.Text); }
[ServiceContract] public interface IJokeOfTheDayService { [OperationContract] string GetJoke(int jokeStrength); }
1.NETDelegates & eventsNOEA / PQC Delegates & events Observer pattern Delegates –Semantics –Cil – kode –Anvendelse Events.
3 private void equalsButton_Click( object sender, RoutedEventArgs e) { calculateResult(); }
WebClient client; 10 // Constructor public MainPage() { InitializeComponent(); client = new WebClient(); client.DownloadStringCompleted.
private void Application_Launching(object sender, LaunchingEventArgs e) { } private void Application_Activated(object.
V 1.0 Programming III. Automatic notifications with data binding (…Changed, INofityPropertyChanged, ObservableCollection, DataTemplate) Data formatters.
CPSC 481 – Week #7 Sowmya Somanath
Integral Users will interact with your app on a big screen with keyboard and mouse.
REM function that gets called when the network changes Private Sub OnNetworkChange (ByVal s As Object, _ ByVal a As EventArgs) REM Perform detection.
1.NETDelegates & eventsNOEA / PQC 2007 Delegates & events Observer pattern Delegates –Semantics –Cil – kode –Anvendelse Events.
private void page2Button_Click(object sender, RoutedEventArgs e) { NavigationService.Navigate(new Uri("/PageTwo.xaml", UriKind.RelativeOrAbsolute));
REC [ ] How to implement CAMERA RECORDING for USB WEBCAM or IP CAMERA in C#.NET SOURCE CODE: ! Welcome to this presentation that explains.
Using built-in controls for great touch apps out- of-the-box.
WPF apps can now run well in a Multi Monitor Setup with different DPIs, enabled via manifest setting true/PM New events and.
Methods Matthew Harrison. Overview ● There are five main aspects of methods... ● 1) Modifiers – public, private ● 2) Method Name ● 3) Parameters ● 4)
Computing with C# and the .NET Framework
زبان بدن Body Language.
MUTENESS ASSİSTMENT 1)WHY CHOICE ? 2)ABOUT DESİGN 3)WHICH CODES USING
In the name of God.
Code for WPF.
Example: Checking for correct UK Postcode
Gathering User Input Event Handling Create Dynamic controls
Displaying and Editing Data by Using the Entity Framework and Data Binding Fehim Korhan YAMAN
Programming Assignment 1
Web Service.
s.
Memos © Mgr. Markéta Čeřovská.
Properties.
子母視窗傳值 by JS.
Text Type: s Unit 5 Amazing facts.
Simple MS Access operations
Proxy Pattern Definition of “Proxy”: Authority or power to act for another Original Gang of Four pattern, much used Stands in for a “real object” (similar.
Presentation transcript:

3

4

5

6

7

8

private void mailButton_Click(object sender, RoutedEventArgs e) { sendMail("From JotPad", jotTextBox.Text); }

private void sendMail(string subject, string body) { ComposeTask = new ComposeTask(); .Body = body; .Subject = subject; .Show(); }

using Microsoft.Phone.Tasks;

12

13

14

15

PhotoChooserTask photoChooser; public MainPage() { InitializeComponent(); photoChooser = new PhotoChooserTask(); photoChooser.Completed += new EventHandler (photoChooser_Completed); }

void photoChooser_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { selectedImage.Source = new BitmapImage(new Uri(e.OriginalFileName)); }

void photoChooser_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { selectedImage.Source = new BitmapImage(new Uri(e.OriginalFileName)); }

void photoChooser_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { selectedImage.Source = new BitmapImage(new Uri(e.OriginalFileName)); }

void photoChooser_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { selectedImage.Source = new BitmapImage(new Uri(e.OriginalFileName)); }

private void loadButton_Click(object sender, RoutedEventArgs e) { photoChooser.Show(); }

22