GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports Namespace > SectionReport Class : IsDirty Property |
'Declaration Public Property IsDirty As System.Boolean
public System.bool IsDirty {get; set;}
private void mnuExit_Click(object sender, System.EventArgs e) { if (((GrapeCity.ActiveReports.SectionReport)this.reportdesigner.Report).IsDirty == true) { MessageBox.Show("Do you want to save your report?"); } else { this.Close(); } }
Private Sub mnuExit_Click(sender As Object, e As System.EventArgs) If DirectCast(Me.reportdesigner.Report, GrapeCity.ActiveReports.SectionReport).IsDirty = True Then MessageBox.Show("Do you want to save your report?") Else Me.Close() End If End Sub