コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ctlPlayingFile = ((PlayFile.Presentation.ctlPlayFile)(target));
     return;
     case 2:
     this.cnvMain = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.grdMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.lblCampaignName = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.cbCampaignName = ((System.Windows.Controls.ComboBox)(target));
     
     #line 34 "..\..\ctlPlayFile.xaml"
     this.cbCampaignName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCampaignName_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblStartDate = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.dpStart = ((VMukti.CtlDatePicker.Presentation.DatePicker)(target));
     
     #line 37 "..\..\ctlPlayFile.xaml"
     this.dpStart.DropDownClosed += new System.Windows.RoutedEventHandler(this.dpStart_DropDownClosed);
     
     #line default
     #line hidden
     return;
     case 8:
     this.lblEndDate = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.dpEnd = ((VMukti.CtlDatePicker.Presentation.DatePicker)(target));
     
     #line 40 "..\..\ctlPlayFile.xaml"
     this.dpEnd.DropDownClosed += new System.Windows.RoutedEventHandler(this.dpEnd_DropDownClosed);
     
     #line default
     #line hidden
     return;
     case 10:
     this.lblHHStart = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.cbHHStart = ((System.Windows.Controls.ComboBox)(target));
     
     #line 43 "..\..\ctlPlayFile.xaml"
     this.cbHHStart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbHHStart_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lblMMStart = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.cbMMStart = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 14:
     this.lblHHEnd = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.cbHHEnd = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 16:
     this.lblMMEnd = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.cbMMEnd = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 18:
     this.lblPhoneNumber = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.tbPhoneNumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.lblCRC = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.lstCRC = ((System.Windows.Controls.ListBox)(target));
     return;
     case 22:
     this.lblAgentName = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.lblClientName = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.cbClientName = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 25:
     this.grbRecordedFileReport = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 26:
     this.cnvRecordedFileReport = ((System.Windows.Controls.Canvas)(target));
     return;
     case 27:
     this.btnSearch = ((System.Windows.Controls.Button)(target));
     
     #line 248 "..\..\ctlPlayFile.xaml"
     this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 29:
     this.objReportViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
     return;
     case 30:
     this.cbAMPMStart = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 31:
     this.cbAMPMEnd = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 32:
     this.tbAgentName = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ctlPlayingFile = ((PlayFile.Presentation.ctlPlayFile)(target));
                return;

            case 2:
                this.cnvMain = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.grdMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.lblCampaignName = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 34 "..\..\ctlPlayFile.xaml"
                this.cbCampaignName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbCampaignName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.lblStartDate = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.dpStart = ((VMukti.CtlDatePicker.Presentation.DatePicker)(target));

            #line 37 "..\..\ctlPlayFile.xaml"
                this.dpStart.DropDownClosed += new System.Windows.RoutedEventHandler(this.dpStart_DropDownClosed);

            #line default
            #line hidden
                return;

            case 8:
                this.lblEndDate = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.dpEnd = ((VMukti.CtlDatePicker.Presentation.DatePicker)(target));

            #line 40 "..\..\ctlPlayFile.xaml"
                this.dpEnd.DropDownClosed += new System.Windows.RoutedEventHandler(this.dpEnd_DropDownClosed);

            #line default
            #line hidden
                return;

            case 10:
                this.lblHHStart = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 43 "..\..\ctlPlayFile.xaml"
                this.cbHHStart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbHHStart_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.lblMMStart = ((System.Windows.Controls.Label)(target));
                return;

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

            case 14:
                this.lblHHEnd = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.lblMMEnd = ((System.Windows.Controls.Label)(target));
                return;

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

            case 18:
                this.lblPhoneNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.tbPhoneNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.lblCRC = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lstCRC = ((System.Windows.Controls.ListBox)(target));
                return;

            case 22:
                this.lblAgentName = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.lblClientName = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.cbClientName = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.grbRecordedFileReport = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 26:
                this.cnvRecordedFileReport = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 248 "..\..\ctlPlayFile.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 29:
                this.objReportViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
                return;

            case 30:
                this.cbAMPMStart = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.cbAMPMEnd = ((System.Windows.Controls.ComboBox)(target));
                return;

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