예제 #1
0
        private void FormMain_FormClosed(object sender, FormClosedEventArgs e)
        {
            IniSettings.SaveIni("ScanFiles", "LastDirectory", Global.LastDirectory);
            IniSettings.SaveIni("Options", "Watermark", Global.Watermark ? "1" : "0");
            IniSettings.SaveIni("Options", "SaveRotation", Global.SaveRotation ? "1" : "0");

            IniSettings.SaveIni("FormMain", "x", Location.X.ToString());
            IniSettings.SaveIni("FormMain", "y", Location.Y.ToString());
            IniSettings.SaveIni("FormMain", "width", Width.ToString());
            IniSettings.SaveIni("FormMain", "height", Height.ToString());
        }