private void NotesEditorForm_Resize_Move(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Normal) saveWindowInfo(this); }