private WellsCollection GetWellsCollection() { if (wellsCollection == null) { try { Cursor.Current = Cursors.WaitCursor; Application.DoEvents(); wellsCollection = new WellsCollection(); } finally { Cursor.Current = Cursors.Default; } } return(wellsCollection); }
private void ResetWellsCollection() { wellsCollection = null; }