예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((BMC.Presentation.CVoid)(target));
                return;

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

            case 3:
                this.lstVoidTransaction = ((System.Windows.Controls.ListView)(target));

            #line 104 "..\..\..\Views\CVoid.xaml"
                this.lstVoidTransaction.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.GridViewColumnHeaderClickedHandler));

            #line default
            #line hidden
                return;

            case 4:
                this.btnVoid = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\..\Views\CVoid.xaml"
                this.btnVoid.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\Views\CVoid.xaml"
                this.btnPrev.Click += new System.Windows.RoutedEventHandler(this.btnPrev_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.txtPage = ((System.Windows.Controls.TextBlock)(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.CVoid)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lstVoidTransaction = ((System.Windows.Controls.ListView)(target));
     
     #line 104 "..\..\..\Views\CVoid.xaml"
     this.lstVoidTransaction.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.GridViewColumnHeaderClickedHandler));
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnVoid = ((System.Windows.Controls.Button)(target));
     
     #line 120 "..\..\..\Views\CVoid.xaml"
     this.btnVoid.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnPrev = ((System.Windows.Controls.Button)(target));
     
     #line 121 "..\..\..\Views\CVoid.xaml"
     this.btnPrev.Click += new System.Windows.RoutedEventHandler(this.btnPrev_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnFirst = ((System.Windows.Controls.Button)(target));
     
     #line 122 "..\..\..\Views\CVoid.xaml"
     this.btnFirst.Click += new System.Windows.RoutedEventHandler(this.btnFirst_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnNext = ((System.Windows.Controls.Button)(target));
     
     #line 123 "..\..\..\Views\CVoid.xaml"
     this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnLast = ((System.Windows.Controls.Button)(target));
     
     #line 124 "..\..\..\Views\CVoid.xaml"
     this.btnLast.Click += new System.Windows.RoutedEventHandler(this.btnLast_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.txtPage = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }