Click here to Skip to main content
14,302,883 members
   

C#

 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 20:44
memberjan Meeling26-Aug-19 20:44 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 20:54
protectorRichard MacCutchan26-Aug-19 20:54 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:55
memberjan Meeling26-Aug-19 21:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 22:08
protectorRichard MacCutchan26-Aug-19 22:08 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling27-Aug-19 0:05
memberjan Meeling27-Aug-19 0:05 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan27-Aug-19 1:19
protectorRichard MacCutchan27-Aug-19 1:19 
QuestionIntercepting a Logoff Pin
ormonds23-Aug-19 12:07
memberormonds23-Aug-19 12:07 
AnswerRe: Intercepting a Logoff Pin
OriginalGriff23-Aug-19 19:42
protectorOriginalGriff23-Aug-19 19:42 
Best you can do is handle the SystemEvents.SessionEnding Event (Microsoft.Win32) | Microsoft Docs[^] - it catches both shutdown and logoff. It's cancelable, so your app can request that the system remains up - but it's only a request, it mayu not be honoured depending on what the system is doing. As the documentation says
Quote:
It provides no guarantee that the session will not end.


And it won't detect and cancel a user pulling the plug out of the wall ... Laugh | :laugh:
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 2:50
memberormonds27-Aug-19 2:50 
GeneralRe: Intercepting a Logoff Pin
Dave Kreskowiak27-Aug-19 5:09
mveDave Kreskowiak27-Aug-19 5:09 
GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 13:10
memberormonds27-Aug-19 13:10 
QuestionHow to print crystal report directly to printer without previewing in c# Pin
remiki22-Aug-19 23:01
memberremiki22-Aug-19 23:01 
AnswerRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff22-Aug-19 23:25
protectorOriginalGriff22-Aug-19 23:25 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 0:33
memberremiki23-Aug-19 0:33 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 0:42
protectorOriginalGriff23-Aug-19 0:42 
AnswerRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 1:02
memberremiki23-Aug-19 1:02 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 1:10
protectorOriginalGriff23-Aug-19 1:10 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 1:24
memberremiki23-Aug-19 1:24 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 1:34
protectorOriginalGriff23-Aug-19 1:34 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 1:40
memberremiki23-Aug-19 1:40 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 1:56
protectorOriginalGriff23-Aug-19 1:56 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 2:00
memberremiki23-Aug-19 2:00 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 2:21
protectorOriginalGriff23-Aug-19 2:21 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
remiki23-Aug-19 2:29
memberremiki23-Aug-19 2:29 
GeneralRe: How to print crystal report directly to printer without previewing in c# Pin
OriginalGriff23-Aug-19 2:40
protectorOriginalGriff23-Aug-19 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.