Update Added/Removed and other events to use `EventHandler

This commit is contained in:
tznind
2023-03-11 11:05:20 +00:00
parent 7764006932
commit 9c4f3eda16
16 changed files with 72 additions and 52 deletions

View File

@@ -316,7 +316,7 @@ namespace Terminal.Gui {
}
};
Added += (View v) => {
Added += (s, e) => {
// Determine if this view is hosted inside a dialog and is the only control
for (View view = this.SuperView; view != null; view = view.SuperView) {