ProgressMeter Class Reference

Acad status bar progressmeter wrapper. More...

List of all members.

Public Member Functions

 ProgressMeter ()
 Default constructor.
 ProgressMeter (string label)
 Constructor.
 ProgressMeter (string label, int minPos, int maxPos)
 Constructor.
void Update (int pos)
 Updates progress.
void Dispose ()
 Disposes the progressmeter and removes it from Acad status bar.


Detailed Description

Acad status bar progressmeter wrapper.

Use as follows:

---usings
            using Acmx.Common.Public.Classes.ApplicationTree;
---tracking progress
            using( ProgressMeter progress =new ProgressMeter("My progress...") )
            {
                        for(int i =0; i !=100; i++)
                        {
                                progress.Update(i);
                        }
            }


Constructor & Destructor Documentation

ProgressMeter  ) 
 

Default constructor.

Constructs the progressmeter with the range [0...100] and with no label.

ProgressMeter string  label  ) 
 

Constructor.

Constructs the progressmeter with the range [0...100] and with given label.

/

Parameters:
label label

ProgressMeter string  label,
int  minPos,
int  maxPos
 

Constructor.

Constructs the progressmeter with the range [minPos...maxPos] and with given label.

Parameters:
label label
minPos min bound
maxPos max bound


Member Function Documentation

void Update int  pos  ) 
 

Updates progress.

Parameters:
pos new progress position

void Dispose  ) 
 

Disposes the progressmeter and removes it from Acad status bar.


Generated on Sun May 28 08:56:23 2006 for Acmx.AcadConnectivity documentation by  doxygen 1.4.5