After adding webview 2 control to one of the tab in my winforms app using c# while running the application is closing automatically

Dineshkumar.S 456 Reputation points
2023-07-27T06:10:51.9+00:00

I made my application to have a webview 2 control inside one of the tabs page and whenever the user opens the tab a particular web page will be opened and from the web page i have link that will redirect the user to open some of the tasks in the WinForms app but after opening the particular tasks in windows app the app is getting closed automatically after some idle time like 5 to 10 sec can anyone tell me how to fix this? Thanks in advance

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,404 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.