Change Action to EventHandler for more events

This commit is contained in:
tznind
2023-03-12 02:10:22 +00:00
parent 43f67a6387
commit 3bec36ac47
68 changed files with 225 additions and 225 deletions

View File

@@ -47,7 +47,7 @@ namespace Terminal.Gui.TopLevelTests {
string expectedAfter = string.Empty;
string expectedDuring = string.Empty;
bool cancel = false;
r.TitleChanging += (args) => {
r.TitleChanging += (s,args) => {
Assert.Equal (expectedDuring, args.NewTitle);
args.Cancel = cancel;
};
@@ -73,7 +73,7 @@ namespace Terminal.Gui.TopLevelTests {
Assert.Equal (ustring.Empty, r.Title);
string expected = string.Empty;
r.TitleChanged += (args) => {
r.TitleChanged += (s,args) => {
Assert.Equal (r.Title, args.NewTitle);
};