Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.edit_room = ((GloryView.RFID.RoomManagement.EditRoom)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.roomName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.belongs = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.purpose = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.floor = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.createUser = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.createTime = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\..\..\RoomManagement\EditRoom.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.Close_EditRoom);
     
     #line default
     #line hidden
     return;
     case 16:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\..\..\RoomManagement\EditRoom.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.Sava_Edit);
     
     #line default
     #line hidden
     return;
     case 17:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 18:
     this.roomId = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.edit_room = ((GloryView.RFID.RoomManagement.EditRoom)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 11:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.createUser = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.createTime = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\..\..\RoomManagement\EditRoom.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.Close_EditRoom);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\..\..\RoomManagement\EditRoom.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Sava_Edit);

            #line default
            #line hidden
                return;

            case 17:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.roomId = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }