cleanup
This commit is contained in:
parent
008b889ccd
commit
5818104335
@ -21,7 +21,6 @@ SOFTWARE.*/
|
|||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace OWTrack
|
namespace OWTrack
|
||||||
|
@ -17,10 +17,6 @@ namespace OWTrack
|
|||||||
Application.SetCompatibleTextRenderingDefault(false);
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
Application.Run(new MainForm());
|
Application.Run(new MainForm());
|
||||||
}
|
}
|
||||||
|
public static string Version { get; } = "1.4.3";
|
||||||
public static string Version { get; } = "1.4.3";
|
|
||||||
//public static string Version = Application.ProductVersion;
|
|
||||||
//public static Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,6 @@ namespace OWTrack
|
|||||||
{
|
{
|
||||||
public int wins, losses, startSR, newSR, totalMatches = 0;
|
public int wins, losses, startSR, newSR, totalMatches = 0;
|
||||||
public string gamePath;
|
public string gamePath;
|
||||||
|
|
||||||
public void Track() { }//Deserailize here
|
public void Track() { }//Deserailize here
|
||||||
public void reset() { wins = 0; losses = 0; startSR = 0; newSR = 0; gamePath = null; }
|
public void reset() { wins = 0; losses = 0; startSR = 0; newSR = 0; gamePath = null; }
|
||||||
public void addWin() => wins++;
|
public void addWin() => wins++;
|
||||||
@ -90,6 +89,7 @@ namespace OWTrack
|
|||||||
if (paths.Count > 1)
|
if (paths.Count > 1)
|
||||||
{
|
{
|
||||||
//TODO: ask about correct path
|
//TODO: ask about correct path
|
||||||
|
//New Form??
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,12 +105,7 @@ namespace OWTrack
|
|||||||
MessageBox.Show(e.Message);
|
MessageBox.Show(e.Message);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool ProgramFilesExist(char drive)
|
|
||||||
{
|
|
||||||
return Directory.Exists(drive+":\\Program Files");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static IEnumerable<string> GetFiles(string root, string searchPattern)
|
public static IEnumerable<string> GetFiles(string root, string searchPattern)
|
||||||
{
|
{
|
||||||
|
@ -20,11 +20,7 @@ SOFTWARE.*/
|
|||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace OWTrack
|
namespace OWTrack
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user