You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
651 B
36 lines
651 B
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/> |
|
// <version value="$version"/> |
|
// </file> |
|
|
|
using System; |
|
using System.Drawing; |
|
using System.Windows.Forms; |
|
|
|
using ICSharpCode.Core; |
|
|
|
namespace ICSharpCode.SharpDevelop.Gui |
|
{ |
|
public abstract class AbstractPadContent : IPadContent |
|
{ |
|
public abstract Control Control { |
|
get; |
|
} |
|
|
|
public virtual void RedrawContent() |
|
{ |
|
} |
|
|
|
public virtual void Dispose() |
|
{ |
|
} |
|
|
|
public bool IsVisible { |
|
get { |
|
return Control.Visible && Control.Width > 0; |
|
} |
|
} |
|
} |
|
}
|
|
|