Archive for September, 2009
Inherit DataGridView in Windows Forms
Sep 4th
Create a user control class DataGridViewEx and paste the code snippet given. You can use this control where you want an inherited DataGridView. Download source code & sample: 7z file – DataGridViewInheritance.7z Zip file – DataGridViewInheritance.zip using System; using System.ComponentModel; using System.Design; using System.Drawing; using System.Windows.Forms; namespace DataGridViewInheritance { [Designer(typeof(System.Windows.Forms.Design.ControlDesigner))] public partial class DataGridViewEx : [...]