Showing posts with label SpeedUp. Show all posts
Showing posts with label SpeedUp. Show all posts

Monday, October 17, 2011

Remove Visual Studio autogenerated control from Toolbox

If you have a project that uses a lot of visual database components, you will see that those components are auto generated and present in the toolbox causing Visual Studio to run slower. To get rid of those components go to: Tools - Options - Windows Form Designer and set AutoToolboxPopulate to false and restart Visual Studio

Thursday, October 30, 2008

Speed up DataGridView C#

The DataGridView in C# 2005 is very slow for about 15000 records.
Fixes:
  • AutoSizeColumnsMode = Fill;
  • BorderStyle = None;
  • CellBorderStyle = SingleVertical;
  • ColumnHeaderBorderStyle = Single;
  • ColumnHeaderHeightSizeMode = DisableResizing;
  • EditMode = EditProgrammatically;
  • EnableHeadersVisualStyles = False;
  • ReadOnly = True;
  • RowHeadersWidthSizeMode = DisableResizing;
  • ShowCellTooTips = False;

These settings were tested in Visual Studio 2005, in which works very well. I haven't tested them in VS 2008, but I thing they work as well.

Thursday, October 18, 2007

Speed up DataGridView C#

The DataGridView in C# 2005 is very slow for about 15000 records.
Possibly fixes:
  • none at this time