Gets a value that determines whether a report is currently being generated.
Namespace:
C1.C1ReportAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] public bool IsBusy { get; } |
Visual Basic |
---|
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _ <BrowsableAttribute(False)> _ Public ReadOnly Property IsBusy As Boolean Get |
Remarks
Use this property to determine whether the control is currently busy generating a report.
This property is especially useful when the DoEvents property is set to true. In this case, the application continues to process user input while the control generates reports, and there is a change that the user might try to start another report before the current one is done.
Examples
The following code shows a typical application using the IsBusy property:
Copy CodeVisual Basic
' prevent reentrant calls If c1r.IsBusy Then Beep() : Exit Sub |
Copy CodeC#
// prevent reentrant calls if (c1r.IsBusy) return; |