示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.profilePopup = ((officebleams_lib.ProfilePopup)(target));
                return;

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

            case 3:
                this.switchButton = ((officebleams_lib.AppButton)(target));

            #line 36 "..\..\ProfilePopup.xaml"
                this.switchButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickSwitchButton);

            #line default
            #line hidden
                return;

            case 4:
                this.signOutButton = ((officebleams_lib.AppButton)(target));

            #line 40 "..\..\ProfilePopup.xaml"
                this.signOutButton.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickSignOutButton);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((officebleams_gui.Root)(target));

            #line 12 "..\..\Root.xaml"
                this.root.Loaded += new System.Windows.RoutedEventHandler(this.OnLoadRootWindow);

            #line default
            #line hidden
                return;

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

            case 3:
                this.navigationArea = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.contentArea = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.statusArea = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.navigationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.navigationDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 8:
                this.titleStack = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.titleSubheading = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.titleHeading = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.titleGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.profilePopupContainer = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 13:
                this.profilePopup = ((officebleams_lib.ProfilePopup)(target));
                return;

            case 14:
                this.chromeDock = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 15:
                this.closeButton = ((officebleams_lib.WindowButton)(target));

            #line 76 "..\..\Root.xaml"
                this.closeButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickCloseButton);

            #line default
            #line hidden
                return;

            case 16:
                this.minimizeButton = ((officebleams_lib.WindowButton)(target));

            #line 81 "..\..\Root.xaml"
                this.minimizeButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickMinimizeButton);

            #line default
            #line hidden
                return;

            case 17:
                this.profileButton = ((officebleams_lib.ProfileButton)(target));

            #line 84 "..\..\Root.xaml"
                this.profileButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickProfileButton);

            #line default
            #line hidden
                return;

            case 18:
                this.titleGridHandle = ((System.Windows.Controls.Grid)(target));

            #line 87 "..\..\Root.xaml"
                this.titleGridHandle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownRootWindow);

            #line default
            #line hidden
                return;

            case 19:
                this.statusGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.statusCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.contentGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.titleArea = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 23:
                this.scrollingContentArea = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 24:
                this.contentScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 25:
                this.contentScrollingGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.dashboardContentGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.proximityDashboard = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 28:
                this.node1Dashboard = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 29:
                this.node2Dashboard = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 30:
                this.node3Dashboard = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 31:
                this.proximityGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 32:
                this.proximityIcon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.proximityText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.proximityStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.node1Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.node1Icon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.node1Text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.node1Status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.node2Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 40:
                this.node2Icon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.node2Text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.node2Status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.node3Grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 44:
                this.node3Icon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.node3Text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.node3Status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.mapContentGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 48:
                this.toggleNodeButton = ((officebleams_lib.AppButton)(target));

            #line 316 "..\..\Root.xaml"
                this.toggleNodeButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickToggleNodeButton);

            #line default
            #line hidden
                return;

            case 49:
                this.toggleRangeButton = ((officebleams_lib.AppButton)(target));

            #line 320 "..\..\Root.xaml"
                this.toggleRangeButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickToggleRangeButton);

            #line default
            #line hidden
                return;

            case 50:
                this.toggleBeaconButton = ((officebleams_lib.AppButton)(target));

            #line 324 "..\..\Root.xaml"
                this.toggleBeaconButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseClickToggleBeaconButton);

            #line default
            #line hidden
                return;

            case 51:
                this.beaconMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 52:
                this.beaconMap1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 53:
                this.beaconMap2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 54:
                this.beaconMap3 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 55:
                this.unitIMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 56:
                this.nodeMap3 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 57:
                this.nodeRangeMap3 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 58:
                this.unitJMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 59:
                this.nodeMap1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 60:
                this.nodeRangeMap1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 61:
                this.nodeMap2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 62:
                this.nodeRangeMap2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 63:
                this.logContentGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 64:
                this.beaconCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.logRowGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 66:
                this.portHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 67:
                this.idHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 68:
                this.addressHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 69:
                this.rssiHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 70:
                this.txPowerHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 71:
                this.distanceHeader = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 72:
                this.logList = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }