(1) Always create a base control for all you gui widgets.
for eg.
public class UButton : System.Windows.Forms.Button
{
//........................
}
and similiarly for other controls.
This will help you maintain consistency of gui elements across all user interfaces.
(2) Create your own base form instead of using System.Windows.Forms.Form
public class UForm : System.Windows.Forms.Form
{
}
This will help you maintain consistency across all forms.
(3) And similarly for web forms and user controls.
for eg.
public class UButton : System.Windows.Forms.Button
{
//........................
}
and similiarly for other controls.
This will help you maintain consistency of gui elements across all user interfaces.
(2) Create your own base form instead of using System.Windows.Forms.Form
public class UForm : System.Windows.Forms.Form
{
}
This will help you maintain consistency across all forms.
(3) And similarly for web forms and user controls.
Comments