Esempio n. 1
0
 void DoSaveSizeAndLocation()
 {
     ConfigurationLoader.OnSetValue("w", Width.ToString());
     ConfigurationLoader.OnSetValue("h", Height.ToString());
     ConfigurationLoader.OnSetValue("t", Top.ToString());
     ConfigurationLoader.OnSetValue("l", Left.ToString());
     ConfigurationLoader.OnSetValue("split", splitContainer.SplitterDistance.ToString());
     ConfigurationLoader.OnSaveBack();
 }
Esempio n. 2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(inputSaveScript.Text))
     {
         iniLoader.OnSetValue("saveScript", inputSaveScript.Text);
         iniLoader.OnSaveBack();
     }
 }