void MainFormFormClosed(object sender, FormClosedEventArgs e) { IniFile ini = new IniFile(""); ini.WriteForm(Name,this); ini.WriteFile("DB",DBpath); ini.WriteFile("OBJ",OBJpath); ini.WriteSplitContainer("splitter1",splitContainer1); ini.WriteSplitContainer("splitter2",splitContainer2); }