Пример #1
0
        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            NewRunePageItem newRunePageItem = new NewRunePageItem();

            newRunePageItem.StoreNew += NewRunePageItem_StoreNew;
            RunePagePanel.Children.Add(newRunePageItem);
            LoadConfig();
        }
Пример #2
0
        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            LoadConfig();

            NewRunePageItem newRunePageItem = new NewRunePageItem();

            newRunePageItem.Height   *= uiScaleFactor;
            newRunePageItem.Width    *= uiScaleFactor;
            newRunePageItem.Margin    = new Thickness(newRunePageItem.Margin.Left * uiScaleFactor);
            newRunePageItem.StoreNew += NewRunePageItem_StoreNew;
            RunePagePanel.Children.Add(newRunePageItem);
            LoadRepo();

            Wrapper      = new RequestWrapper();
            PhaseMonitor = new GameflowPhaseMonitor(Wrapper);
            PhaseMonitor.PhaseChanged += PhaseMonitor_PhaseChanged;
            PhaseMonitor.Start();
        }