/// <summary> /// Create the form. /// </summary> public SearchForm() { InitializeComponent(); // Allow client applications to modify the form. SearchFormProxy.GetInstance().UpdateFormControls(Controls); }
/// <summary> /// Get a reference to the SearchFormProxy singleton. /// </summary> /// <returns>A reference to SearchFormProxy.</returns> public static SearchFormProxy GetInstance() { if (_singleton == null) { _singleton = new SearchFormProxy(); } return(_singleton); }