Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.This = ((InvoiceManager.Windows.UserControls.DataBrowserControl)(target));
                return;

            case 2:
                this.dockPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.RefreshButton = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
                this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
                this.OKButton.Click += new System.Windows.RoutedEventHandler(this.OKButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.EntitiesListView = ((System.Windows.Controls.ListView)(target));

            #line 25 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
                this.EntitiesListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.EntitiesListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:
                this.gridView = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.This = ((InvoiceManager.Windows.UserControls.DataBrowserControl)(target));
     return;
     case 2:
     this.dockPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 3:
     this.RefreshButton = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
     this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.OKButton = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
     this.OKButton.Click += new System.Windows.RoutedEventHandler(this.OKButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.EntitiesListView = ((System.Windows.Controls.ListView)(target));
     
     #line 25 "..\..\..\..\Windows\UserControls\DataBrowserControl.xaml"
     this.EntitiesListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.EntitiesListView_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.gridView = ((System.Windows.Controls.GridView)(target));
     return;
     }
     this._contentLoaded = true;
 }