This commit is contained in:
HeshamTB 2018-07-20 03:28:26 +03:00
parent 609eccd75b
commit cfc0f2694e
2 changed files with 3 additions and 11 deletions

View File

@ -1,13 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace OWTrack
{
@ -17,7 +10,6 @@ namespace OWTrack
private const string IS_RUNNING = "Running";
private const string NOT_RUNNING = " Not running";
public Form1()
{
InitializeComponent();
@ -56,11 +48,13 @@ namespace OWTrack
tr.addWin();
update();
}
private void button2_Click(object sender, EventArgs e)
{
tr.addLoss();
update();
}
private void update()
{
Wins.Text = tr.GetWins().ToString();

View File

@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OWTrack
{