Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OrderManager = ((OrderManagerPrototype.OrderManager)(target));
                return;

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

            case 3:

            #line 16 "..\..\..\UI\OrderManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.InboxTreeView = ((System.Windows.Controls.TreeView)(target));

            #line 17 "..\..\..\UI\OrderManager.xaml"
                this.InboxTreeView.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.InboxTreeView_MouseRightButtonUp);

            #line default
            #line hidden
                return;

            case 5:
                this.ServicedTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

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

            case 7:
                this.InboxLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.ServicedViewbox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 9:
                this.ServicedLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 11:
                this.ServicedCounter = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.OrderManager = ((OrderManagerPrototype.OrderManager)(target));
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 16 "..\..\..\UI\OrderManager.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.InboxTreeView = ((System.Windows.Controls.TreeView)(target));
     
     #line 17 "..\..\..\UI\OrderManager.xaml"
     this.InboxTreeView.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.InboxTreeView_MouseRightButtonUp);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ServicedTreeView = ((System.Windows.Controls.TreeView)(target));
     return;
     case 6:
     this.InboxViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 7:
     this.InboxLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.ServicedViewbox = ((System.Windows.Controls.Viewbox)(target));
     return;
     case 9:
     this.ServicedLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.InboxCounter = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.ServicedCounter = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }