mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Removed un-needed and un-used RequestStop override from Scenario
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
using System;
|
||||
using Terminal.Gui;
|
||||
|
||||
Application.Run<ExampleWindow> ();
|
||||
var app = Application.Run<ExampleWindow> ();
|
||||
|
||||
Console.WriteLine ($"Username: {((ExampleWindow)Application.Top).UserNameText.Text}");
|
||||
Console.WriteLine ($"Username: {app.UserNameText.Text}");
|
||||
|
||||
app.Dispose ();
|
||||
|
||||
// Before the application exits, reset Terminal.Gui for clean shutdown
|
||||
Application.Shutdown ();
|
||||
|
||||
Reference in New Issue
Block a user