Exemple #1
0
        private void OnChangeSlideDelay_Clicked(object sender, RoutedEventArgs e)
        {
            AskForTime ask = new AskForTime(this.delayTime, "Slide Delay", "int");

            ask.ShowDialog();
            if (ask.DialogResult == true)
            {
                this.delayTime = ask.time;
            }
        }
Exemple #2
0
        private void OnChangeAnimLength_Clicked(object sender, RoutedEventArgs e)
        {
            AskForTime ask = new AskForTime(this.animationDuration.TotalSeconds, "Animation", "double");

            ask.ShowDialog();
            if (ask.DialogResult == true)
            {
                this.animationDuration = TimeSpan.FromSeconds(ask.time);
            }
        }