Exemplo n.º 1
0
 public GridView()
     : base()
 {
     this.BeginInit();
     this.SetStyle(
         ControlStyles.AllPaintingInWmPaint |
         ControlStyles.FixedHeight |
         ControlStyles.FixedWidth |
         ControlStyles.OptimizedDoubleBuffer |
         ControlStyles.ResizeRedraw |
         ControlStyles.Selectable |
         ControlStyles.UserPaint, true);
     this.UpdateStyles();
     this._columns = new GridViewColumnCollection(this);
     this.EndInit();
 }
Exemplo n.º 2
0
 public GridView()
     : base()
 {
     this.BeginInit();
     this.SetStyle(
         ControlStyles.AllPaintingInWmPaint |
         ControlStyles.FixedHeight |
         ControlStyles.FixedWidth |
         ControlStyles.OptimizedDoubleBuffer |
         ControlStyles.ResizeRedraw |
         ControlStyles.Selectable |
         ControlStyles.UserPaint, true);
     this.UpdateStyles();
     this._columns = new GridViewColumnCollection(this);
     this.EndInit();
 }