mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fixes #4023 - Changes CommandEventArgs to be based on HandledEventArgs instead of CancelEventArgs (#4054)
* touching publish.yml * CancelEventArgs->HandledEventArgs * Fixed Handled issues
This commit is contained in:
@@ -246,7 +246,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
void ViewOnAccept (object sender, CommandEventArgs e)
|
||||
{
|
||||
acceptInvoked = true;
|
||||
e.Cancel = true;
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
checkBox.Accepting += (s, e) =>
|
||||
{
|
||||
acceptCount++;
|
||||
e.Cancel = true;
|
||||
e.Handled = true;
|
||||
};
|
||||
|
||||
checkBox.HasFocus = true;
|
||||
@@ -596,7 +596,7 @@ public class CheckBoxTests (ITestOutputHelper output)
|
||||
void OnSelecting (object sender, CommandEventArgs e)
|
||||
{
|
||||
checkedInvoked = true;
|
||||
e.Cancel = true;
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user