public static void mngError(Exception ex,
string function,
string module,
string infoAdd,
string title,
eErrorLevel level,
eErrorType varType,
object connection)
{
// TODO: implement function
fErrors f = new fErrors();
f.setErrorIcon();
f.setDetails(ex.Message);
f.ShowDialog();
}