Esempio n. 1
0
        public void ShowFormLog()
        {
            lock (formLogLocker)
            {
                if (logForm == null)
                {
                    var title = coreInfo.GetSummary();
                    logForm             = new Views.WinForms.FormSingleServerLog(title, qLogger);
                    logForm.FormClosed += (s, a) => logForm = null;
                    logForm.Show();
                }

                logForm.Activate();
            }
        }
Esempio n. 2
0
 public void ShowFormLog()
 {
     lock (formLogLocker)
     {
         if (logForm == null)
         {
             var title = coreInfo.GetSummary();
             VgcApis.Misc.UI.Invoke(() =>
             {
                 logForm             = Views.WinForms.FormSingleServerLog.CreateLogForm(title, qLogger);
                 logForm.FormClosed += (s, a) => logForm = null;
                 logForm.Show();
             });
         }
         VgcApis.Misc.UI.Invoke(() => logForm.Activate());
     }
 }