Hi there. i am new to C# programming. I am developing an updater that would update our product. I want to program the close button so if clicked the application should not close but rather hide. I have a notification icon from where the user can call it back. I want it just like in msn messenger.
Umair.P 0 Newbie Poster
Recommended Answers
Jump to PostHi,
This is working but sometimes u need to close the form then ..
Make a boolean variable. then check it for close operation.Try
bool bUserClose = true; private void Form1_Click(object sender, EventArgs e) { bUserClose = false; Close(); } private void Form1_FormClosing(object sender, FormClosingEventArgs …
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.