コード例 #1
0
 public MainWindowViewModel()
 {
     AppSettings = new AppSettings();
     Window = new WindowData();
     BlendImagesCommand = new BlendAppSettingsCommand(this);
     ImgSelectCommand = new ImgSelectAppSettingsCommand(this);
 }
コード例 #2
0
ファイル: BlendImagesSystem.cs プロジェクト: szosti/BlendApp
        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;
        }