/// <summary> /// Hides the status message and activates the form. /// </summary> /// <remarks>Documented by Dev02, 2008-09-29</remarks> private void HideStatusMessage() { loadStatusMessageImport.Invoke((MethodInvoker) delegate { LearnLogic.CopyToFinished -= new EventHandler(LearnLogic_CopyToFinished); loadStatusMessageImport.Hide(); }); }
private void ShowStatusMessage(string msg) { if (SetStatusDelegate != null) { SetStatusDelegate.Invoke(msg, false); return; } if (m_LoadMsg.InvokeRequired) { m_LoadMsg.Invoke((MethodInvoker) delegate { m_LoadMsg.InfoMessage = msg; m_LoadMsg.SetProgress(0); Cursor.Current = Cursors.WaitCursor; m_LoadMsg.Show(); }); } }
private void HideStatusMessage() { if (SetStatusDelegate != null) { return; } m_LoadMsg.Invoke((MethodInvoker) delegate { m_LoadMsg.Hide(); }); }