Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainform = ((Asign2.MainWindow)(target));
                return;

            case 2:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 3:

            #line 16 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.tab_m = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.lbi = ((System.Windows.Controls.ComboBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.lbi.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.cbi1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 7:
                this.cbi7 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 8:
                this.cbi2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 9:
                this.cbi3 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.cbi4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.cbi5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.cbi6 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 13:
                this.list1 = ((System.Windows.Controls.ListBox)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.list1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.sc1 = ((DevExpress.Xpf.Editors.SearchControl)(target));
                return;

            case 15:

            #line 68 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 16:
                this.r_details = ((System.Windows.Controls.TabItem)(target));
                return;

            case 17:
                this.btn1 = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.btn1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ContentControl1 = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 19:
                this.avatar = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.btn2 = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.btn2.Click += new System.Windows.RoutedEventHandler(this.btn2_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.tbk_name = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 23:
                this.list2 = ((System.Windows.Controls.ListBox)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.list2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox2_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.invert = ((System.Windows.Controls.Button)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.invert.Click += new System.Windows.RoutedEventHandler(this.invert_Click);

            #line default
            #line hidden
                return;

            case 25:

            #line 109 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 26:

            #line 110 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 27:
                this.cbo1 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 28:
                this.cbo2 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 29:
                this.tbk1 = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainform = ((Asign2.MainWindow)(target));
     return;
     case 2:
     
     #line 12 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 16 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.tab_m = ((System.Windows.Controls.TabControl)(target));
     return;
     case 5:
     this.lbi = ((System.Windows.Controls.ComboBox)(target));
     
     #line 28 "..\..\MainWindow.xaml"
     this.lbi.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.cbi1 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 7:
     this.cbi7 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 8:
     this.cbi2 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 9:
     this.cbi3 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 10:
     this.cbi4 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 11:
     this.cbi5 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 12:
     this.cbi6 = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 13:
     this.list1 = ((System.Windows.Controls.ListBox)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.list1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox_SelectedIndexChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.sc1 = ((DevExpress.Xpf.Editors.SearchControl)(target));
     return;
     case 15:
     
     #line 68 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 16:
     this.r_details = ((System.Windows.Controls.TabItem)(target));
     return;
     case 17:
     this.btn1 = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\MainWindow.xaml"
     this.btn1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.ContentControl1 = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 19:
     this.avatar = ((System.Windows.Controls.Image)(target));
     return;
     case 20:
     this.btn2 = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\MainWindow.xaml"
     this.btn2.Click += new System.Windows.RoutedEventHandler(this.btn2_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.tbk_name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.datagrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 23:
     this.list2 = ((System.Windows.Controls.ListBox)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.list2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBox2_SelectedIndexChanged);
     
     #line default
     #line hidden
     return;
     case 24:
     this.invert = ((System.Windows.Controls.Button)(target));
     
     #line 106 "..\..\MainWindow.xaml"
     this.invert.Click += new System.Windows.RoutedEventHandler(this.invert_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 109 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 26:
     
     #line 110 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);
     
     #line default
     #line hidden
     return;
     case 27:
     this.cbo1 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
     return;
     case 28:
     this.cbo2 = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
     return;
     case 29:
     this.tbk1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }