Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DragableElement = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 2:
                this.dragElement = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 3:
                this.icone = ((System.Windows.Media.ImageBrush)(target));
                return;

            case 4:
                this.Prénom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.Age = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Patient = ((TestApp.Pages.PagePatient)(target));
                return;

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

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

            #line 648 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 649 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.TextBlockNaissance = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.TextBlockAge = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.DatePickerJour = ((System.Windows.Controls.DatePicker)(target));

            #line 673 "..\..\..\Pages\PagePatient.xaml"
                this.DatePickerJour.CalendarClosed += new System.Windows.RoutedEventHandler(this.DatePicker_CalendarClosed);

            #line default
            #line hidden
                return;

            case 9:
                this.DatePickerNaissance = ((System.Windows.Controls.DatePicker)(target));

            #line 674 "..\..\..\Pages\PagePatient.xaml"
                this.DatePickerNaissance.CalendarClosed += new System.Windows.RoutedEventHandler(this.DatePicker_CalendarClosed);

            #line default
            #line hidden
                return;

            case 10:
                this.TextBlockAffichageAge = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.ScrollContacts = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 12:
                this.GridContacts = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.GridContactLigne = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 14:
                this.Ajout = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:

            #line 695 "..\..\..\Pages\PagePatient.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ajouterUnContactClick);

            #line default
            #line hidden
                return;

            case 16:
                this.PopUpEnglobanteContact = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 703 "..\..\..\Pages\PagePatient.xaml"
                this.PopUpEnglobanteContact.Closed += new System.EventHandler(this.PopUpClosed);

            #line default
            #line hidden
                return;

            case 17:
                this.PopUpContact = ((TestApp.UI_Elements.PopUp)(target));
                return;

            case 18:
                this.ScrollAdresses = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 19:
                this.GridAdresses = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.AjoutAdresse = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.OrigineDemande = ((System.Windows.Controls.ComboBox)(target));

            #line 760 "..\..\..\Pages\PagePatient.xaml"
                this.OrigineDemande.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.ScrollSuivis = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 23:
                this.GridSuivis = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.TextBox3 = ((System.Windows.Controls.TextBox)(target));

            #line 829 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.TextBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.TextBox5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.TextBox6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.TextBox7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.TextBox8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.Acuite = ((System.Windows.Controls.ComboBox)(target));

            #line 872 "..\..\..\Pages\PagePatient.xaml"
                this.Acuite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.Orthoptie = ((System.Windows.Controls.ComboBox)(target));

            #line 887 "..\..\..\Pages\PagePatient.xaml"
                this.Orthoptie.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.ReflexeVisuel = ((System.Windows.Controls.ComboBox)(target));

            #line 896 "..\..\..\Pages\PagePatient.xaml"
                this.ReflexeVisuel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.TestLateralite = ((System.Windows.Controls.ComboBox)(target));

            #line 901 "..\..\..\Pages\PagePatient.xaml"
                this.TestLateralite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.ConnaissanceLateralite = ((System.Windows.Controls.ComboBox)(target));

            #line 908 "..\..\..\Pages\PagePatient.xaml"
                this.ConnaissanceLateralite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.Pattes = ((System.Windows.Controls.ComboBox)(target));

            #line 909 "..\..\..\Pages\PagePatient.xaml"
                this.Pattes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.Onglets = ((System.Windows.Controls.TabControl)(target));
                return;

            case 37:
                this.GridTabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.Arbre = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.GrandsParents = ((System.Windows.Controls.StackPanel)(target));

            #line 935 "..\..\..\Pages\PagePatient.xaml"
                this.GrandsParents.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 40:
                this.Parents = ((System.Windows.Controls.StackPanel)(target));

            #line 936 "..\..\..\Pages\PagePatient.xaml"
                this.Parents.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 41:
                this.Fraterie = ((System.Windows.Controls.StackPanel)(target));

            #line 937 "..\..\..\Pages\PagePatient.xaml"
                this.Fraterie.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 42:
                this.FormulaireProche = ((System.Windows.Controls.Grid)(target));
                return;

            case 43:
                this.StackLaterlite = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 44:
                this.radioDroit = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 45:
                this.radioGauche = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 46:
                this.Diponibilité = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 47:
                this.GarconDroitier = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 48:
                this.GarconGaucher = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 49:
                this.FilleDroitiere = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 50:
                this.FilleGauchere = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 51:
                this.Commentaire = ((System.Windows.Controls.RichTextBox)(target));

            #line 995 "..\..\..\Pages\PagePatient.xaml"
                this.Commentaire.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.richTextBox_TextChanged);

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