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

using WF = System.Windows.Forms;

using CommonHelpers;

namespace WFX {

//**************************************************************************************************
partial class MessageBox {
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

public static void ShowMessage(string text,string caption,WF.MessageBoxIcon icon)
{
   ShowMessage((WF.IWin32Window)null,text,caption,icon);
}

public static WF.DialogResult ShowMessage( string text, [HOptional] string caption,
                                           WF.MessageBoxButtons buttons,
                                           WF.MessageBoxIcon icon )
{
   return ShowMessage((WF.IWin32Window)null,text,caption,buttons,icon);
}

public static WF.DialogResult ShowMessage( string text, [HOptional] string caption,
                                           WF.MessageBoxButtons buttons,
                                           WF.MessageBoxIcon icon,
                                           WF.DialogResult defaultResult )
{
   return ShowMessage((WF.IWin32Window)null,text,caption,buttons,icon,defaultResult);
}

//--------------------------------------------------------------------------------------------------

public static void ShowMessage( [HOptional] WF.IWin32Window owner,
                                string text, [HOptional] string caption, WF.MessageBoxIcon icon )
{
   ShowMessage((ShowMessageExtraInfo)null,owner,text,caption,icon);
}

public static WF.DialogResult ShowMessage( [HOptional] WF.IWin32Window owner,
                                           string text, [HOptional] string caption,
                                           WF.MessageBoxButtons buttons,
                                           WF.MessageBoxIcon icon )
{
   return ShowMessage((ShowMessageExtraInfo)null,owner,text,caption,buttons,icon);
}

public static WF.DialogResult ShowMessage( [HOptional] WF.IWin32Window owner,
                                           string text, [HOptional] string caption,
                                           WF.MessageBoxButtons buttons,
                                           WF.MessageBoxIcon icon,
                                           WF.DialogResult defaultResult )
{
   return ShowMessage((ShowMessageExtraInfo)null,owner,text,caption,buttons,icon,defaultResult);
}

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
} // MessageBox
//**************************************************************************************************

} // WFX
