コード例 #1
0
ファイル: MainWindow.g.i.cs プロジェクト: hmtri1011/Gomoku
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myWin = ((Gomoku.MainWindow)(target));
                return;

            case 2:
                this.tbxName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.btnName = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.btnName.Click += new System.Windows.RoutedEventHandler(this.btnName_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ScrollChat = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 5:
                this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.tbxChat = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.btnSend = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnSend.Click += new System.Windows.RoutedEventHandler(this.btnSend_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ChessBroad = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: MainWindow.g.i.cs プロジェクト: NoctisLucis/Gomoku
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((Gomoku.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.mainWindow.SizeChanged += new System.Windows.SizeChangedEventHandler(this.mainWindow_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.chatHistory = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.Header = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.Changbt = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.Changbt.Click += new System.Windows.RoutedEventHandler(this.Changbt_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Sent = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.Sent.Click += new System.Windows.RoutedEventHandler(this.Sent_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Chatbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.twoplayer = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.twoplayer.Click += new System.Windows.RoutedEventHandler(this.twoplayer_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.AIplayer = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.AIplayer.Click += new System.Windows.RoutedEventHandler(this.AIplayer_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.PlayOnline = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.PlayOnline.Click += new System.Windows.RoutedEventHandler(this.PlayOnline_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.PC_online = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.PC_online.Click += new System.Windows.RoutedEventHandler(this.PC_online_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: MainWindow.g.i.cs プロジェクト: 1312624/Gomoku
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.myWin = ((Gomoku.MainWindow)(target));
     return;
     case 2:
     this.tbxName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.btnName = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\MainWindow.xaml"
     this.btnName.Click += new System.Windows.RoutedEventHandler(this.btnName_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ScrollChat = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 5:
     this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.tbxChat = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.btnSend = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\MainWindow.xaml"
     this.btnSend.Click += new System.Windows.RoutedEventHandler(this.btnSend_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ChessBroad = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }