private void Form1_Load(object sender, EventArgs e)
{
if (string.IsNullOrWhiteSpace(kModsDirectoryPath))
{
chooseModDirectory();
}
LoadModFiles();
int initialTab = (int)Properties.Settings.Default["InitialTab"];
tabControl.SelectedIndex = initialTab;
if (Properties.Settings.Default.MainFormSize != null)
{
this.Size = Properties.Settings.Default.MainFormSize;
}
}