c#/wpf

  1. Seb7100

    Question Disable Windows functions when program is running

    Hello, we are developing a program in WPF - C#. We need to block windows functionality such as the job list, start menu, log off, restart, close, windows + d, etc. That is to say, all kinds of admin stuff must be blocked. However, it must be possible that when the program is shut down there is...
  2. Dragon4ik

    Resolved Async method doesn't work

    I've faced with the problem, trying to set a timeout for function execution. I have the following code: public BitmapImage[,] GetResult(List<BitmapImage> list) { var task = Task.Run(() => GetBestPuzzleImage(list)); if (task.Wait(TimeSpan.FromSeconds(10)))...
Top Bottom