コード例 #1
0
        private void Buttonguest_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            Window tmp = new clientWindow();

            tmp.ShowDialog();
        }
コード例 #2
0
        //image button
        private void zion1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            hu.numawful1++;
            MainWindow.bl.medgrade(hu);
            MessageBox.Show("תודה רבה על המשוב", "תודה(:", MessageBoxButton.OK, MessageBoxImage.Information);
            this.Close();
            Window tmp = new clientWindow();

            tmp.ShowDialog();
        }