private void hookUpBasicMW(string message) { MW = new MessageWindow(message); MW.Owner = this; MW.Show(); }
private void hookUpTrapMW(string message) { Image img = new Image(); BitmapImage imageSource = new BitmapImage(); imageSource.BeginInit(); imageSource.UriSource = new Uri("/Resources/TrapMessageImage.jpg", UriKind.Relative); imageSource.EndInit(); img.Source = imageSource; MW = new MessageWindow(message, img); MW.Owner = this; MW.Show(); }