Ejemplo n.º 1
0
 public ReturnKeysSummary(ReturnKeysViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     DataContext = VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_Summary;
 }
Ejemplo n.º 2
0
 public ReturnKeysCreditSelect(ReturnKeysViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     DataContext = VM.ReturnKeysListModelVM;
     Title = DIS.Presentation.KMT.Properties.ResourcesOfR6.Common_CreditSelect;
 }
Ejemplo n.º 3
0
 public ReturnKeysWizard(IKeyProxy keyProxy)
 {
     VM = new ReturnKeysViewModel(keyProxy);
     VM.View = this;
     VM.StepPages.Add(new ReturnKeysCreditSelect(VM));
     VM.StepPages.Add(new ReturnKeysSelection(VM));
     VM.StepPages.Add(new ReturnKeysSummary(VM));
     InitViewModel(VM);
 }
Ejemplo n.º 4
0
 public ReturnKeysSelection(ReturnKeysViewModel vm)
 {
     InitializeComponent();
     VM = vm;
     DataContext = VM;
     Title = DIS.Presentation.KMT.Properties.MergedResources.Common_Select;
     this.searchControl.DataContext = VM.SearchControlVM;
     this.returnKeysListControl.DataContext = VM.ReturnKeysListModelVM;
     returnKeysListControl.LoadNextPage += new EventHandler((s, e) => VM.LoadUpKeys());
     returnKeysListControl.SortingByColumn += new Controls.ReturnKeysListControl.SortingEventHandler((s, e) => VM.SortingByColumn(e.SortMemberPath));
 }