add custom class
Posted: Sun Jul 23, 2006 4:06 pm
I want to add a custom class to stireport. To do that to do the following:
1. i add the assembly reference
2. modify stireport code
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.ReportControls;
using Stimulsoft.Report.Components;
using HighlanderLibrary;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
HLFirebirdUtils fb ;
public Report()
{
this.InitializeComponent();
}
but i get the following error :
error CS0122: 'HighlanderLibrary.HLFirebirdUtils' is inaccessible due to its protection levels
inside the HighlanderLibraries are public classes
1. i add the assembly reference
2. modify stireport code
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.ReportControls;
using Stimulsoft.Report.Components;
using HighlanderLibrary;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
HLFirebirdUtils fb ;
public Report()
{
this.InitializeComponent();
}
but i get the following error :

error CS0122: 'HighlanderLibrary.HLFirebirdUtils' is inaccessible due to its protection levels
inside the HighlanderLibraries are public classes