Example #1
0
 public TypeSelectPageView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.ExportKeysViewModel_SelectType;
 }
Example #2
0
 public FinishPageView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_Summary;
 }
 public ReturnKeyInputPage(ExportKeysViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     DataContext = VM.ReturnKeysListModelVM;
     Title = DIS.Presentation.KMT.Properties.ResourcesOfR6.Common_CreditSelect;
 }
Example #4
0
 public KeysSelectPageView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     this.searchControl.DataContext = vm.SearchControlVM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_SelectKeys;
 }
Example #5
0
        public ExportWizard(IKeyProxy keyProxy, IConfigProxy configProxy, IHeadQuarterProxy hqProxy, ISubsidiaryProxy ssProxy)
        {
            VM = new ExportKeysViewModel(keyProxy, configProxy, hqProxy,ssProxy);
            VM.View = this;

            VM.StepPages.Add(new TypeSelectPageView(VM));
            InitViewModel(VM);
        }
Example #6
0
 public SelectReturnKeyView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     this.searchControl.DataContext = vm.SearchControlVM;
     this.returnKeysListControl.DataContext = VM.ReturnKeysListModelVM;
     returnKeysListControl.LoadNextPage += new System.EventHandler((s, e) => VM.LoadUpKeys());
     returnKeysListControl.SortingByColumn += new Controls.ReturnKeysListControl.SortingEventHandler((s, e) => VM.SortingByColumn(e.SortMemberPath));
 }
 public KeysLogSelectPage(ExportKeysViewModel vm)
 {
     InitializeComponent();
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     //re-export log Is Encrypted display
     vm.ExportTypeChanged += new EventHandler((s, e) =>
     {
         if (this.VM.IsReCBRChecked == true || this.VM.IsReToolKeyChecked == true)
             this.dgKeyLogs.Columns[3].Visibility = Visibility.Collapsed;
         else
             this.dgKeyLogs.Columns[3].Visibility = Visibility.Visible;
     });
 }
Example #8
0
        public ExportKeysView()
        {
            InitializeComponent();
            VM = new ExportKeysViewModel();
            VM.View = this;
            DataContext = VM;

            TypeSelectPageView typeSelectPage = new TypeSelectPageView(VM);
            this.frame_typeselect.Navigate(typeSelectPage);

            KeysSelectPageView keySlectPage = new KeysSelectPageView(VM);
            this.frame_keysselect.Navigate(keySlectPage);

            KeysLogSelectPage keysLogEelectPage = new KeysLogSelectPage(VM);
            this.frame_keyslogselect.Navigate(keysLogEelectPage);

            ExportDuplicateCBR duplicateCBRPage = new ExportDuplicateCBR(VM);
            this.frame_DuplicateCBRslect.Navigate(duplicateCBRPage);

            FinishPageView finishPage = new FinishPageView(VM);
            this.frame_finish.Navigate(finishPage);
        }