Esempio n. 1
0
        public RecordViewerMainWindow()
        {
            InitializeComponent();

            Ribbon.Localization.Culture = new System.Globalization.CultureInfo("zh-CN");

            TabPanelMap = new Dictionary<RVTabItem, PanelContext>();

            TabPanelMap[tabTreasureBox] = new TreasureBoxHunter();

            ribbon.SelectedTabChanged += Ribbon_SelectedTabChanged;
            this.Drop += OnDrop;
            this.AllowDrop = true;

            OriginalTitle = this.Title;

            GlobalData.SaveDataChangeHandler = SaveDataChangeDelegate;
        }
Esempio n. 2
0
        public RecordViewerMainWindow()
        {
            InitializeComponent();

            Ribbon.Localization.Culture = new System.Globalization.CultureInfo("zh-CN");

            TabPanelMap = new Dictionary <RVTabItem, PanelContext>();

            TabPanelMap[tabTreasureBox] = new TreasureBoxHunter();

            ribbon.SelectedTabChanged += Ribbon_SelectedTabChanged;
            this.Drop     += OnDrop;
            this.AllowDrop = true;

            OriginalTitle = this.Title;

            GlobalData.SaveDataChangeHandler = SaveDataChangeDelegate;
        }