コード例 #1
0
 //private Screen menu;
 //private Action action;
 public MainWindow()
 {
     InitializeComponent();
     GameParameters._.instanciate();
     var u = new Uri(GameParameters.Path + @"\\icone.ico");
     var bitmanimg = new BitmapImage();
     bitmanimg.BeginInit();
     bitmanimg.UriSource = u;
     bitmanimg.EndInit();
     Icon = bitmanimg;
     GameParameters._.LoadTheFont();
     MainGrid.Children.RemoveAt(0);
     var w = new Wizard(this);
     w.Init();
     w.LaunchScreen();
 }
コード例 #2
0
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     //button relou
     MainGrid.Children.RemoveAt(0);
     var w = new Wizard(this);
     w.Init();
     w.LaunchScreen();
 }