コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((BMC.Presentation.CPositionDetailsEvents)(target));
     
     #line 2 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lblLegalEvents = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.vbStartDate = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 5:
     this.dtpStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     return;
     case 6:
     this.vbStartDate_Copy = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 7:
     this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
     return;
     case 8:
     this.cmbEventType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.cmbLegalEvent = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 10:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnClearEvents = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnClearEvents.Click += new System.Windows.RoutedEventHandler(this.btnClearEvents_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnClearMachine = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnClearMachine.Click += new System.Windows.RoutedEventHandler(this.btnClearMachine_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnClearSite = ((System.Windows.Controls.Button)(target));
     
     #line 73 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnClearSite.Click += new System.Windows.RoutedEventHandler(this.btnClearSite_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.chkShowClearedEvents = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 15:
     this.btnFirst = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnPrevious = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnNext = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnLast = ((System.Windows.Controls.Button)(target));
     
     #line 78 "..\..\..\Views\CPositionDetailsEvents.xaml"
     this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.txtPageNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.lstPositionDetailsEvents = ((System.Windows.Controls.ListView)(target));
     return;
     case 21:
     this.GridView_1 = ((System.Windows.Controls.GridView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.CPositionDetailsEvents)(target));

            #line 2 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.lblLegalEvents = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.vbStartDate = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 5:
                this.dtpStartDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.vbStartDate_Copy = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 7:
                this.dtpEndDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 10:
                this.btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnClearEvents.Click += new System.Windows.RoutedEventHandler(this.btnClearEvents_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnClearMachine.Click += new System.Windows.RoutedEventHandler(this.btnClearMachine_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnClearSite.Click += new System.Windows.RoutedEventHandler(this.btnClearSite_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.chkShowClearedEvents = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 75 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\Views\CPositionDetailsEvents.xaml"
                this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.txtPageNo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.lstPositionDetailsEvents = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:
                this.GridView_1 = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }