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); }
private void Exit_MapEditor(object sender, RoutedEventArgs e) { StartMenu menu = new StartMenu(); this.NavigationService.Navigate(menu); }