Visual Basic (Declaration) | |
---|---|
Public Class UserPreferences |
C# | |
---|---|
public class UserPreferences |
C# | Copy Code |
---|---|
private void myForm_Load(object sender, System.EventArgs e) { rptKewl rpt = new rptKewl(); rpt.Run(); this.arViewer.Document = rpt.Document; this.arViewer.ReportViewer.HyperLinkBackColor = Color.Transparent; this.arViewer.ReportViewer.HyperLinkForeColor = Color.Aquamarine; this.arViewer.ReportViewer.HyperLinkUnderline = false; this.arViewer.ReportViewer.SearchResultsBackColor = Color.AliceBlue; this.arViewer.ReportViewer.SearchResultsForeColor = Color.Coral; } |
Visual Basic | Copy Code |
---|---|
Private Sub myForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim rpt As New rptKewl rpt.Run Me.arViewer.Document = rpt.Document Me.arViewer.ReportViewer.HyperLinkBackColor = Color.Transparent; Me.arViewer.ReportViewer.HyperLinkForeColor = Color.Aquamarine; Me.arViewer.ReportViewer.HyperLinkUnderline = False; Me.arViewer.ReportViewer.SearchResultsBackColor = Color.AliceBlue; Me.arViewer.ReportViewer.SearchResultsForeColor = Color.Coral; End Sub |
System.Object
GrapeCity.ActiveReports.Document.Section.UserPreferences