private void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { init.RegisterDataTemplates(paneSel); foreach (var v in plugInit.Inits) { v.RegisterDataTemplates(paneSel); } }
public void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { var template2 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(SimpleExaminationViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugClassroomSimpleExaminationViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(SimpleExaminationViewModel), template2); }
public void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { var template2 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(LoginViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "LoginViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(LoginViewModel), template2); }
public void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { var template2 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(RelationListViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "RelationListViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(RelationListViewModel), template2); var template3 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(ProducerMonitorViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "ProducerMonitorViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(ProducerMonitorViewModel), template3); //var template4 = ResourceLocator.GetResource<DataTemplate>( // Assembly.GetAssembly(typeof(TecheartHostViewModel)).GetName().Name, // "FoundationDataTemplate.xaml", // "TecheartHostViewTemplate") as DataTemplate; //paneSel.RegisterDataTemplate(typeof(TecheartHostViewModel), template4); var template5 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(LoginViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "LoginViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(LoginViewModel), template5); var template6 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(SearchViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugSearchViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(SearchViewModel), template6); var template7 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(AddUserViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugAddUserViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(AddUserViewModel), template7); var template8 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(SearchUserViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugSearchUserViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(SearchUserViewModel), template8); }
public void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { var template2 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(QuestionEditorViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugEditorQuestionEditorViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(QuestionEditorViewModel), template2); var template3 = ResourceLocator.GetResource <DataTemplate>( Assembly.GetAssembly(typeof(StudentInfoEditorViewModel)).GetName().Name, "FoundationDataTemplate.xaml", "TecheartSlnPlugEditorStudentInfoEditorViewTemplate") as DataTemplate; paneSel.RegisterDataTemplate(typeof(StudentInfoEditorViewModel), template3); }
public void RegisterDataTemplates(PanesTemplateSelectorDynamic paneSel) { }