private void btnVoertuigwinkel_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            Voertuig winkel = new Voertuig();

            winkel.ShowDialog();
        }
Beispiel #2
0
        private void btnVoertuigen_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            Voertuig voertuig = new Voertuig();

            voertuig.ShowDialog();
            this.Close();
        }
        //bij het klikken op deze button ga je naar het scherm van winkel voertuig (voertuig.xaml)
        private void btn_WinkelVoertuigen_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();
            Voertuig voertuigwinkel = new Voertuig();

            voertuigwinkel.Show();
            this.Close();
        }