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();
        }