mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
25 lines
580 B
C#
25 lines
580 B
C#
using Terminal.Gui;
|
|
|
|
namespace UICatalog.Scenarios {
|
|
[ScenarioMetadata (Name: "Borders on FrameView", Description: "Demonstrate FrameView borders manipulation.")]
|
|
[ScenarioCategory ("Layout")]
|
|
[ScenarioCategory ("Borders")]
|
|
public class BordersOnFrameView : Scenario {
|
|
public override void Init ()
|
|
{
|
|
Application.Init ();
|
|
|
|
var boc = new BordersOnContainers (
|
|
$"{Application.QuitKey} to Quit - Scenario: {GetName ()}",
|
|
"FrameView",
|
|
new FrameView ());
|
|
|
|
Application.Run (boc);
|
|
Application.Shutdown ();
|
|
}
|
|
|
|
public override void Run ()
|
|
{
|
|
}
|
|
}
|
|
} |