diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs
index 8e1eff25f..e8c45f96f 100644
--- a/UICatalog/Scenario.cs
+++ b/UICatalog/Scenario.cs
@@ -136,71 +136,8 @@ public class Scenario : IDisposable
///
public virtual void Main ()
{
- Init ();
- Setup ();
- Run ();
}
- ///
- /// Helper that calls and creates the default
- /// implementation with a frame and label
- /// showing the name of the and logic to exit back to the Scenario picker UI. Override
- /// to provide any behavior needed.
- ///
- ///
- ///
- /// The base implementation calls and creates a for
- /// and adds it to .
- ///
- ///
- /// Overrides that do not call the base., must call before
- /// creating any views or calling other Terminal.Gui APIs.
- ///
- ///
- [ObsoleteAttribute ("This method is obsolete and will be removed in v2. Use Main instead.", false)]
- public virtual void Init ()
- {
- Application.Init ();
-
- ConfigurationManager.Themes.Theme = Theme;
- ConfigurationManager.Apply ();
-
- Top = new ();
-
- Win = new ()
- {
- Title = GetQuitKeyAndName (),
- X = 0,
- Y = 0,
- Width = Dim.Fill (),
- Height = Dim.Fill (),
- ColorScheme = Colors.ColorSchemes [TopLevelColorScheme]
- };
- Top.Add (Win);
- }
-
- ///
- /// Runs the . Override to start the using a
- /// different than `Top`.
- ///
- ///
- /// Overrides that do not call the base., must call before
- /// returning.
- ///
- [ObsoleteAttribute ("This method is obsolete and will be removed in v2. Use Main instead.", false)]
- public virtual void Run ()
- {
- // Must explicitly call Application.Shutdown method to shutdown.
- Application.Run (Top);
- Top.Dispose ();
- Application.Shutdown ();
- }
-
- /// Override this to implement the setup logic (create controls, etc...).
- /// This is typically the best place to put scenario logic code.
- [ObsoleteAttribute ("This method is obsolete and will be removed in v2. Use Main instead.", false)]
- public virtual void Setup () { }
-
///
/// The Toplevel for the . This should be set to .
///