示例#1
0
 private void CheckIsShellActive()
 {
     if (shellControlller.IsShellShown())
     {
         lblStatus.Text      = "Active";
         lblStatus.ForeColor = System.Drawing.Color.Green;
     }
     else
     {
         lblStatus.Text      = "Not Active";
         lblStatus.ForeColor = System.Drawing.Color.Red;
     }
 }