My Windows From project debugs correctly. But after I will click "Sign Out" button (It's used Application.Restart() function) then comes this error. Please give me some advice.


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Apr 3, 2018, 6:50 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 6:41 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 8:12 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 3, 2018, 4:58 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 5:14 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 5:26 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 3, 2018, 5:58 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 3, 2018, 6:13 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 6:26 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 3, 2018, 6:32 AM EDT
sampath tharangaRank #6,159 · 275 reputationPosted Apr 3, 2018, 7:06 AM EDT