public MozPane()
{
// This call is required by the Windows.Forms Form Designer.
InitializeComponent();
// TODO: remove the following lines after you know the resource names
// This call is required by the Windows.Forms Form Designer.
components = new System.ComponentModel.Container();
this.SetStyle(ControlStyles.DoubleBuffer, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.ResizeRedraw, true);
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.SetStyle(ControlStyles.ContainerControl,true);
this.m_mozItemCollection = new MozItemCollection(this);
// Enable Autoscroll
this.AutoScroll = true;
m_padding = new PaddingCollection(this);
m_colorCollection = new ColorCollection(this);
m_borderStyleCollection = new BorderStyleCollection(this);
m_themeManager = new ThemeManager();
m_selectButton = MozSelectButton.Left;
m_style = MozPaneStyle.Vertical;
m_toggle = false;
m_maxSelectedItems = 1;
m_selectedItems = 0;
m_useTheme = false;
m_theme = IntPtr.Zero;
// Listen for changes to the parent
this.ParentChanged += new EventHandler(this.OnParentChanged);
this.beginUpdateCount = 0;
this.deserializing = false;
this.initialising = false;
m_borderColor = Color.FromArgb(127,157,185);
this.BackColor = Color.White;
m_borderStyle = ButtonBorderStyle.Solid;
}