コード例 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Window3 win3 = new Window3(user);

            this.Hide();
            win3.ShowDialog();
        }
コード例 #2
0
        private void Button_Click_5(object sender, RoutedEventArgs e)
        {
            Window3 win3 = new Window3(Convert.ToString(labelUser.Content));

            this.Hide();
            win3.ShowDialog();
        }