using System;
using System.Windows.Forms;
namespace OpenDental
{
///
public class MsgBox
{
///
public static void Show(System.Object sender,string text){
MessageBox.Show(Lan.g(sender.GetType().Name,text));
}
///
public static bool Show(System.Object sender,bool okCancel,string question){
if(MessageBox.Show(Lan.g(sender.GetType().Name,question),"",MessageBoxButtons.OKCancel)
==DialogResult.OK)
{
return true;
}
else{
return false;
}
}
}
}


