예제 #1
0
 /// <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();
     });
 }
예제 #2
0
        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();
                });
            }
        }
예제 #3
0
        private void HideStatusMessage()
        {
            if (SetStatusDelegate != null)
            {
                return;
            }

            m_LoadMsg.Invoke((MethodInvoker) delegate
            {
                m_LoadMsg.Hide();
            });
        }