private void Form1_FormClosing(object sender, FormClosingEventArgs e) { BuffDB.SaveBuffDic(); Properties.Settings.Default.Location = this.Location; Properties.Settings.Default.Save(); }