Im working on a Program right now whe i want to save some Values to a Ini File when Closinng and Load then UP again when you open the Program.
The Saving works good and looks like this
private void Form2_FormClosing(object sender, FormClosingEventArgs e)
{
INIFile ini = new INIFile("C:\\GodToolSettings.ini");
ini.Write("SalvageKeySave", "Value", SalvageComboBox.SelectedItem.ToString());
ini.Write("InvDropSave", "Value", invdropcombo.SelectedItem.ToString());
ini.Write("GambleSave", "Value", gamblecombo.SelectedItem.ToString());
ini.Write("LClickspamSave", "Value", lclickspamcombo.SelectedItem.ToString());
ini.Write("GemUpsSave", "Value", GemUpsCombo.SelectedItem.ToString());
ini.Write("OpenGRSave", "Value", OpenGRcombo.SelectedItem.ToString());
ini.Write("PauseSave", "Value", PauseCombo.SelectedItem.ToString()); }
Now i want to load then up again when i start the Program how do i do that ?