Пример #1
0
        public MainWindow()
        {
            InitializeComponent();
            StartMenu menu = new StartMenu();

            WindowState = WindowState.Maximized;
            StreamResourceInfo sri = Application.GetResourceStream(
                new Uri("data/image/mainui/cursor/ACTARROW.cur", UriKind.Relative));
            Cursor customCursor = new Cursor(sri.Stream);

            this.Cursor = customCursor;

            WindowGame.NavigationService.Navigate(menu);
        }
Пример #2
0
        private void Exit_MapEditor(object sender, RoutedEventArgs e)
        {
            StartMenu menu = new StartMenu();

            this.NavigationService.Navigate(menu);
        }