void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ModeWindow = ((Gomoku.ChooseMode)(target)); return; case 2: this.btPlayer = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\ChooseMode.xaml" this.btPlayer.Click += new System.Windows.RoutedEventHandler(this.Mode_Click); #line default #line hidden return; case 3: this.btAI = ((System.Windows.Controls.Button)(target)); #line 9 "..\..\ChooseMode.xaml" this.btAI.Click += new System.Windows.RoutedEventHandler(this.Mode_Click); #line default #line hidden return; case 4: this.btPlayerOnl = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\ChooseMode.xaml" this.btPlayerOnl.Click += new System.Windows.RoutedEventHandler(this.Mode_Click); #line default #line hidden return; case 5: this.btAIOnl = ((System.Windows.Controls.Button)(target)); #line 13 "..\..\ChooseMode.xaml" this.btAIOnl.Click += new System.Windows.RoutedEventHandler(this.Mode_Click); #line default #line hidden return; } this._contentLoaded = true; }