Exemplo n.º 1
0
 public static void Exe(fExe f)
 {
     try
     {
         f();
     }
     catch (Exception ex)
     {
         zerrf.ErrorMessageBox(ex);
     }
 }
Exemplo n.º 2
0
Arquivo: cf2.cs Projeto: 24/source_04
 public static void Exe(fExe f)
 {
     try
     {
         f();
     }
     catch (Exception ex)
     {
         zerrf.ErrorMessageBox(ex);
     }
 }
Exemplo n.º 3
0
Arquivo: cf.cs Projeto: labeuze/source
 public static void MenuExe(Form form, fExe f)
 {
     try
     {
         if (form != null) form.Cursor = Cursors.WaitCursor;
         f();
         if (form != null) form.Cursor = Cursors.Default;
     }
     catch (Exception ex)
     {
         if (form != null) form.Cursor = Cursors.Default;
         zerrf.ErrorMessageBox(ex);
     }
 }
Exemplo n.º 4
0
 public static void Exe(Form form, fExe f)
 {
     try
     {
         form.Cursor = Cursors.WaitCursor;
         f();
     }
     catch (Exception ex)
     {
         zerrf.ErrorMessageBox(ex);
     }
     finally
     {
         form.Cursor = Cursors.Default;
     }
 }
Exemplo n.º 5
0
Arquivo: cf2.cs Projeto: 24/source_04
 public static void Exe(Form form, fExe f)
 {
     try
     {
         form.Cursor = Cursors.WaitCursor;
         f();
     }
     catch (Exception ex)
     {
         zerrf.ErrorMessageBox(ex);
     }
     finally
     {
         form.Cursor = Cursors.Default;
     }
 }
Exemplo n.º 6
0
 public void Exe(fExe f)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         f();
     }
     catch (Exception ex)
     {
         //_runSource.Trace.WriteError(ex);
         _trace.WriteError(ex);
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
Exemplo n.º 7
0
 public void Exe(fExe f)
 {
     try
     {
         this.Cursor = Cursors.WaitCursor;
         f();
     }
     catch (Exception ex)
     {
         //_runSource.Trace.WriteError(ex);
         _trace.WriteError(ex);
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
Exemplo n.º 8
0
Arquivo: cf.cs Projeto: 24/source_04
 public static void MenuExe(Form form, fExe f)
 {
     try
     {
         if (form != null)
         {
             form.Cursor = Cursors.WaitCursor;
         }
         f();
         if (form != null)
         {
             form.Cursor = Cursors.Default;
         }
     }
     catch (Exception ex)
     {
         if (form != null)
         {
             form.Cursor = Cursors.Default;
         }
         zerrf.ErrorMessageBox(ex);
     }
 }
Exemplo n.º 9
0
Arquivo: cf.cs Projeto: labeuze/source
 public static void MenuExe(fExe f)
 {
     MenuExe(null, f);
 }
Exemplo n.º 10
0
Arquivo: cf.cs Projeto: 24/source_04
 public static void MenuExe(fExe f)
 {
     MenuExe(null, f);
 }