Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyGomoku = ((_1312658.MainWindow)(target));
                return;

            case 2:
                this.MySomoku = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Gird_Caro = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.my_Row_R1 = ((_1312658.My_Row)(target));
                return;

            case 5:
                this.my_Row_R2 = ((_1312658.My_Row)(target));
                return;

            case 6:
                this.my_Row_R3 = ((_1312658.My_Row)(target));
                return;

            case 7:
                this.my_Row_R4 = ((_1312658.My_Row)(target));
                return;

            case 8:
                this.my_Row_R5 = ((_1312658.My_Row)(target));
                return;

            case 9:
                this.my_Row_R6 = ((_1312658.My_Row)(target));
                return;

            case 10:
                this.my_Row_R7 = ((_1312658.My_Row)(target));
                return;

            case 11:
                this.my_Row_R8 = ((_1312658.My_Row)(target));
                return;

            case 12:
                this.my_Row_R9 = ((_1312658.My_Row)(target));
                return;

            case 13:
                this.my_Row_R10 = ((_1312658.My_Row)(target));
                return;

            case 14:
                this.my_Row_R11 = ((_1312658.My_Row)(target));
                return;

            case 15:
                this.my_Row_R12 = ((_1312658.My_Row)(target));
                return;

            case 16:
                this.Grid_Chat = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.txt_Your_Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.btn_Chane = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.btn_Chane.Click += new System.Windows.RoutedEventHandler(this.btn_Chane_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.lbl_KhungChat = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txt_Chat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txt_Input_Chat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.btn_Send = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.btn_Send.Click += new System.Windows.RoutedEventHandler(this.btn_Send_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyGomoku = ((_1312658.MainWindow)(target));
     return;
     case 2:
     this.MySomoku = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Gird_Caro = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.my_Row_R1 = ((_1312658.My_Row)(target));
     return;
     case 5:
     this.my_Row_R2 = ((_1312658.My_Row)(target));
     return;
     case 6:
     this.my_Row_R3 = ((_1312658.My_Row)(target));
     return;
     case 7:
     this.my_Row_R4 = ((_1312658.My_Row)(target));
     return;
     case 8:
     this.my_Row_R5 = ((_1312658.My_Row)(target));
     return;
     case 9:
     this.my_Row_R6 = ((_1312658.My_Row)(target));
     return;
     case 10:
     this.my_Row_R7 = ((_1312658.My_Row)(target));
     return;
     case 11:
     this.my_Row_R8 = ((_1312658.My_Row)(target));
     return;
     case 12:
     this.my_Row_R9 = ((_1312658.My_Row)(target));
     return;
     case 13:
     this.my_Row_R10 = ((_1312658.My_Row)(target));
     return;
     case 14:
     this.my_Row_R11 = ((_1312658.My_Row)(target));
     return;
     case 15:
     this.my_Row_R12 = ((_1312658.My_Row)(target));
     return;
     case 16:
     this.Grid_Chat = ((System.Windows.Controls.Grid)(target));
     return;
     case 17:
     this.txt_Your_Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.btn_Chane = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\MainWindow.xaml"
     this.btn_Chane.Click += new System.Windows.RoutedEventHandler(this.btn_Chane_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.lbl_KhungChat = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.txt_Chat = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.txt_Input_Chat = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.btn_Send = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\MainWindow.xaml"
     this.btn_Send.Click += new System.Windows.RoutedEventHandler(this.btn_Send_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }