MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / MainPanel_SizeChanged

Method MainPanel_SizeChanged

FastCopy/CopyDialog.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected