Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2169 ghuddy 1
using System;
2
using System.Windows.Forms;
3
 
4
namespace EA_ReqPro
5
{
6
   internal class CCursor : IDisposable
7
   {
8
      private Cursor saved = null;
9
 
10
      public CCursor( Cursor newCursor )
11
      {
12
         saved = Cursor.Current;
13
 
14
         Cursor.Current = newCursor;
15
      }
16
 
17
      public void Dispose()
18
      {
19
         Cursor.Current = saved;
20
      }
21
   }
22
 
23
   internal class CWaitCursor : CCursor
24
   {
25
      public CWaitCursor() : base( Cursors.WaitCursor ) {}
26
   }
27
 
28
}