Esempio n. 1
0
 public ImportResultPage(ImportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     this.DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_Summary;
 }
Esempio n. 2
0
 public TypeSelectPage(ImportKeysViewModel vm)
 {
     InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.ExportKeysViewModel_SelectType;
 }
Esempio n. 3
0
        public ImportWizard(IKeyProxy keyProxy, ISubsidiaryProxy ssProxy, IConfigProxy configProxy, IHeadQuarterProxy hqProxy)
        {
            VM = new ImportKeysViewModel(keyProxy, ssProxy, configProxy, hqProxy);
            VM.View = this;

            VM.StepPages.Add(new TypeSelectPage(VM));
            VM.StepPages.Add(new ImportLocationSelectPage(VM));
            VM.StepPages.Add(new ImportResultPage(VM));
            InitViewModel(VM);
        }
 public ImportLocationSelectPage(ImportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
 }