| 111 | } |
| 112 | |
| 113 | void CopyDialog::MainPanel_SizeChanged(winrt::Windows::Foundation::IInspectable const&, winrt::Microsoft::UI::Xaml::SizeChangedEventArgs const& e) |
| 114 | { |
| 115 | //The width will not automatically resized after applying storyboard animation |
| 116 | //need this function to set it manually |
| 117 | auto width = e.NewSize().Width; |
| 118 | if (width != 0 && !std::isnan(width)) |
| 119 | ProgressBar().Width(width); |
| 120 | } |
| 121 | |
| 122 | void CopyDialog::ShowGraphButton_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::RoutedEventArgs const&) |
| 123 | { |
nothing calls this directly
no outgoing calls
no test coverage detected