void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.DiffWindow = ((ClassicMineSweeper.DifficultyWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        private void StartGameExecute(object obj)
        {
            Window GW = new DifficultyWindow();

            GW.DataContext = new DifficultyVM(this);
            GW.Show();

            Window thisWin = (Window)obj;

            thisWin.Close();
        }