コード例 #1
0
        private void ILoveWpfBtn_Click(object sender, RoutedEventArgs e)
        {
            NewWindow s = new NewWindow($"Height slider value is: { heightSliderStatus.Text }", $"Width slider value is: { widthSliderStatus.Text }", $"Text is: { btnContentTxtBox.Text }");

            s.Show();
            myMainWin.Visibility = Visibility.Hidden;
        }
コード例 #2
0
        private void ExecuteCommand()
        {
            NewWindow nWin = new NewWindow(height, width, btnText);

            nWin.Show();
        }