Comments
Sort by recent activity
Forgot to mention I am running Version 11.0.0.1816 standard / comments
Forgot to mention I am running Version 11.0.0.1816 standard
In MainWindow.xaml.cs, I register for an event that I never unregister from. I would expect there to be a buildup of PopupWindow instances as I open and close the window, but I see no instances in the profiler. private void Button_Click(object sender, RoutedEventArgs e) { TestDataContext data = new TestDataContext(); data.CloseEvent += Window_CloseTestEvent; PopupWindow window = new PopupWindow(data); window.ShowDialog(); } private void Window_CloseTestEvent(object sender, System.EventArgs e) { //if (sender is TestDataContext window) // window.CloseEvent -= Window_CloseTestEvent; } / comments
In MainWindow.xaml.cs, I register for an event that I never unregister from.I would expect there to be a buildup of PopupWindow instances as I open and close the window, but I see no instances in t...