Is it possible to create a childWindow and display it in code?
My code is not throwing errors but I'm not seeing anything.
My code is not throwing errors but I'm not seeing anything.
var msg = new ChildWindow();
msg.Caption = caption;
msg.Background = Brushes.Black;
msg.Foreground = Brushes.Yellow;
msg.CaptionShadowBrush = Brushes.Black;
msg.CaptionForeground = Brushes.Yellow;
msg.WindowBackground = Brushes.Black;
msg.WindowInactiveBackground = Brushes.Black;
msg.IsModal = true;
msg.Left = 175;
msg.Top = 25;
msg.Width = 200;
msg.Height = 200;
msg.WindowBorderThickness = new Thickness(0);
msg.Show();