Exemplo n.º 1
0
 private void ComplexTDClicked(object sender, RoutedEventArgs e)
 {
     taskDialog = FindTaskDialog("complexTD");
     bar = (TaskDialogProgressBar)taskDialog.Controls["ProgressBar"];
     taskDialog.ExpandedText += " Link: <A HREF=\"Http://www.microsoft.com\">Microsoft</A>";
     
     taskDialog.Show();
 }
Exemplo n.º 2
0
        public Window1()
        {
            InitializeComponent();

            TaskDialog taskDialog = new TaskDialog();
            taskDialog.Content = "Are you sure you want to continue?";
            taskDialog.StandardButtons = TaskDialogStandardButtons.YesNo;
            taskDialog.MainIcon = TaskDialogStandardIcon.Warning;
            taskDialog.Caption = "Confirm Format";
            taskDialog.Instruction = "Confirm Drive Format";
            taskDialog.FooterText = "NOTE: All data stored on the drive will be lost.";
            taskDialog.FooterIcon = TaskDialogStandardIcon.Information;
            TaskDialogResult result = taskDialog.Show();
            result.StandardButtonClicked= TaskDialogStandardButton.Yes 


        }
Exemplo n.º 3
0
 private void SimpleWaitTDClicked(object sender, RoutedEventArgs e)
 {
     taskDialog = FindTaskDialog("simpleWaitTD");
     taskDialog.Show();
 }
Exemplo n.º 4
0
 private void ComplexTD2Clicked(object sender, RoutedEventArgs e)
 {
     taskDialog = FindTaskDialog("complexTD2");
     taskDialog.Show();
 }
Exemplo n.º 5
0
        private void ComplexTDClicked(object sender, RoutedEventArgs e)
        {
            taskDialog = FindTaskDialog("complexTD");

            if (initializedComplexDialog == false)
            {
                taskDialog.ExpandedText += " Link: <A HREF=\"Http://www.microsoft.com\">Microsoft</A>";
                initializedComplexDialog = true;
            }

            taskDialog.Show();
        }
Exemplo n.º 6
0
 private void ConfirmationTDClicked(object sender, RoutedEventArgs e)
 {
     taskDialog = FindTaskDialog("confirmationTD");
     taskDialog.Show();
 }