public static MessageBoxResult Show() { _popup = new Popup(); _camCrosshair = new CameraCrosshair(); double screenWidth = Application.Current.Host.Content.ActualWidth; double screenHeight = Application.Current.Host.Content.ActualHeight; _camCrosshair.Margin = new Thickness((screenWidth / 2) - 160, (screenHeight / 2) - 160, 0, 0); _popup.Child = _camCrosshair; _popup.IsOpen = true; return(MessageBoxResult.Cancel); }