using System;
using System.Collections.Generic;
namespace WS
{
///ViewManager扩展
public partial class ViewManager
{
///初始化类型To名称
private Dictionary DicTypeToName = new Dictionary();
private void StartType()
{
DicTypeToName.Add(typeof(HarvestingProcessView), "HarvestingProcessView");
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];
}
}
}