private volatile static AddVacations _instance = null;
private static Object _locker = new Object();
public static AddVacations Instance
{
get
{
if (_instance == null)
lock (_locker)
if (_instance == null)
_instance = new AddVacations();
return _instance;
}
}
private static Object _locker = new Object();
public static AddVacations Instance
{
get
{
if (_instance == null)
lock (_locker)
if (_instance == null)
_instance = new AddVacations();
return _instance;
}
}