Click here to Skip to main content
15,908,768 members
Home / Discussions / C#
   

C#

 
GeneralRe: Form designer performance Pin
Dan Neely13-May-09 4:17
Dan Neely13-May-09 4:17 
The form was originally created in VS2k3 which didn't support partial classes. At that time I occasionally 'edited' it after the designer (seemingly) randomly moved stuff around to avoid crapping my diffs up with junk. Otherwise the only thing i did was to add xml comments and #warning TODO blah blah notes to a few objects.


There are suspend/resume layout calls for the form and the two group boxes that contain most of the controls within InitializeComponent(). The SuspendLayout calls come right after all the foo = new foo() calls, The ResumeLayout and PerformLayout calls are near the end of the method. On both ends they're interspersed within ((System.ComponentModel.ISupportInitialize)(this.foo)).BeginInit(); and corresponding EndInit calls. I've also noticed that only one of the two groupboxes has a PerformLayout call. Since I've never intentionally meddled with this stuff I'm not sure if that's correct or not.

The form also has a ReSise event handler, but AFAIK the designer ignores that.

It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies

GeneralRe: Form designer performance Pin
Luc Pattyn13-May-09 4:32
sitebuilderLuc Pattyn13-May-09 4:32 
QuestionEnter Key press is not working in ComboBox Pin
rajender303513-May-09 2:27
rajender303513-May-09 2:27 
AnswerRe: Enter Key press is not working in ComboBox Pin
Luc Pattyn13-May-09 2:35
sitebuilderLuc Pattyn13-May-09 2:35 
AnswerRe: Enter Key press is not working in ComboBox Pin
Member 103390713-May-09 7:14
Member 103390713-May-09 7:14 
QuestionHow can a console application return data to the calling application? Pin
arnold_w13-May-09 2:09
arnold_w13-May-09 2:09 
AnswerRe: How can a console application return data to the calling application? Pin
Henry Minute13-May-09 2:29
Henry Minute13-May-09 2:29 
AnswerRe: How can a console application return data to the calling application? Pin
Luc Pattyn13-May-09 2:34
sitebuilderLuc Pattyn13-May-09 2:34 
NewsRe: How can a console application return data to the calling application? Pin
arnold_w13-May-09 3:35
arnold_w13-May-09 3:35 
GeneralRe: How can a console application return data to the calling application? Pin
Luc Pattyn13-May-09 3:44
sitebuilderLuc Pattyn13-May-09 3:44 
QuestionUpdate fields in a DataGridView Pin
mrkeivan13-May-09 1:52
mrkeivan13-May-09 1:52 
AnswerRe: Update fields in a DataGridView Pin
saanj13-May-09 2:03
saanj13-May-09 2:03 
Question[Message Deleted] Pin
hkjghkj113-May-09 1:36
hkjghkj113-May-09 1:36 
AnswerRe: additional button Pin
musefan13-May-09 1:40
musefan13-May-09 1:40 
AnswerRe: additional button Pin
saanj13-May-09 2:05
saanj13-May-09 2:05 
QuestionBrowse folder in PDA Pin
Sportif1213-May-09 0:40
Sportif1213-May-09 0:40 
AnswerRe: Browse folder in PDA Pin
Mycroft Holmes13-May-09 0:49
professionalMycroft Holmes13-May-09 0:49 
AnswerRe: Browse folder in PDA Pin
DaveyM6913-May-09 1:13
professionalDaveyM6913-May-09 1:13 
GeneralRe: Browse folder in PDA Pin
Sportif1213-May-09 1:19
Sportif1213-May-09 1:19 
GeneralRe: Browse folder in PDA Pin
DaveyM6913-May-09 1:34
professionalDaveyM6913-May-09 1:34 
Questioncurrent files openned Pin
shefa' isied13-May-09 0:38
shefa' isied13-May-09 0:38 
QuestionError on Setup Project after Building Pin
Vimalsoft(Pty) Ltd13-May-09 0:35
professionalVimalsoft(Pty) Ltd13-May-09 0:35 
QuestionDATAGRIDVIEW Pin
noamtzu12-May-09 23:31
noamtzu12-May-09 23:31 
AnswerRe: DATAGRIDVIEW Pin
Sun Rays12-May-09 23:36
Sun Rays12-May-09 23:36 
GeneralRe: DATAGRIDVIEW Pin
noamtzu13-May-09 0:18
noamtzu13-May-09 0:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.