Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 Counter
- {
- public partial class MainPage : PhoneApplicationPage
- {
- // Constructor
- public MainPage()
- {
- InitializeComponent();
- }
- int count = 0;
- private void button1_Click(object sender, RoutedEventArgs e)
- {
- int tally_display;
- count++
- tally_display = count;
- lstOutput.Items.Add(tally_display);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement