Exemplo n.º 1
0
 public static void MsgWait(string string_0)
 {
     try
     {
         Class20.smethod_3(string_0);
         if (msgForm_0 != null)
         {
             if (thread_0.ThreadState != ThreadState.Running)
             {
                 msgForm_0.MessageStr = string_0;
                 msgForm_0.ShowDialog();
                 if (msgForm_0.InvokeRequired)
                 {
                     msgForm_0.Invoke(new Delegate5(MessageShowTT.smethod_0), new object[] { string_0 });
                 }
             }
             else if ((thread_0.ThreadState == ThreadState.Running) && msgForm_0.InvokeRequired)
             {
                 msgForm_0.Invoke(new Delegate5(MessageShowTT.smethod_0), new object[] { string_0 });
             }
         }
     }
     catch (Exception exception)
     {
         Class20.smethod_1(exception.ToString());
     }
 }
Exemplo n.º 2
0
 private static void smethod_2(object object_0)
 {
     msgForm_0.MessageStr      = object_0.ToString();
     msgForm_0.CloseBtnVisible = false;
     msgForm_0.ShowDialog();
 }