//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//
// WFX satellite library | Author: Sergei Y.Kitáev
//
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using System;

using WF = System.Windows.Forms;

using CommonHelpers;

namespace WFX {

//**************************************************************************************************
partial class AppWaiting {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

public static bool ReportErrorFmt(string errorMessageFmt,params string[] parameters)
{
   return ReportErrorFmt( (WF.IWin32Window)null, errorMessageFmt, parameters );
}

public static bool ReportErrorFmt( [HOptional] WF.IWin32Window owner,
                                   string errorMessageFmt,
                                   params string[] parameters )
{
   return ReportErrorFmt( (ShowMessageExtraInfo)null, owner, errorMessageFmt, parameters );
}

//==================================================================================================

public static bool ReportErrorFmt( [HOptional] ShowMessageExtraInfo extraInfo,
                                   string errorMessageFmt,
                                   params string[] parameters )
{
   return ReportErrorFmt( extraInfo, (WF.IWin32Window)null, errorMessageFmt, parameters );
}

public static bool ReportErrorFmt( [HOptional] ShowMessageExtraInfo extraInfo,
                                   [HOptional] WF.IWin32Window owner,
                                   string errorMessageFmt,
                                   params string[] parameters )
{
   return ReportError( extraInfo, owner, string.Format(errorMessageFmt,parameters) );
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} // AppWaiting
//**************************************************************************************************

} // WFX
