Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppWindow = ((Bonus_System.MainWindow)(target));
                return;

            case 2:
                this.SearchCard = ((Bonus_System.CustomControls.MenuButtons)(target));
                return;

            case 3:
                this.byCard = ((Bonus_System.CustomControls.MenuButtons)(target));
                return;

            case 4:
                this.byPhone = ((Bonus_System.CustomControls.MenuButtons)(target));
                return;

            case 5:
                this.CreateCard = ((Bonus_System.CustomControls.MenuButtons)(target));
                return;

            case 6:
                this.Views = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.@this = ((Bonus_System.CustomControls.MenuButtons)(target));
         return;
     }
     this._contentLoaded = true;
 }