Пример #1
0
        /// <summary>
        /// Start the UI thread
        /// </summary>
        public static SettingDlg StartUIThread()
        {
            SettingDlg dlg = new SettingDlg();

            dlg.Visible = false;
            Thread thread = new Thread(new ThreadStart(dlg.UIThread));

            thread.Start();
            return(dlg);
        }
Пример #2
0
 protected void CloseDlg()
 {
     if (m_Dlg != null)
     {
         try
         {
             m_Dlg.Close();
             m_Dlg.Dispose();
         }
         catch { }
         m_Dlg = null;
     }
 }
Пример #3
0
 protected void CloseDlg()
 {
     if (m_Dlg != null)
     {
         try
         {
             m_Dlg.Close();
             m_Dlg.Dispose();
         }
         catch { }
         m_Dlg = null;
     }
 }
Пример #4
0
 public void Start()
 {
     CloseDlg();
     m_Dlg = SettingDlg.StartUIThread();
 }
Пример #5
0
 public void Start()
 {
     CloseDlg();
     m_Dlg = SettingDlg.StartUIThread();
 }