Page 1 of 1

add custom class

Posted: Sun Jul 23, 2006 4:06 pm
by Dennis Ortiz
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 : :cry:
error CS0122: 'HighlanderLibrary.HLFirebirdUtils' is inaccessible due to its protection levels

inside the HighlanderLibraries are public classes

add custom class

Posted: Mon Jul 24, 2006 2:59 am
by Edward
Dennis wrote: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 : :cry:
error CS0122: 'HighlanderLibrary.HLFirebirdUtils' is inaccessible due to its protection levels

inside the HighlanderLibraries are public classes
Thanks for the question.
То solve your problem, please contact us via LiveSupport.