public RecordViewerMainWindow() { InitializeComponent(); Ribbon.Localization.Culture = new System.Globalization.CultureInfo("zh-CN"); TabPanelMap = new Dictionary<RVTabItem, PanelContext>(); TabPanelMap[tabBonusBox] = new BonusBoxHunter(); ribbon.SelectedTabChanged += Ribbon_SelectedTabChanged; this.Drop += OnDrop; this.AllowDrop = true; OriginalTitle = this.Title; GlobalData.SaveDataChangeHandler = SaveDataChangeDelegate; this.saveDataList.Refresh(); }
public RecordViewerMainWindow() { InitializeComponent(); Ribbon.Localization.Culture = new System.Globalization.CultureInfo("zh-CN"); TabPanelMap = new Dictionary <RVTabItem, PanelContext>(); TabPanelMap[tabBonusBox] = new BonusBoxHunter(); ribbon.SelectedTabChanged += Ribbon_SelectedTabChanged; this.Drop += OnDrop; this.AllowDrop = true; OriginalTitle = this.Title; GlobalData.SaveDataChangeHandler = SaveDataChangeDelegate; this.saveDataList.Refresh(); }