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

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

            #line 10 "..\..\MainWindow.xaml"
                this.btn_crea.Click += new System.Windows.RoutedEventHandler(this.btn_crea_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.Libreria = ((Libreria_lolli_casanova.MainWindow)(target));
                return;

            case 2:
                this.txt_nome = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 21 "..\..\MainWindow.xaml"
                this.btn_cerca_aut.Click += new System.Windows.RoutedEventHandler(this.btn_cerca_aut_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.txt_libro_da_cerc = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.btn_copie_libro.Click += new System.Windows.RoutedEventHandler(this.btn_copie_libro_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.lbl_libri_aut = ((System.Windows.Controls.ListBox)(target));
                return;

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

            case 8:
                this.btn_cerca_gen_libro = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\MainWindow.xaml"
                this.btn_cerca_gen_libro.Click += new System.Windows.RoutedEventHandler(this.btn_cerca_gen_libro_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btn_canc_abstract = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.btn_canc_abstract.Click += new System.Windows.RoutedEventHandler(this.btn_canc_abstract_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.txt_cognome = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.btn_modif_gen = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.btn_modif_gen.Click += new System.Windows.RoutedEventHandler(this.btn_modif_gen_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btn_libriShort = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.btn_libriShort.Click += new System.Windows.RoutedEventHandler(this.btn_libriShort_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }