ASK for CONFIRMATION before CLOSING the FORM in C#

Опубликовано: 05 Ноябрь 2024
на канале: How To 365
102
1

Learn How to ASK for CONFIRMATION before CLOSING the FORM in C#

-------- S O L U T I O N S

✔️ Using FormClosing event and a message box

-------- P R E V I O U S V I D E O

⏮️ STOP DING on KEYPRESS in C#:

🔗    • STOP DING SOUND on TextBox KEYPRESS i...  

-------- C R E D I T S T O M U S I C

🎵 Royalty Free Music by Pixabay: https://www.pixabay.com/

-------- S U B S C R I B E

❤️ DON'T forget to LIKE, COMMENT your IDEA, and SUBSCRIBE

🔗 https://bit.ly/3Pakd48

-------- I N S T A G R A M

📷   / atrin_noori  

--------- C # D E V E L O P M E N T E P I S O D E 1 5 ---------

00:00 - ASK for CONFIRMATION when "X" button is CLICKED with C#
00:08 - Visual studio starting And Persian/Farsi Language
00:30 - FormClosing Event in visual studio
00:39 - DialogResult and MessageBox
01:23 - Application Test Run
01:52 - A common mistake many people would do
02:03 - Wrong Coding
02:48 - End Screen

--------- A B O U T S E C T I O N ---------

🙍 About Microsoft Visual Studio:
Visual Studio is an integrated development environment from Microsoft. It is used to develop computer programs including websites, web apps, web services and mobile apps

🙍 About C#:
C# is a general-purpose high-level programming language supporting multiple paradigms. C# encompasses static typing, strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented, and component-oriented programming disciplines.

🙍 About Persian Language:
Persian, also known by its endonym Farsi, is a Western Iranian language belonging to the Iranian branch of the Indo-Iranian subdivision of the Indo-European languages