Esempio n. 1
0
        private void btnClub_Click(object sender, RoutedEventArgs e)
        {
            Club_List_Admin cl = new Club_List_Admin();

            cl.Show();
            this.Close();
        }
        private void DeleteButton(object sender, RoutedEventArgs e)
        {
            Button deleteBtn = sender as Button;

            if (deleteBtn != null)
            {
                string clubID = deleteBtn.Tag as string;
                Database.deleteClub(clubID);
                Club_List_Admin CLA = new Club_List_Admin();
                CLA.Show();
                this.Close();
            }
        }