public static frmInspertorManager getInstance()
 {
     if (uniqueInstance == null)
     {
         lock (padlock)
         {
             if (uniqueInstance == null)
             {
                 uniqueInstance = new frmInspertorManager();
             }
         }
     }
     return(uniqueInstance);
 }
 private void frmInspertorManager_FormClosing(object sender, FormClosingEventArgs e)
 {
     uniqueInstance = null;
 }