diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs
index e8c45f96f..f9ecf029a 100644
--- a/UICatalog/Scenario.cs
+++ b/UICatalog/Scenario.cs
@@ -138,25 +138,10 @@ public class Scenario : IDisposable
{
}
- ///
- /// The Toplevel for the . This should be set to .
- ///
-
- //[ObsoleteAttribute ("This property is obsolete and will be removed in v2. Use Main instead.", false)]
- public Toplevel Top { get; set; }
-
/// Gets the Scenario Name + Description with the Description padded based on the longest known Scenario name.
///
public override string ToString () { return $"{GetName ().PadRight (_maxScenarioNameLen)}{GetDescription ()}"; }
- ///
- /// The Window for the . This should be set to in
- /// most cases.
- ///
-
- //[ObsoleteAttribute ("This property is obsolete and will be removed in v2. Use Main instead.", false)]
- public Window Win { get; set; }
-
#region IDispose
public void Dispose ()
@@ -172,8 +157,6 @@ public class Scenario : IDisposable
{
if (disposing)
{
- Top?.Dispose ();
- Win?.Dispose ();
}
_disposedValue = true;