示例#1
0
 static void m_form_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     lock (typeof(UIService))
     {
         m_form = null;
     }
 }
示例#2
0
 private static void CreateForm()
 {
     if (m_form == null || m_form.IsDisposed)
     {
         m_form = new ServiceForm();
     }
 }
示例#3
0
 static void CreateForm()
 {
     lock (typeof(UIService))
     {
         if (m_form == null || m_form.IsDisposed)
         {
             m_form = new ServiceForm();
         }
     }
 }
示例#4
0
 static UIService()
 {
     m_form             = new ServiceForm();
     m_form.FormClosed += new System.Windows.Forms.FormClosedEventHandler(m_form_FormClosed);
 }
示例#5
0
 static void m_form_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     m_form = null;
 }