Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public delegate void TopMostOrderDelegate();
- public Program() {
- new Thread(() =>
- {
- while (true)
- {
- try
- {
- while (true)
- {
- this.Invoke(new TopMostOrderDelegate(() => {
- this.TopMost = true;
- }));
- Thread.Sleep(1);
- }
- } catch (Exception ex) { }
- }
- }).Start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement