Exemple #1
0
 public static DataTemplate GetTemplate(OneViewModelBase param)
 {
     Type t = param.GetType();
     if (!views.ContainsKey(t.Name))
     {
         views.Add(t.Name, Application.Current.Resources[t.Name] as DataTemplate);
     }
     return views[t.Name];
 }
Exemple #2
0
 public void ShowShareUI(OneViewModelBase vm)
 {
     DataTransferManager.ShowShareUI();
     this.VM = vm;
 }