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 451 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,873 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,649 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.
10,648 questions
{count} votes