Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\AdministracionSistema\Principal.xaml"
                ((InterfazWPF.AdministracionSistema.Principal)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged_1);

            #line default
            #line hidden

            #line 5 "..\..\..\AdministracionSistema\Principal.xaml"
                ((InterfazWPF.AdministracionSistema.Principal)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.salioToolBox_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.entroAMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.salioAMenu_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.img_fondo = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.contenedorVentanas = ((InterfazWPF.ContenedorVentanas)(target));
                return;

            case 7:
                this.menu = ((InterfazWPF.Menu)(target));
                return;

            case 8:
                this.contenedorToolbox = ((InterfazWPF.ContenedorToolbox)(target));
                return;

            case 9:
                this.contenedorToolbox_Sistema = ((InterfazWPF.ContenedorToolbox)(target));
                return;

            case 10:
                this.barraMarcadores = ((InterfazWPF.BarraMarcadores)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((InterfazWPF.Menu)(target));
                return;

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

            case 3:
                this.cnv_elementosMenu = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }