Esempio n. 1
0
 public MainWindowViewModel()
 {
     AppSettings = new AppSettings();
     Window = new WindowData();
     BlendImagesCommand = new BlendAppSettingsCommand(this);
     ImgSelectCommand = new ImgSelectAppSettingsCommand(this);
 }
Esempio n. 2
0
        private int threadPixelsStep; // ilość pikseli przypadająca na jeden wątek

        #endregion Fields

        #region Constructors

        /// <summary>
        /// 
        /// </summary>
        /// <param name="initialData"> referencja do aktualnego obiektuz ustawieniami </param>
        public BlendImagesSystem(AppSettings initialData)
        {
            appSettings = initialData;

            threadList = new List<Thread>();
            bmpList = new List<BitmapImage>();
            croppedBmpList = new List<BitmapImage>();
            maxWidth = maxHeight = int.MaxValue;
        }