static internal AlertModalWindow GetModalWindow(System.Windows.Controls.UserControl ctrl) { AlertModalWindow wnd = GetModalWindow(); wnd.SetContent(ctrl); return(wnd); }
static internal AlertModalWindow GetModalWindow() { AlertModalWindow wnd = new AlertModalWindow(); wnd.Closing += new System.ComponentModel.CancelEventHandler(wnd_Closing); AddWndToNonHide(wnd); return(wnd); }