Exemple #1
0
 private void frmSmallScreen_FormClosing(object sender, FormClosingEventArgs e)
 {
     //if(this.m_objLEDManager!=null)
     //this.m_objLEDManager.Unload();
     frmSmallScreen.SmallScreenFrm = null;
     this.Dispose();
 }
Exemple #2
0
 /// <summary>
 /// 关闭窗口显示黑屏
 /// </summary>
 public void m_mthCloseLED()
 {
     this.m_objLEDManager.ShowBlack(true);
     if (frmSmallScreen.SmallScreenFrm != null)
     {
         frmSmallScreen.SmallScreenFrm.Close();
         frmSmallScreen.SmallScreenFrm = null;
     }
 }
Exemple #3
0
 /// <summary>
 /// 判断是否创建窗体
 /// </summary>
 /// <param name="p_text"></param>
 /// <returns></returns>
 public static frmSmallScreen SmallScreenForm(string p_text)
 {
     if (SmallScreenFrm == null)
     {
         SmallScreenFrm = new frmSmallScreen(p_text);
         return(SmallScreenFrm);
     }
     else
     {
         SmallScreenFrm.m_strPatientName = p_text;
     }
     return(SmallScreenFrm);
 }