示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Window5 Window5 = new Window5();

            Window5.Show();
            this.Close();
        }
示例#2
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Site site = ListView.SelectedItem as Site;

            if (site != null)
            {
                Window5 wind = new Window5(this, site);
                wind.Show();
            }
        }
示例#3
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Window5 wind = new Window5(this);

            wind.Show();
        }