16,016,557 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Asha Love (Top 7 by date)
Asha Love
16-Jul-24 3:27am
View
Deleted
It really worked. Thank you. I have not encountered anything like this before. Although the true value was not given for e.Cancel, but by putting the code e.Cancel = false; At the end of the FormClosing form, the program was closed without any problems.
thanks guys
Asha Love
16-Jul-24 3:27am
View
It really worked. Thank you. I have not encountered anything like this before. Although the true value was not given for e.Cancel, but by putting the code e.Cancel = false; At the end of the FormClosing form, the program was closed without any problems.
thanks guys
Asha Love
16-Jul-24 2:42am
View
The form that contains the gridview is the child form.
Exactly when this happens, the parent form is not closed.
The source of all these problems is Gridview. When a cell is clicked and that cell is edited, the problem is solved.
Sorry if I can't explain better, my English is poor.
Asha Love
15-Jul-24 14:32pm
View
private void Frm_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e)
{
if (System.Windows.Forms.MessageBox.Show("Are you sure?", "", System.Windows.Forms.MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
{
e.Cancel = true;
return;
}
}
private void Frm_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
{
System.Windows.Forms.MessageBox.Show("Test");
}
Asha Love
15-Jul-24 13:32pm
View
No error occurs. Form does not close when the X button is pressed.
But the X button works when a cell is clicked to enter edit mode
Asha Love
15-Jul-24 13:32pm
View
Deleted
No error occurs. Form does not close when the X button is pressed.
But the X button works when a cell is clicked to enter edit mode
Asha Love
15-Jul-24 12:40pm
View
When I click on a cell and it goes into edit mode, I can close the app
Show More