Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.addRooms = ((GloryView.RFID.RoomManagement.AddRooms)(target));
     return;
     case 2:
     this.addRoomName = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.roomName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\..\RoomManagement\AddRooms.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.Add_Rooms);
     
     #line default
     #line hidden
     return;
     case 7:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\..\..\RoomManagement\AddRooms.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.Hident_AddRoom);
     
     #line default
     #line hidden
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.belongs = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.purpose = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.floor = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addRooms = ((GloryView.RFID.RoomManagement.AddRooms)(target));
                return;

            case 2:
                this.addRoomName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.roomName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 31 "..\..\..\..\RoomManagement\AddRooms.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Add_Rooms);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\..\..\RoomManagement\AddRooms.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.Hident_AddRoom);

            #line default
            #line hidden
                return;

            case 8:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 10:
                this.belongs = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.purpose = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.floor = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }