public static bool GetCheckedTS(this CheckBox x)
 {
     if (x.InvokeRequired)
     {
         bool m_ret = false;
         x.Invoke(new EventHandler(delegate(object o, EventArgs a)
         {
             m_ret = x.GetCheckedTS();
         }));
         return(m_ret);
     }
     else
     {
         return(x.Checked);
     }
 }