private void ImageDefault() { // System.Drawing.Image image = BrainRingGame.Ui.Wpf.Recourses.Components .Properties.Resources.AddQuestion; // MemoryStream streamImage = new MemoryStream(); image.Save(streamImage, ImageFormat.Png); int width = System.Windows.Forms.Screen. PrimaryScreen.WorkingArea.Width; int height = System.Windows.Forms.Screen. PrimaryScreen.WorkingArea.Height; double subHeight = height / 1.65; height = (int)subHeight; streamImage = _changeImage.ChangeSize(streamImage, width, height); QuestionImage.Source = _imageControl.AddControlImage(streamImage); }