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(); private string Version = Program.Version.ToString();
public MainForm() public MainForm()
{ {
InitializeComponent(); InitializeComponent();
tr = new Tracker(); tr = new Tracker();
loadSave(); loadSave();
checkStatus(); checkStatus();
update(); update();
label4.Text = Version; label4.Text = Version;
Text = "OWTrack " + Version; Text = "OWTrack " + Version;
} }
private void checkStatus() private void checkStatus()

View File

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