02.05.2014 Views

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PetrelLogger Class<br />

Fig. 5-12 Progress Bar<br />

The progress bar is updated via IProgress.ProgressStatus; this value should<br />

be between the min and max and will be converted to a percentage. Use the<br />

IsCanceled property to determine whether the user has terminated the operation<br />

prematurely when the operation is cancellable.<br />

When the operation is completed, dispose of the progress bar.<br />

Cursor c = System.Windows.Forms.Cursors.Cross;<br />

IProgress p = PetrelLogger.NewProgress(0, 100,<br />

ProgressType.Default, c);<br />

for (int i = 0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!