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