Skip to content

Commit

Permalink
Update about window.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Nov 18, 2023
1 parent 3a9b542 commit fb6a56f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
8 changes: 4 additions & 4 deletions NanaGet/AboutPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ namespace winrt::NanaGet::implementation
}

void AboutPage::GitHubButtonClick(
IInspectable const& sender,
RoutedEventArgs const& e)
winrt::IInspectable const& sender,
winrt::RoutedEventArgs const& e)
{
UNREFERENCED_PARAMETER(sender);
UNREFERENCED_PARAMETER(e);
Expand All @@ -52,8 +52,8 @@ namespace winrt::NanaGet::implementation
}

void AboutPage::CancelButtonClick(
IInspectable const& sender,
RoutedEventArgs const& e)
winrt::IInspectable const& sender,
winrt::RoutedEventArgs const& e)
{
UNREFERENCED_PARAMETER(sender);
UNREFERENCED_PARAMETER(e);
Expand Down
14 changes: 9 additions & 5 deletions NanaGet/AboutPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@

#include <Windows.h>

namespace winrt::NanaGet::implementation
namespace winrt
{
using Windows::Foundation::IInspectable;
using Windows::UI::Xaml::RoutedEventArgs;
}

namespace winrt::NanaGet::implementation
{
struct AboutPage :
AboutPageT<AboutPage>
{
Expand All @@ -19,12 +23,12 @@ namespace winrt::NanaGet::implementation
void InitializeComponent();

void GitHubButtonClick(
IInspectable const& sender,
RoutedEventArgs const& e);
winrt::IInspectable const& sender,
winrt::RoutedEventArgs const& e);

void CancelButtonClick(
IInspectable const& sender,
RoutedEventArgs const& e);
winrt::IInspectable const& sender,
winrt::RoutedEventArgs const& e);

private:

Expand Down
2 changes: 1 addition & 1 deletion NanaGet/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Margin="0,0,0,12"
FontSize="24"
FontWeight="SemiBold"
Text="[About]" />
Text="[About NanaGet]" />
<TextBlock>
<Run x:Name="Version" />
<LineBreak />
Expand Down

0 comments on commit fb6a56f

Please sign in to comment.