mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Change Action to EventHandler for more events
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user