1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Windows.Forms;
7
namespace ICSharpCode.SharpDevelop.Gui
9
public abstract class AbstractPadContent : IPadContent
12
public abstract object Control {
17
public virtual object InitiallyFocusedControl {
23
public virtual void Dispose()
27
public void BringToFront()
29
PadDescriptor d = this.PadDescriptor;
34
protected virtual PadDescriptor PadDescriptor {
36
if (WorkbenchSingleton.Workbench == null || WorkbenchSingleton.Workbench.WorkbenchLayout == null)
38
return WorkbenchSingleton.Workbench.GetPad(GetType());