public static Dock Instance()
{
if (_dock == null)
{
lock (lockObject)
{
if (_dock == null)
_dock = new Dock();
}
}
return _dock;
}
}