예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AccControl = ((MyPets.PetsAcc)(target));
                return;

            case 2:
                this.PetImg = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.Namepet = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Kindpet = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Agepet = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.Weightpet = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AccControl = ((MyPets.PetsAcc)(target));
                return;

            case 2:
                this.PetImg = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 25 "..\..\..\View\WinMain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PetListButton);

            #line default
            #line hidden
                return;

            case 2:

            #line 28 "..\..\..\View\WinMain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_MAP);

            #line default
            #line hidden
                return;

            case 3:

            #line 30 "..\..\..\View\WinMain.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CreatePet);

            #line default
            #line hidden
                return;

            case 4:
                this.StackAcc = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.acc = ((MyPets.PetsAcc)(target));
                return;

            case 6:
                this.StackPet = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.list = ((MyPets.PetList)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.YourPetsCB = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\View\MainWindow.xaml"
                this.YourPetsCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.YourPetsCB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 22 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickCARE);

            #line default
            #line hidden
                return;

            case 3:

            #line 23 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_MAP);

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickPROGRESS);

            #line default
            #line hidden
                return;

            case 5:

            #line 25 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickHealthNote);

            #line default
            #line hidden
                return;

            case 6:

            #line 30 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_CreatePet);

            #line default
            #line hidden
                return;

            case 7:
                this.StackAcc = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.acc = ((MyPets.PetsAcc)(target));
                return;

            case 9:

            #line 44 "..\..\..\View\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ClickDEL);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }