Example #1
0
 public MainWindow()
 {            
     InitializeComponent();
     //ScoreWindow s = new ScoreWindow();
     
     StartGameCanvas start = new StartGameCanvas(MainGrid);
 }
Example #2
0
 private void startOver_Click(object sender, RoutedEventArgs e)
 {
     ResourceManager.GetInstance().Reset();
     parent.Children.Remove(parent.Children[1]);
     this.Close();
     StartGameCanvas start = new StartGameCanvas(parent);
 }
        public MainWindow()
        {
            InitializeComponent();
            //ScoreWindow s = new ScoreWindow();

            StartGameCanvas start = new StartGameCanvas(MainGrid);
        }
Example #4
0
 private void startOver_Click(object sender, RoutedEventArgs e)
 {
     ResourceManager.GetInstance().Reset();
     parent.Children.Remove(parent.Children[1]);
     this.Close();
     StartGameCanvas start = new StartGameCanvas(parent);
 }
Example #5
0
 //GoBack button for play and host canvas
 private void goBack_Click(object sender, RoutedEventArgs e)
 {
     parent.Children.Remove(parent.Children[1]);
     StartGameCanvas start = new StartGameCanvas(parent);
 }
Example #6
0
 //GoBack button for play and host canvas
 private void goBack_Click(object sender, RoutedEventArgs e)
 {
     parent.Children.Remove(parent.Children[1]);
     StartGameCanvas start = new StartGameCanvas(parent);
 }
 private void cancelGameButton_Click(object sender, RoutedEventArgs e)
 {
     //System.Console.WriteLine("WaitingToStartCanvasHost():: cancelGameButton_Click()");
     parent.Children.Remove(parent.Children[1]);
     StartGameCanvas start = new StartGameCanvas(parent);
 }
 private void cancelGameButton_Click(object sender, RoutedEventArgs e)
 {
     //System.Console.WriteLine("WaitingToStartCanvasHost():: cancelGameButton_Click()"); 
     parent.Children.Remove(parent.Children[1]);
     StartGameCanvas start = new StartGameCanvas(parent);
 }