public void SettingsOpen(string fileName) { if (!(fileName.Contains("/") && fileName.Contains(@"\"))) { fileName = Directory.GetCurrentDirectory() + @"\" + fileName; } this.ini = new IniReader(fileName); }
public void SettingsClose() { this.ini = null; }