Example #1
0
 private void hookUpBasicMW(string message)
 {
     MW = new MessageWindow(message);
     MW.Owner = this;
     MW.Show();
 }
Example #2
0
 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();
 }