Exemplo n.º 1
0
        private void BoutonEdit_Click(object sender, RoutedEventArgs e)
        {
            Edit_Contact_View fenetre_edit_contact = new Edit_Contact_View();

            fenetre_edit_contact.Show();
            this.Close();
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fenetreEditerContact = ((View.Edit_Contact_View)(target));
                return;

            case 2:
                this.editContactFirtsName = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 5:
                this.editContactPhone = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 7:
                this.boutonEditContact = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\Edit_Contact_View.xaml"
                this.boutonEditContact.Click += new System.Windows.RoutedEventHandler(this.BoutonEditContact_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.backToMenuEditContact = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\Edit_Contact_View.xaml"
                this.backToMenuEditContact.Click += new System.Windows.RoutedEventHandler(this.BackToMenuEditContact_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.signOutEditContact = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\Edit_Contact_View.xaml"
                this.signOutEditContact.Click += new System.Windows.RoutedEventHandler(this.SignOutEditContact_Click);

            #line default
            #line hidden
                return;

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