public static SharedFormsSingleton Instance() { // Uses lazy initialization. // Note: this is not thread safe. if (_singleton == null) { _singleton = new SharedFormsSingleton(); } return(_singleton); }
public static SharedFormsSingleton Instance() { // Uses lazy initialization. // Note: this is not thread safe. if (_singleton == null) { _singleton = new SharedFormsSingleton(); } return _singleton; }