|
INTERVIEW QUESTIONS
MICROSOFT
C#
DETAILS
Question: What is FormClosed and FormClosing events?
Answer: The FormClosing event occurs as the form is being closed.You can Cancel this event. If you cancel this event, the form remains opened. To cancel the closure of a form, set the Cancel property of the FormClosingEventArgs passed to your event handler to true.
The FormClosed event occurs after the form has been closed by the user When a form is closed, it is disposed, releasing all resources associated with the form
|
|
|
Category |
C# Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9062 users |
Added on |
4/9/2015 |
Views |
67727 |
Rate it! |
|
|
Question:
What is FormClosed and FormClosing events?
Answer:
The FormClosing event occurs as the form is being closed.You can Cancel this event. If you cancel this event, the form remains opened. To cancel the closure of a form, set the Cancel property of the FormClosingEventArgs passed to your event handler to true.
The FormClosed event occurs after the form has been closed by the user When a form is closed, it is disposed, releasing all resources associated with the form Source: CoolInterview.com
Answered by: Titty Louis | Date: 8/14/2010
| Contact Titty Louis
After close the form the form closed event fire. And before starting the close operation of form the closing event was fire Source: CoolInterview.com
Answered by: Abhijit Bagchi | Date: 9/2/2010
| Contact Abhijit Bagchi
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How can C# app request minimum permissions?
|
View Answer
|
|
What is the difference between a sub and a function in C#?
|
View Answer
|
|
What is the difference between directcast and ctype?
|
View Answer
|
|
What are constructor in C#?
|
View Answer
|
|
Difference between value and reference type?
|
View Answer
|
|
Which one is trusted and which one is untrusted?
|
View Answer
|
|
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
|
View Answer
|
|
Can you inherit multiple interfaces?
|
View Answer
|
|
Are private class-level variables inherited?
|
View Answer
|
|
Can you change the value of a variable while debugging a C# application?
|
View Answer
|
|
What is the difference between System.String and System.StringBuilder classes?
|
View Answer
|
|
What is the difference between const and static read-only?
|
View Answer
|
|
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
|
View Answer
|
|
Why do I get a syntax error when trying to declare a variable called checked?
|
View Answer
|
|
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
|
View Answer
|
|
Why cannot you specify the accessibility modifier for methods inside the interface?
|
View Answer
|
|
Where is the output of TextWriterTraceListener redirected?
|
View Answer
|
|
When do you absolutely have to declare a class as abstract?
|
View Answer
|
|
How is method overriding different from overloading?
|
View Answer
|
|
Is there a way to force garbage collection?
|
View Answer
|