예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Biblioteca.MainWindow)(target));
                return;

            case 2:
                this.btnAggiungi = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 5:
                this.Generi = ((System.Windows.Controls.Button)(target));
                return;

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

            case 7:
                this.strutturaSelezionata = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.strutturaSelezionata.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TestoCambiato);

            #line default
            #line hidden
                return;

            case 8:
                this.ContenitoreGeneri = ((System.Windows.Controls.TreeView)(target));
                return;

            case 9:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.Info = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Biblioteca.MainWindow)(target));
                return;

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

            case 3:
                this.btnAggiungi = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.btnModifica = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.btnElimina = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.Generi = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.Scaffali = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.strutturaSelezionata.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TestoCambiato);

            #line default
            #line hidden
                return;

            case 9:
                this.GeneriE = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.ScaffaliE = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 11:
                this.strutturaSelezionataE = ((System.Windows.Controls.TextBox)(target));

            #line 46 "..\..\MainWindow.xaml"
                this.strutturaSelezionataE.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.strutturaSelezionataE_TextChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.GeneriM = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:
                this.ScaffaliM = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:
                this.strutturaSelezionataM = ((System.Windows.Controls.TextBox)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.strutturaSelezionataM.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.strutturaSelezionataM_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.nuovoNomeStruttura = ((System.Windows.Controls.TextBox)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.nuovoNomeStruttura.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.nuovoNomeStruttura_TextChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.ContenitoreGeneri = ((System.Windows.Controls.TreeView)(target));
                return;

            case 17:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.helperField = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.Info = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }