Click here to Skip to main content
15,918,303 members
Home / Discussions / C#
   

C#

 
AnswerRe: Disabling "X" button in WinForm Pin
Not Active7-Jul-06 2:58
mentorNot Active7-Jul-06 2:58 
AnswerRe: Disabling "X" button in WinForm [modified] Pin
Anh_Tuan7-Jul-06 3:02
Anh_Tuan7-Jul-06 3:02 
QuestionError : Cannot write to a closed TextWriter Pin
adityap7-Jul-06 2:01
adityap7-Jul-06 2:01 
AnswerRe: Error : Cannot write to a closed TextWriter Pin
Judah Gabriel Himango7-Jul-06 4:39
sponsorJudah Gabriel Himango7-Jul-06 4:39 
AnswerRe: Error : Cannot write to a closed TextWriter Pin
Judah Gabriel Himango7-Jul-06 4:40
sponsorJudah Gabriel Himango7-Jul-06 4:40 
GeneralProblem - Re: Error : Cannot write to a closed TextWriter [modified] Pin
adityap9-Jul-06 20:00
adityap9-Jul-06 20:00 
QuestionPage Timers Pin
Brendan Vogt7-Jul-06 1:46
Brendan Vogt7-Jul-06 1:46 
AnswerRe: Page Timers Pin
Guffa7-Jul-06 3:57
Guffa7-Jul-06 3:57 
I think that PreInit fires first, and Disposed last.

The documentation says that Init and Disposed are the first and last stages of the lifecycle of a control, but the PreInit event was added in framework 2.0 as the Init even fires too late to be usable to set the theme of the page.

If you plan to show the time in the same page, though, the Dispose event is far too late. You have to do it somewhere around PreRender.

If you want to find out the real load time, and not just most of the execution part of the page creation, use Javascript to send along the time when the page was requested, and compare it to the time when the new page has loaded.


---
b { font-weight: normal; }

AnswerRe: Page Timers Pin
Dustin Metzgar7-Jul-06 4:04
Dustin Metzgar7-Jul-06 4:04 
QuestionCreating an options dialog for my WinApp. Pin
anderslundsgard7-Jul-06 1:14
anderslundsgard7-Jul-06 1:14 
AnswerRe: Creating an options dialog for my WinApp. Pin
Robert Rohde7-Jul-06 4:37
Robert Rohde7-Jul-06 4:37 
QuestionHow to get data from text box respective of text position ? Pin
praveenqwe7-Jul-06 0:52
praveenqwe7-Jul-06 0:52 
AnswerRe: How to get data from text box respective of text position ? Pin
stancrm7-Jul-06 1:03
stancrm7-Jul-06 1:03 
QuestionHow to make a Class object global?? Pin
suguimoto7-Jul-06 0:25
suguimoto7-Jul-06 0:25 
AnswerRe: How to make a Class object global?? [modified] Pin
psamy7-Jul-06 0:38
psamy7-Jul-06 0:38 
AnswerRe: How to make a Class object global?? Pin
Brendan Vogt7-Jul-06 0:42
Brendan Vogt7-Jul-06 0:42 
AnswerRe: How to make a Class object global?? Pin
Guffa7-Jul-06 3:43
Guffa7-Jul-06 3:43 
GeneralHeh, doesn't work Pin
Ennis Ray Lynch, Jr.7-Jul-06 8:23
Ennis Ray Lynch, Jr.7-Jul-06 8:23 
AnswerRe: Heh, doesn't work Pin
Guffa7-Jul-06 23:45
Guffa7-Jul-06 23:45 
QuestionRichTextBoxControl cursor position Pin
Radu Sorin7-Jul-06 0:16
Radu Sorin7-Jul-06 0:16 
AnswerRe: RichTextBoxControl cursor position Pin
mav.northwind7-Jul-06 1:07
mav.northwind7-Jul-06 1:07 
AnswerRe: RichTextBoxControl cursor position Pin
BoneSoft7-Jul-06 3:48
BoneSoft7-Jul-06 3:48 
QuestionData Access Application Block AddInParameter method Pin
Brendan Vogt7-Jul-06 0:12
Brendan Vogt7-Jul-06 0:12 
AnswerRe: Data Access Application Block AddInParameter method Pin
Not Active7-Jul-06 2:56
mentorNot Active7-Jul-06 2:56 
QuestionData Access Application Block Pin
Brendan Vogt7-Jul-06 0:04
Brendan Vogt7-Jul-06 0: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.