Exemplo n.º 1
0
        private void razorButton_Click(object sender, RoutedEventArgs e)
        {
            int index;

            UpdateButtonStatus(razorButton, false);
            UpdateButtonStatus(addButton, false);
            RazorLauncher.Launch(myCurrentOptions, out index);
            UpdateButtonStatus(razorButton, true);
            UpdateButtonStatus(addButton, true);
        }
Exemplo n.º 2
0
        private void razorButton_Click(object sender, RoutedEventArgs e)
        {
            int index;

            razorButton.IsEnabled = false;
            addButton.IsEnabled   = false;
            addButton.Opacity     = myDisabledOpacity;
            razorButton.Opacity   = myDisabledOpacity;
            RazorLauncher.Launch(myCurrentOptions, out index);
            razorButton.IsEnabled = true;
            addButton.IsEnabled   = true;
            addButton.Opacity     = 1;
            razorButton.Opacity   = 1;
        }