private void Button_Click_Start_GameIn15(object sender, RoutedEventArgs e) { GameIn15 Prog = new GameIn15(); Prog.Show(); //this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Game15 = ((GlobalProject_1.GameIn15)(target)); return; case 2: this.Main_Grid = ((System.Windows.Controls.Grid)(target)); return; case 3: this.One_But = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\GameIn15.xaml" this.One_But.Click += new System.Windows.RoutedEventHandler(this.Rand); #line default #line hidden return; } this._contentLoaded = true; }