public void SetFormTransparence(System.Windows.Forms.Form frm, Boolean bTransparent) { frm.Opacity = (bTransparent == true ? 0.5 : 1); }