Formatting

This commit is contained in:
HeshamTB 2018-12-23 20:41:28 +03:00
parent 8f3d764114
commit 74cd192c8a
2 changed files with 6 additions and 6 deletions

View File

@ -34,14 +34,14 @@ namespace OWTrack
private string Version = Program.Version.ToString();
public MainForm()
{
{
InitializeComponent();
tr = new Tracker();
tr = new Tracker();
loadSave();
checkStatus();
update();
label4.Text = Version;
Text = "OWTrack " + Version;
Text = "OWTrack " + Version;
}
private void checkStatus()

View File

@ -29,7 +29,7 @@ namespace OWTrack
class Tracker
{
public int wins, losses, startSR, newSR, totalMatches = 0;
public void addWin() => wins++;
public void addLoss() => losses++;
public void reduceWin() => wins--;
@ -65,7 +65,7 @@ namespace OWTrack
sessions.Clear();
StartNewSeission();
}
public void StartNewSeission()
{
Session ses = new Session(startSR);
@ -178,7 +178,7 @@ namespace OWTrack
public int SkillChange;
public int StartSR;
public DateTime date;
public List<Match> Matches = new List<Match>();
public List<Match> Matches = new List<Match>();
/// <summary>
/// Start a new session with a starting Skill Rating