123456789101112131415161718192021222324252627282930313233343536 |
- using System;
- using System.Collections.Generic;
- namespace WS
- {
-
- public partial class ViewManager
- {
-
- private Dictionary<Type, string> DicTypeToName = new Dictionary<Type, string>();
- private void StartType()
- {
- DicTypeToName.Add(typeof(TypeOfCourseView), "TypeOfCourseView");
- DicTypeToName.Add(typeof(MainMenuView), "MainMenuView");
- DicTypeToName.Add(typeof(MainView), "MainView");
- DicTypeToName.Add(typeof(PointView), "PointView");
- DicTypeToName.Add(typeof(SearchTypeEntryView), "SearchTypeEntryView");
- DicTypeToName.Add(typeof(SearchView), "SearchView");
- DicTypeToName.Add(typeof(LoadingView), "LoadingView");
- DicTypeToName.Add(typeof(MessagerView), "MessagerView");
- DicTypeToName.Add(typeof(WaitView), "WaitView");
- DicTypeToName.Add(typeof(ChoosePopView), "ChoosePopView");
- DicTypeToName.Add(typeof(EndTeachView), "EndTeachView");
- DicTypeToName.Add(typeof(GuideView), "GuideView");
- DicTypeToName.Add(typeof(MapView), "MapView");
- DicTypeToName.Add(typeof(ProgressPopView), "ProgressPopView");
- }
-
- private string GetToName(Type type)
- {
- return DicTypeToName[type];
- }
- }
- }
|