Exemplo n.º 1
0
 public TypeSelectPageView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.ExportKeysViewModel_SelectType;
 }
Exemplo n.º 2
0
 public FinishPageView(ExportKeysViewModel vm)
 {
     this.InitializeComponent();
     this.VM = vm;
     DataContext = this.VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_Summary;
 }
Exemplo n.º 3
0
 public ReturnKeyInputPage(ExportKeysViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     DataContext = VM.ReturnKeysListModelVM;
     Title = DIS.Presentation.KMT.Properties.ResourcesOfR6.Common_CreditSelect;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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);
        }
Exemplo n.º 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));
 }
Exemplo n.º 7
0
 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;
     });
 }
Exemplo n.º 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);
        }