public void OpenProcessWindow(ToDoNote note) { EnqueueCmd(() => { convertWindow = ToDoListNoteConvertWindow.Open(this, note); convertWindow.Show(); }); }
protected override void OnHide() { base.OnHide(); if (convertWindow) { convertWindow.Close(); convertWindow = null; } }