コード例 #1
0
        //delete bicycle button brings user to search delete bicycle window
        private void DeleteBicycleButton_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            SearchDeleteBicycle ourSearchDeleteBicycle = new SearchDeleteBicycle(this);

            ourSearchDeleteBicycle.Show();
        }
コード例 #2
0
        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            //brings the user back to the searchdeletebicycle screen
            SearchDeleteBicycle d = new SearchDeleteBicycle(myCaller);

            d.Show();
            this.Hide();
        }