Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Bring Application Back Into Focus

Posted on September 6, 2013October 26, 2015 By David Kittell

Sometimes when you are running long processes your application can get away from you and you need to bring the application back into focus. While there are many that may have arguments for or against this method this is one way that has always worked for me.

this.WindowState = FormWindowState.Minimized;
this.Show();
this.WindowState = FormWindowState.Normal;
Originally Posted on September 6, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code CSharp

Post navigation

Previous post
Next post

Related Posts

Connect to SSH from Terminal

Posted on October 28, 2015

When on a UNIX based computer you can connect to another terminal via SSH using this command ssh -p 22 user@your.ip.address The -p defines the port, while 22 is the default port for SSH some servers change their port to ward off potential hackers. Make sure you know what the…

Read More

Validate Links

Posted on August 15, 2013October 26, 2015

function validatelink($link) { // Create a curl handle to a location $ch = curl_init($link); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_NOBODY, true); if (curl_exec($ch) === false) { echo ‘INVALID: ‘ . $link . " " . curl_error($ch); } else { echo ‘VALID: ‘ . $link; } // Close handle curl_close($ch); } Example

Read More

Network Connection Configurations

Posted on June 25, 2013October 26, 2015

If you are on Windows Vista/7/8 you will need to create the batch file and then run it as administrator. In the examples below you will need to first know what the connection name is for your network connection(s) When you click on the start menu or Windows key on…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes