Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.31 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Navigation;
  14. using System.Diagnostics;
  15. using System.Windows.Shapes;
  16.  
  17.  
  18. namespace WpfApp1
  19. {
  20.  
  21.     /// <summary>
  22.     /// Interaction logic for MainWindow.xaml
  23.     /// </summary>
  24.     public partial class MainWindow : Window
  25.     {
  26.  
  27.         public MainWindow()
  28.         {
  29.  
  30.             InitializeComponent();
  31.  
  32.            
  33.         }
  34.  
  35.         private void buttonPlusLevel_Click(object sender, RoutedEventArgs e)
  36.         {
  37.             if (textBlockLevel.Text == "1")
  38.             {
  39.                 textBlockLevel.Text = "2";
  40.             }
  41.  
  42.             else if (textBlockLevel.Text == "2")
  43.             {
  44.                 textBlockLevel.Text = "3";
  45.             }
  46.  
  47.             else if (textBlockLevel.Text == "3")
  48.             {
  49.                 textBlockLevel.Text = "4";
  50.             }
  51.            
  52.         }
  53.  
  54.         private void buttonMinusLevel_Click(object sender, RoutedEventArgs e)
  55.         {
  56.             if (textBlockLevel.Text == "2")
  57.             {
  58.                 textBlockLevel.Text = "1";
  59.             }
  60.  
  61.             else if (textBlockLevel.Text == "3")
  62.             {
  63.                 textBlockLevel.Text = "2";
  64.             }
  65.  
  66.             else if (textBlockLevel.Text == "4")
  67.             {
  68.                 textBlockLevel.Text = "3";
  69.             }
  70.         }
  71.  
  72.         private void button1_Click(object sender, RoutedEventArgs e)
  73.         {
  74.  
  75.         }
  76.  
  77.         private void button2_Click(object sender, RoutedEventArgs e)
  78.         {
  79.  
  80.         }
  81.  
  82.         private void button3_Click(object sender, RoutedEventArgs e)
  83.         {
  84.  
  85.         }
  86.  
  87.         private void button4_Click(object sender, RoutedEventArgs e)
  88.         {
  89.  
  90.         }
  91.  
  92.         private void button5_Click(object sender, RoutedEventArgs e)
  93.         {
  94.  
  95.         }
  96.  
  97.         private void button6_Click(object sender, RoutedEventArgs e)
  98.         {
  99.  
  100.         }
  101.  
  102.         private void button7_Click(object sender, RoutedEventArgs e)
  103.         {
  104.  
  105.         }
  106.  
  107.         private void button8_Click(object sender, RoutedEventArgs e)
  108.         {
  109.  
  110.         }
  111.  
  112.         private void button9_Click(object sender, RoutedEventArgs e)
  113.         {
  114.  
  115.         }
  116.  
  117.         private void button10_Click(object sender, RoutedEventArgs e)
  118.         {
  119.  
  120.         }
  121.  
  122.         private void button11_Click(object sender, RoutedEventArgs e)
  123.         {
  124.  
  125.         }
  126.  
  127.         private void button12_Click(object sender, RoutedEventArgs e)
  128.         {
  129.  
  130.         }
  131.  
  132.         private void button13_Click(object sender, RoutedEventArgs e)
  133.         {
  134.  
  135.         }
  136.  
  137.         private void button14_Click(object sender, RoutedEventArgs e)
  138.         {
  139.  
  140.         }
  141.  
  142.         private void button15_Click(object sender, RoutedEventArgs e)
  143.         {
  144.  
  145.         }
  146.  
  147.         private void button16_Click(object sender, RoutedEventArgs e)
  148.         {
  149.  
  150.         }
  151.        
  152.         private void StartButton_Click(object sender, RoutedEventArgs e)
  153.         {
  154.             Stopwatch sw = new Stopwatch();
  155.             sw.Start();
  156.         }
  157.     }
  158. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement