コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Aprender_Teclado.Lecciones)(target));

            #line 7 "..\..\Lecciones.xaml"
                this.Window.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden

            #line 7 "..\..\Lecciones.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.listLecciones = ((System.Windows.Controls.ListBox)(target));

            #line 10 "..\..\Lecciones.xaml"
                this.listLecciones.KeyDown += new System.Windows.Input.KeyEventHandler(this.listLecciones_KeyDown);

            #line default
            #line hidden

            #line 10 "..\..\Lecciones.xaml"
                this.listLecciones.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listLecciones_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.btnEmpezar = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\Lecciones.xaml"
                this.btnEmpezar.Click += new System.Windows.RoutedEventHandler(this.btnEmpezar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((Aprender_Teclado.Lecciones)(target));
     
     #line 7 "..\..\Lecciones.xaml"
     this.Window.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
     
     #line default
     #line hidden
     
     #line 7 "..\..\Lecciones.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.listLecciones = ((System.Windows.Controls.ListBox)(target));
     
     #line 10 "..\..\Lecciones.xaml"
     this.listLecciones.KeyDown += new System.Windows.Input.KeyEventHandler(this.listLecciones_KeyDown);
     
     #line default
     #line hidden
     
     #line 10 "..\..\Lecciones.xaml"
     this.listLecciones.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.listLecciones_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnEmpezar = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\Lecciones.xaml"
     this.btnEmpezar.Click += new System.Windows.RoutedEventHandler(this.btnEmpezar_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }