0

Im creating graphic interface using XAML and I have problem with Bitmap type. Using System.Drawing is surprisingly unsused despite created Bitmap objects.

using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows;
using Microsoft.Win32;

namespace Cryptography
{
    /// <summary>
    /// Logika interakcji dla klasy MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private int NextStepCounter { get; set; }
        private Bitmap LoadedBitmap { get; set; }
        private Bitmap FirstShareBitmap { get; set; }
        private Bitmap SecondShareBitmap { get; set; }
        private Bitmap ThirdShareBitmap { get; set; }
        private Bitmap FourthShareBitmap { get; set; }
        private Bitmap LoadedFirstShareBitmap { get; set; }
        private Bitmap LoadedSecondShareBitmap { get; set; }
        private Bitmap LoadedThirdShareBitmap { get; set; }
        private Bitmap LoadedFourthShareBitmap { get; set; }
        private Bitmap OverlaidSharesBitmap { get; set; }

enter image description here

Kamil
  • 3
  • 1
  • 3

1 Answers1

2

you need to install System.Drawing.Common from Nuget Package.

Derviş Kayımbaşıoğlu
  • 28,492
  • 4
  • 50
  • 72