in Education by
My application has many views and I am using an AutoLogoffHelper class which maintains the timer for the application. Due to inactivity if the timer is 0, it call the log off event (which is also in the AutoLogoffhelper class). As of now I am using Application.shutdown to completely shutdown the Application. But Is there a way to restart the application or delete navigation history and session information and navigate to login screen? Thanks. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
To restart you can use Process.Start and the command line args (which automatically contain the application's path): Process.Start(Environment.GetCommandLineArgs()[0]);

Related questions

0 votes
    I've created a semi-transparent test image, filled with 128-alpha black. I draw it while alternating ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Aug 1, 2022 in Education by JackTerrance
0 votes
    I want to save an image from my WPF user control. It works but I got black bars on the right ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 26, 2022 in Education by JackTerrance
0 votes
    I want to save an image from my WPF user control. It works but I got black bars on the right ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    I want to save an image from my WPF user control. It works but I got black bars on the right ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 11, 2022 in Education by JackTerrance
0 votes
    I typically start up my development version of WLS 10.3.3 from the command line by launching startWebLogic. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    I want my WPF application to be skinnable, by applying a certain XAML template, and the changes to be ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    So I created a WPF application on my monitor which has bigger height (1280 vs 1024) resolution. It ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I am creating a WPF Application that uses Fluent library. On my computer with Windows 7, 2GB RAM and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    I'm trying to teach myself about Docker and using the docker-compose.yml to play around with images and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 8, 2022 in Education by JackTerrance
0 votes
    I'm using Ambari 2.6.2.2 and I installed Hbase, for which I started thrift server. How can I ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    the————button is used to restart the downloading of a Web page A)Refresh B)Home Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    At first I made an application that downloads a file from the entered link and displays information about ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 19, 2022 in Education by JackTerrance
0 votes
    I'm trying to get a fresh little reactUI WPF app up and running. However ViewModelViewHost causes me ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 4, 2022 in Education by JackTerrance
0 votes
    how would i add multiple buttons to a window in c#? here's what i need to do... i'm getting ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 19, 2022 in Education by JackTerrance
0 votes
    I am trying to bind the value of a property (MyTitle) of a class (MainWindow) that derives from ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 19, 2022 in Education by JackTerrance
...