Esempio n. 1
0
 private void btn_Menu_PlayWComputer_Click(object sender, RoutedEventArgs e)
 {
     MainWindow FrmMain = new MainWindow(2);
     FrmMain.ChessBoardMain.Disconnection();
     this.Close();
     FrmMain.ShowDialog();
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyGomoku = ((_1312658.Views.MainWindow)(target));
                return;

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

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

            #line 15 "..\..\..\Views\MainWindow.xaml"
                this.btn_Pause.Click += new System.Windows.RoutedEventHandler(this.btn_Pause_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.ChessBoardMain = ((_1312658.Views.ChessBoard)(target));
                return;

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

            case 8:
                this.ChatMain = ((_1312658.Views.use_Chat)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
 private void btn_Menu_OnLineAuto_Click(object sender, RoutedEventArgs e)
 {
     MainWindow FrmMain = new MainWindow(4);
     this.Close();
     FrmMain.ShowDialog();
 }
Esempio n. 4
0
 private void btn_Menu_ConectionSever_Click(object sender, RoutedEventArgs e)
 {
     MainWindow FrmMain = new MainWindow(3);
     this.Close();
     FrmMain.ShowDialog();
 }
Esempio n. 5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyGomoku = ((_1312658.Views.MainWindow)(target));
     return;
     case 2:
     this.MySomoku = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btn_Pause = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\Views\MainWindow.xaml"
     this.btn_Pause.Click += new System.Windows.RoutedEventHandler(this.btn_Pause_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.Gird_Caro = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.ChessBoardMain = ((_1312658.Views.ChessBoard)(target));
     return;
     case 7:
     this.Grid_Chat = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.ChatMain = ((_1312658.Views.use_Chat)(target));
     return;
     }
     this._contentLoaded = true;
 }