Hi,
I have a user control who's class starts like this
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.ComponentModel
<ToolboxBitmap(GetType(Windows.Forms.Panel)), Category("test")> _
Public Class dialogTopBar
Inherits System.Windows.Forms.UserControl
what I want to do is set the dock property's default value to top so when
its added to the form it automatically docks to the top dock location, how
would I go about doing that in this declaration? thanks