Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.categoryControl = ((GloryView.RFID.RoomManagement.Category)(target));
                return;

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

            case 3:
                this.typeName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 29 "..\..\..\..\RoomManagement\Category.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.Add_TYPE);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\RoomManagement\Category.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.AddCategory);

            #line default
            #line hidden
                return;

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

            case 7:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 9:
                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.categoryControl = ((GloryView.RFID.RoomManagement.Category)(target));
     return;
     case 2:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.typeName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\..\RoomManagement\Category.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.Add_TYPE);
     
     #line default
     #line hidden
     return;
     case 5:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\..\..\RoomManagement\Category.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.AddCategory);
     
     #line default
     #line hidden
     return;
     case 6:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }