static Notification() { #if !DESIGN notifications = new Hashtable(); msgwnd = new NotificationMessageWindow(notifications); //grab the icon from the calling EXE ExtractIconEx(System.Reflection.Assembly.GetCallingAssembly().GetModules()[0].FullyQualifiedName, 0, 0, ref hIcon, 1); #endif }
static Notification() { #if !DESIGN notifications = new Hashtable(); msgwnd = new NotificationMessageWindow(notifications); //grab the icon from the calling EXE ExtractIconEx(System.Reflection.Assembly.GetCallingAssembly().GetModules()[0].FullyQualifiedName, 0, 0, ref hIcon, 1); #endif }