Buy Questpond's video subscriptions on
huge discount
.
Online: 2551
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
what is this window.Closing += Window_Closing;
Posted by
rameshbergu-10345
under
C#
on 5/21/2011 |
Points: 10
| Views : 3437 | Status :
[Member]
| Replies : 4
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
what is this window.Closing += Window_Closing;?
ideally what we are doing here?
why it is?
tell me one scenario where we use
thanks in advance
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
T.saravanan
on: 5/21/2011
[Member]
[MVP]
Silver
|
Points: 25
0
I think you ask about window closing event.This event will fire if close the current window means at the time we can call any function.
Refer this link you get an idea..
http://www.java2s.com/Tutorial/CSharp/0470__Windows-Presentation-Foundation/CreateWindowandaddwindowclosingeventhandler.htm
Thanks,
T.Saravanan
rameshbergu-10345
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Susanthampy
on: 5/24/2011
[Member]
[MVP]
Bronze
|
Points: 25
0
Hi,
Refer this link,
http://download.oracle.com/javase/tutorial/uiswing/events/windowlistener.html
Regards,
Susan
rameshbergu-10345
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Ndebata
on: 5/25/2011
[Member]
Starter
|
Points: 25
0
Hi
Window.Closing event is fired just before the window is closed.
As a CancelEventHandler it has the provision to stop the closing by writing e.Cancel=true.
This event is used when you want to do some operation ( either saome validation or save etc. you ask for a confimation aslo before closing ) just before closing a window form.
Please take a look at this
http://msdn.microsoft.com/en-us/library/system.windows.window.closing.aspx
Thanks,
Debata
rameshbergu-10345
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Nithadeepak
on: 5/25/2011
[Member]
Bronze
|
Points: 25
0
http://www.codeproject.com/KB/WPF/WindowClosingBehavior.aspx
Nitha Deepak
rameshbergu-10345
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...