mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add code comments
This commit is contained in:
parent
e6eb8c01c0
commit
7c718ce061
1 changed files with 2 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ namespace Flow.Launcher
|
|||
private void KeyEsc_OnPress(object sender, ExecutedRoutedEventArgs e)
|
||||
{
|
||||
if (_button == MessageBoxButton.YesNo)
|
||||
// Follow System.Windows.MessageBox behavior
|
||||
return;
|
||||
else if (_button == MessageBoxButton.OK)
|
||||
_result = MessageBoxResult.OK;
|
||||
|
|
@ -188,6 +189,7 @@ namespace Flow.Launcher
|
|||
private void Button_Cancel(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (_button == MessageBoxButton.YesNo)
|
||||
// Follow System.Windows.MessageBox behavior
|
||||
return;
|
||||
else if (_button == MessageBoxButton.OK)
|
||||
_result = MessageBoxResult.OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue