Click here to Skip to main content
15,912,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:23
dsrao13-Sep-05 8:23 
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:50
dsrao13-Sep-05 8:50 
GeneralRe: C# Removing Excel object from Task Manager Pin
Anonymous13-Sep-05 15:22
Anonymous13-Sep-05 15:22 
QuestionRead deadlock on child process Pin
brucemo12-Sep-05 13:36
brucemo12-Sep-05 13:36 
AnswerRe: Read deadlock on child process Pin
S. Senthil Kumar12-Sep-05 18:44
S. Senthil Kumar12-Sep-05 18:44 
GeneralRe: Read deadlock on child process Pin
brucemo12-Sep-05 20:04
brucemo12-Sep-05 20:04 
QuestionIssue with Form Sizing Pin
DeepToot12-Sep-05 11:57
DeepToot12-Sep-05 11:57 
AnswerRe: Issue with Form Sizing Pin
Christian Graus12-Sep-05 12:48
protectorChristian Graus12-Sep-05 12:48 
Swelborn wrote:
Form2 frm2 = new Form2()
frm2.height = 528;
frm2.width = 886;
frm2.Show();


Can't work. The Show method causes the initialisation/load methods to be called, which will set the size. You need to set the size within the form, or after you show it. The nicest way would be to pass the desired size in the constructor, and use them when the form is first shown.

Swelborn wrote:
But, another twist. It only does it once. Like the first time I load the app and launch it this is what happens. If I close form2 and open it back up without closing the whole application, works fine.

Amusingly, when you create this form after the first time, .NET has already cached it, when you closed it last time, it was just hidden, so this init code will not be called again, instead the framework just shows the form that it was hiding when you tell it to.


Christian Graus - Microsoft MVP - C++
GeneralRe: Issue with Form Sizing Pin
DeepToot13-Sep-05 4:32
DeepToot13-Sep-05 4:32 
QuestionNeed to write a Form that accepts dropping files dragged from Explorer Pin
12-Sep-05 11:26
suss12-Sep-05 11:26 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Member 103390712-Sep-05 12:21
Member 103390712-Sep-05 12:21 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Mohamad Al Husseiny12-Sep-05 12:43
Mohamad Al Husseiny12-Sep-05 12:43 
QuestionDeserializer question Pin
Tom Wright12-Sep-05 11:23
Tom Wright12-Sep-05 11:23 
AnswerRe: Deserializer question Pin
S. Senthil Kumar12-Sep-05 15:26
S. Senthil Kumar12-Sep-05 15:26 
Questionlength Pin
xilefxilef12-Sep-05 10:57
xilefxilef12-Sep-05 10:57 
QuestionMoving files Pin
BECK712-Sep-05 7:11
BECK712-Sep-05 7:11 
AnswerRe: Moving files Pin
leppie12-Sep-05 7:23
leppie12-Sep-05 7:23 
AnswerRe: Moving files Pin
KaptinKrunch12-Sep-05 7:44
KaptinKrunch12-Sep-05 7:44 
GeneralRe: Moving files Pin
BECK712-Sep-05 10:04
BECK712-Sep-05 10:04 
GeneralRe: Moving files Pin
KaptinKrunch12-Sep-05 14:16
KaptinKrunch12-Sep-05 14:16 
QuestionMailer Application Pin
GalRatz12-Sep-05 6:24
GalRatz12-Sep-05 6:24 
AnswerRe: Mailer Application Pin
Jon Sagara12-Sep-05 6:36
Jon Sagara12-Sep-05 6:36 
GeneralRe: Mailer Application Pin
GalRatz12-Sep-05 8:25
GalRatz12-Sep-05 8:25 
QuestionDeveloping application for Smartphones and PDAs Pin
rnvrnv12-Sep-05 5:40
rnvrnv12-Sep-05 5:40 
AnswerRe: Developing application for Smartphones and PDAs Pin
Jon Sagara12-Sep-05 7:04
Jon Sagara12-Sep-05 7:04 

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.