Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FormHome = ((SCAdvert.HomeForm)(target));

            #line 13 "..\..\..\HomeForm.xaml"
                this.FormHome.Loaded += new System.Windows.RoutedEventHandler(this.FormHome_Loaded);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\HomeForm.xaml"
                this.BtnEnter.Click += new System.Windows.RoutedEventHandler(this.BtnEnter_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.DataGridSql = ((System.Windows.Controls.DataGrid)(target));

            #line 40 "..\..\..\HomeForm.xaml"
                this.DataGridSql.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.MyGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 4:
                this.GridMediaType = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 65 "..\..\..\HomeForm.xaml"
                this.CboMediaType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMediaType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.GridYear = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.CboYear = ((System.Windows.Controls.ComboBox)(target));

            #line 89 "..\..\..\HomeForm.xaml"
                this.CboYear.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboYear_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.CboMonth = ((System.Windows.Controls.ComboBox)(target));

            #line 114 "..\..\..\HomeForm.xaml"
                this.CboMonth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMonth_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.CboSector = ((System.Windows.Controls.ComboBox)(target));

            #line 139 "..\..\..\HomeForm.xaml"
                this.CboSector.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboSector_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.CboCategory = ((System.Windows.Controls.ComboBox)(target));

            #line 164 "..\..\..\HomeForm.xaml"
                this.CboCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboCategory_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.CboClass = ((System.Windows.Controls.ComboBox)(target));

            #line 187 "..\..\..\HomeForm.xaml"
                this.CboClass.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboClass_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.CboProducer = ((System.Windows.Controls.ComboBox)(target));

            #line 211 "..\..\..\HomeForm.xaml"
                this.CboProducer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboProducer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.CboBrand = ((System.Windows.Controls.ComboBox)(target));

            #line 235 "..\..\..\HomeForm.xaml"
                this.CboBrand.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboBrand_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.CboProduct = ((System.Windows.Controls.ComboBox)(target));

            #line 259 "..\..\..\HomeForm.xaml"
                this.CboProduct.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboProduct_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.CboMarket = ((System.Windows.Controls.ComboBox)(target));

            #line 283 "..\..\..\HomeForm.xaml"
                this.CboMarket.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMarket_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.CboDistributor = ((System.Windows.Controls.ComboBox)(target));

            #line 307 "..\..\..\HomeForm.xaml"
                this.CboDistributor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDistributor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.CboAdType = ((System.Windows.Controls.ComboBox)(target));

            #line 331 "..\..\..\HomeForm.xaml"
                this.CboAdType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboAdType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.CboAdFormat = ((System.Windows.Controls.ComboBox)(target));

            #line 355 "..\..\..\HomeForm.xaml"
                this.CboAdFormat.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboAdFormat_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.ExportToExcel = ((System.Windows.Controls.Button)(target));

            #line 369 "..\..\..\HomeForm.xaml"
                this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 373 "..\..\..\HomeForm.xaml"
                this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnPrevious = ((System.Windows.Controls.Button)(target));

            #line 377 "..\..\..\HomeForm.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 381 "..\..\..\HomeForm.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnLast = ((System.Windows.Controls.Button)(target));

            #line 385 "..\..\..\HomeForm.xaml"
                this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.txtPaging = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.btnClearFilter = ((System.Windows.Controls.Button)(target));

            #line 397 "..\..\..\HomeForm.xaml"
                this.btnClearFilter.Click += new System.Windows.RoutedEventHandler(this.btnClearFilter_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.FormHome = ((SCAdvert.HomeForm)(target));

            #line 13 "..\..\..\HomeForm.xaml"
                this.FormHome.Loaded += new System.Windows.RoutedEventHandler(this.FormHome_Loaded);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\HomeForm.xaml"
                this.BtnEnter.Click += new System.Windows.RoutedEventHandler(this.BtnEnter_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.DataGridSql = ((System.Windows.Controls.DataGrid)(target));

            #line 41 "..\..\..\HomeForm.xaml"
                this.DataGridSql.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.MyGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 4:
                this.CboMediaType = ((System.Windows.Controls.ComboBox)(target));

            #line 65 "..\..\..\HomeForm.xaml"
                this.CboMediaType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMediaType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\HomeForm.xaml"
                this.CboMonth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboMonth_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.CboWeek = ((System.Windows.Controls.ComboBox)(target));

            #line 119 "..\..\..\HomeForm.xaml"
                this.CboWeek.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboWeek_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.CboDate = ((System.Windows.Controls.ComboBox)(target));

            #line 144 "..\..\..\HomeForm.xaml"
                this.CboDate.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDate_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.CboSector = ((System.Windows.Controls.ComboBox)(target));

            #line 175 "..\..\..\HomeForm.xaml"
                this.CboSector.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboSector_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.CboCategory = ((System.Windows.Controls.ComboBox)(target));

            #line 201 "..\..\..\HomeForm.xaml"
                this.CboCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboCategory_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.CboClass = ((System.Windows.Controls.ComboBox)(target));

            #line 226 "..\..\..\HomeForm.xaml"
                this.CboClass.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboClass_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.CboProducer = ((System.Windows.Controls.ComboBox)(target));

            #line 250 "..\..\..\HomeForm.xaml"
                this.CboProducer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboProducer_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 301 "..\..\..\HomeForm.xaml"
                this.ExportToExcel.Click += new System.Windows.RoutedEventHandler(this.ExportToExcel_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btnFirst = ((System.Windows.Controls.Button)(target));

            #line 305 "..\..\..\HomeForm.xaml"
                this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btnPrevious = ((System.Windows.Controls.Button)(target));

            #line 309 "..\..\..\HomeForm.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 313 "..\..\..\HomeForm.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.btnLast = ((System.Windows.Controls.Button)(target));

            #line 317 "..\..\..\HomeForm.xaml"
                this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.txtPaging = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }