Exemple #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.canvas = ((PeliLauta.OwnCanvas)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\Lauta.xaml"
                ((PeliLauta.UserControl1)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Click);

            #line default
            #line hidden

            #line 10 "..\..\Lauta.xaml"
                ((PeliLauta.UserControl1)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.klikkaus);

            #line default
            #line hidden
                return;

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

            case 3:
                this.canvas = ((PeliLauta.OwnCanvas)(target));
                return;

            case 4:
                this.A2 = ((PeliLauta.OwnCanvas)(target));
                return;

            case 5:
                this.A6 = ((PeliLauta.OwnCanvas)(target));
                return;
            }
            this._contentLoaded = true;
        }