DarkUI.Net5/DarkUI/Controls/DarkControl.cs
Robin cdaeae5264 Cleaned up namespaces.
Moved classes out of subfolders. Moved enums to be within the same file
as their main class. Added new DarkControl superclass.
2015-12-07 20:21:17 +00:00

42 lines
861 B
C#

using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace DarkUI.Controls
{
public enum DarkControlState
{
Normal,
Hover,
Pressed
}
public enum DarkContentAlignment
{
Center,
Left,
Right
}
public class DarkControl : Control
{
#region Property Region
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new Image BackgroundImage
{
get { return base.BackgroundImage; }
}
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public new ImageLayout BackgroundImageLayout
{
get { return base.BackgroundImageLayout; }
}
#endregion
}
}