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