Exemple #1
0
        private void BoutonDelete_Click(object sender, RoutedEventArgs e)
        {
            Delete_Contacts_View deleteContact = new Delete_Contacts_View();

            deleteContact.Show();
            this.Close();
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Delete_Contact_View = ((View.Delete_Contacts_View)(target));
                return;

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

            case 3:
                this.boutonEffacer = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\Delete_Contacts_View.xaml"
                this.boutonEffacer.Click += new System.Windows.RoutedEventHandler(this.BoutonEffacer_Click);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 16 "..\..\Delete_Contacts_View.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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