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();
        }
Exemple #2
0
        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();
        }