This project is read-only.
1

Closed

NPE in WPFUIVisualizerService

description

Hi!
 
I am creating some WPF popups using Cinch. However, I am doing this for a unmanaged application.
 
As a result of this, Application.Current is null. This results in a NullPointerException in WPFUIVisualizerService.cs, line 140, if I call ShowDialog(). As a quick fix, I changed the two lines locally to:
 
if (setOwner && Application.Current != null)
win.Owner = Application.Current.MainWindow;
 
Daniel Rose

file attachments

Closed Nov 27, 2011 at 6:14 PM by sachabarber
Done

comments

sachabarber wrote May 2, 2010 at 7:55 AM

Ok cool I will look at including this

sachabarber wrote May 4, 2010 at 9:26 AM

Done

wrote Nov 27, 2011 at 6:14 PM

wrote Feb 22, 2013 at 12:07 AM

wrote May 16, 2013 at 11:46 AM