private void EditorForm_Resize_Move(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Normal) AppState.SaveWindowInfo(this); }