Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to close my C# + Windows application safely...
December 26, 2008
In Exit Menu i am writting code like..
private void ExitToolsStripMenuItem_Click(object sender, EventArgs e)
public void close_childForm()
foreach (Form childForm in MdiChildren)
so when the user click File->Exit it will safely close the application... but that NoticyIcon is not cleared from task bar..
1: how to cler that notify Icon from task bar when the user click file->Exit
But when the user click 'X'(MinimizeBox,MaximaizeBox,Close) Close Button of MDI some instance remain... as well as NoticyIcon is not cleared from task bar..
so how to close my application safely....
Posted Date: December 26, 2008 Points: 5
You can track the "FormClosing" event on the parent form there you can write the code to close all the form safely.
To post reply
Related Questions Related Questions
Close others forms in windows application
How to create a control in windows application also how could add in the Tool box itself
Windows application Form Focus in C#.NET
Difference Between console application and windows application?
upload image file in windows application
Can we use Web form controls in window form of Windows application
How to call Calculator Control in C# Windows Application..
Paging in DataGridView in windows application
How to open one .chm help file in c# windows application menu bar....
How to lock the database programetically using c# + windows application
Latest Forum Questions From The Same Category
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
How to read csv file which have many special character and tabs?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend