PROGRAM 3= LIST BOX.... XAML CODE= - TopicsExpress



          

PROGRAM 3= LIST BOX.... XAML CODE= C# CODE,,, using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Controls; namespace ListBox { public partial class MainPage : PhoneApplicationPage { int t = 0; // Constructor public MainPage() { InitializeComponent(); total.Text =t.ToString(); } private void btnAdd_Click(object sender, RoutedEventArgs e) { t++; listBox1.Items.Add(newItem.Text); total.Text =t.ToString(); } } }
Posted on: Sat, 24 Aug 2013 06:31:02 +0000

Trending Topics



Recently Viewed Topics




© 2015