private void OnFormClosed(object sender, FormClosedEventArgs e) { GlobalWindowManager.RemoveWindow(this); }