Click here to Skip to main content
15,890,825 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: How to Call SSIS Package From Asp.net With C# Pin
Pete O'Hanlon15-Jan-08 9:49
mvePete O'Hanlon15-Jan-08 9:49 
QuestionHow to determine Win32 API Window States like "covered by a modal sub window" or the "active parent window" via Win 32 API [modified] Pin
schwiemn14-Jan-08 11:38
schwiemn14-Jan-08 11:38 
QuestionA Beginners Thread Pin
bharathi_n_r11-Jan-08 20:16
bharathi_n_r11-Jan-08 20:16 
GeneralRe: A Beginners Thread Pin
Abhijit Jana13-Jan-08 1:19
professionalAbhijit Jana13-Jan-08 1:19 
GeneralRe: A Beginners Thread Pin
LongRange.Shooter1-Feb-08 9:50
LongRange.Shooter1-Feb-08 9:50 
QuestionHow to remotely connect multiple PCs(Windows OS based) computers from a single Mac Pin
ctrlnick11-Jan-08 7:16
ctrlnick11-Jan-08 7:16 
AnswerRe: How to remotely connect multiple PCs(Windows OS based) computers from a single Mac Pin
LongRange.Shooter1-Feb-08 9:52
LongRange.Shooter1-Feb-08 9:52 
QuestionHow to control attribute initialization order for controls? Pin
RichardM110-Jan-08 11:32
RichardM110-Jan-08 11:32 
I have a grid control with a number of properties, including colCount, rowCount and rowFooterFillType.
When I change them in designer, they get written into <class>.designer.cs in alphabetic order.
The initialization happens in this order:
newGrid.colCount = 8;<br />
newGrid.rowCount = 4;<br />
newGrid.rowFooterFillType = Type.typeOf("System.Windows.Forms.Label");

What happens is that the grid is created, it is sized, and then it finds out that each of the columns was supposed to create a footer of type "Label".
It makes more sense for the code to be initialized like so:
newGrid.rowFooterFillType = Type.typeOf("System.Windows.Forms.Label");<br />
newGrid.colCount = 8;<br />
newGrid.rowCount = 4;

That way, when the rows are created, they already know what type of footer to use, and create them like I want.
I can go in and change the order of the code designer put out, but that does no good the next time I change one of the attributes in designer, since designer puts them back into alpha order.
Anyone got any good ideas?
Thanks

I want to die like my Grandfather.
Peaceful, Sleeping.
Not screaming like his passengers.

AnswerRe: How to control attribute initialization order for controls? Pin
Patrick Etc.10-Jan-08 12:23
Patrick Etc.10-Jan-08 12:23 
GeneralRe: How to control attribute initialization order for controls? Pin
RichardM110-Jan-08 12:29
RichardM110-Jan-08 12:29 
GeneralRe: How to control attribute initialization order for controls? Pin
Patrick Etc.10-Jan-08 12:31
Patrick Etc.10-Jan-08 12:31 
GeneralRe: How to control attribute initialization order for controls? Pin
RichardM110-Jan-08 12:48
RichardM110-Jan-08 12:48 
QuestionHow to comunicate between two Windows Forms in BOTH directions???? Pin
szymon7910-Jan-08 8:12
szymon7910-Jan-08 8:12 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Dave Kreskowiak10-Jan-08 10:36
mveDave Kreskowiak10-Jan-08 10:36 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
szymon7910-Jan-08 10:57
szymon7910-Jan-08 10:57 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
RichardM110-Jan-08 11:19
RichardM110-Jan-08 11:19 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
szymon7910-Jan-08 11:43
szymon7910-Jan-08 11:43 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
RichardM110-Jan-08 12:13
RichardM110-Jan-08 12:13 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Luc Pattyn10-Jan-08 12:14
sitebuilderLuc Pattyn10-Jan-08 12:14 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
RichardM110-Jan-08 12:20
RichardM110-Jan-08 12:20 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Patrick Etc.10-Jan-08 12:25
Patrick Etc.10-Jan-08 12:25 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Luc Pattyn10-Jan-08 12:56
sitebuilderLuc Pattyn10-Jan-08 12:56 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Luc Pattyn10-Jan-08 12:55
sitebuilderLuc Pattyn10-Jan-08 12:55 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
RichardM110-Jan-08 13:08
RichardM110-Jan-08 13:08 
GeneralRe: How to comunicate between two Windows Forms in BOTH directions???? Pin
Luc Pattyn10-Jan-08 13:13
sitebuilderLuc Pattyn10-Jan-08 13:13 

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.