| 25 | |
| 26 | |
| 27 | void CopyDialog::ProgressBar_Loaded(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) |
| 28 | { |
| 29 | if (ProgressBar().ActualWidth() != 0 && !std::isnan(ProgressBar().ActualWidth())) |
| 30 | { |
| 31 | |
| 32 | WidthAnimation().To(ProgressBar().ActualWidth()); |
| 33 | ProgressBarEntranceAnimation().Begin(); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | void CopyDialog::HyperlinkButton_Click( |
| 38 | winrt::Windows::Foundation::IInspectable const& sender, |