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.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Diagnostics;
- using System.Windows.Shapes;
- namespace WpfApp1
- {
- /// <summary>
- /// Interaction logic for MainWindow.xaml
- /// </summary>
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
- }
- private void buttonPlusLevel_Click(object sender, RoutedEventArgs e)
- {
- if (textBlockLevel.Text == "1")
- {
- textBlockLevel.Text = "2";
- }
- else if (textBlockLevel.Text == "2")
- {
- textBlockLevel.Text = "3";
- }
- else if (textBlockLevel.Text == "3")
- {
- textBlockLevel.Text = "4";
- }
- }
- private void buttonMinusLevel_Click(object sender, RoutedEventArgs e)
- {
- if (textBlockLevel.Text == "2")
- {
- textBlockLevel.Text = "1";
- }
- else if (textBlockLevel.Text == "3")
- {
- textBlockLevel.Text = "2";
- }
- else if (textBlockLevel.Text == "4")
- {
- textBlockLevel.Text = "3";
- }
- }
- private void button1_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button2_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button3_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button4_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button5_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button6_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button7_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button8_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button9_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button10_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button11_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button12_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button13_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button14_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button15_Click(object sender, RoutedEventArgs e)
- {
- }
- private void button16_Click(object sender, RoutedEventArgs e)
- {
- }
- private void StartButton_Click(object sender, RoutedEventArgs e)
- {
- Stopwatch sw = new Stopwatch();
- sw.Start();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement