Exemplo n.º 1
0
 public DetailWindow(Files files)
 {
     SetValue(FilesProperty, files);
     DataContext = this;
     Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);
     InitializeComponent();
 }
Exemplo n.º 2
0
        public MainWindow(Files files, BackupProgress backupProgress, BackupEngine backupEngine)
        {
            SetValue(FilesProperty, files);
            SetValue(BackupProgressProperty, backupProgress);
            this.backupEngine = backupEngine;

            InitializeComponent();
            DataContext = this;
            Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);

            BackupProgress.PropertyChanged += BackupProgressChanged;
        }