Files
lserp_cs_6.0/插件库/Lskj.WorkshopProgram/AxRM.Interop.ReportMachine.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

1269 lines
57 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:2.0.50727.3615
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace AxRM.Interop.ReportMachine {
[System.Windows.Forms.AxHost.ClsidAttribute("{030650b4-9016-4268-a823-e4c8e9a59261}")]
[System.ComponentModel.DesignTimeVisibleAttribute(true)]
public class AxRMReportEngine : System.Windows.Forms.AxHost {
private RM.Interop.ReportMachine.IRMReportEngine ocx;
private AxRMReportEngineEventMulticaster eventMulticaster;
private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
public AxRMReportEngine() :
base("030650b4-9016-4268-a823-e4c8e9a59261") {
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(-518)]
public virtual string Caption {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Caption", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.Caption;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Caption", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.Caption = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(206)]
public virtual bool ModifyPrepared {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ModifyPrepared", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ModifyPrepared;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ModifyPrepared", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ModifyPrepared = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(210)]
public virtual bool ShowPrintDialog {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPrintDialog", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ShowPrintDialog;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPrintDialog", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ShowPrintDialog = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(213)]
public virtual string FileName {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FileName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.FileName;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FileName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.FileName = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(214)]
public virtual bool ThreadPrepareReport {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ThreadPrepareReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ThreadPrepareReport;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ThreadPrepareReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ThreadPrepareReport = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(220)]
public virtual bool LoginPrompt {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoginPrompt", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.LoginPrompt;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoginPrompt", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.LoginPrompt = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(233)]
public virtual bool ShowProgress {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowProgress", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ShowProgress;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowProgress", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ShowProgress = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(224)]
public virtual RM.Interop.ReportMachine.IRMPreviewOptions PreviewOptions {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PreviewOptions", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.PreviewOptions;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(228)]
public virtual int PageCount {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PageCount", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.PageCount;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(237)]
public virtual string ScriptText {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScriptText", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ScriptText;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ScriptText", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ScriptText = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(240)]
public virtual RM.Interop.ReportMachine.IRMParser Parser {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Parser", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.Parser;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(243)]
public virtual RM.Interop.ReportMachine.IRMSaveReportOptions SaveReportOptions {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SaveReportOptions", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.SaveReportOptions;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(244)]
public virtual object DelphiObject {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DelphiObject", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.DelphiObject;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(246)]
public virtual bool ShowDialogBeforeExport {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowDialogBeforeExport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ShowDialogBeforeExport;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowDialogBeforeExport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ShowDialogBeforeExport = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(248)]
public virtual bool UseInVFP {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UseInVFP", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.UseInVFP;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UseInVFP", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.UseInVFP = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(252)]
public virtual string PrinterName {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrinterName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.PrinterName;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrinterName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.PrinterName = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(242)]
public virtual object ReportData {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReportData", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ReportData;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReportData", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ReportData = value;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(254)]
public virtual RM.Interop.ReportMachine.IRMReportInfo ReportInfo {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReportInfo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ReportInfo;
}
}
public event IRMReportEngineEvents_OnDesignerSaveReportEventHandler OnDesignerSaveReport;
public event IRMReportEngineEvents_OnUserFunctionEventHandler OnUserFunction;
public event IRMReportEngineEvents_OnGetValueEventHandler OnGetValue;
public event IRMReportEngineEvents_OnObjectClickEventHandler OnObjectClick;
public event IRMReportEngineEvents_OnBeforePrintEventHandler OnBeforePrint;
public event IRMReportEngineEvents_OnAfterPrintEventHandler OnAfterPrint;
public event IRMReportEngineEvents_OnBeforePrintBandEventHandler OnBeforePrintBand;
public event IRMReportEngineEvents_OnDesignerNewReportEventHandler OnDesignerNewReport;
public event IRMReportEngineEvents_OnDesignerLoadReportEventHandler OnDesignerLoadReport;
public event System.EventHandler OnDesignerAfterLoadReport;
public virtual void SetApplicationIcon(object aIconData) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetApplicationIcon", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetApplicationIcon(aIconData);
}
public virtual void SetUserInfo(string aUserName, string aPassword) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetUserInfo", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetUserInfo(aUserName, aPassword);
}
public virtual void AddGlobalVariable(string aVarName, object aValue, bool aIsString) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddGlobalVariable", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddGlobalVariable(aVarName, aValue, aIsString);
}
public virtual RM.Interop.ReportMachine.IRMGridPage AddGridPage() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddGridPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
RM.Interop.ReportMachine.IRMGridPage returnValue = ((RM.Interop.ReportMachine.IRMGridPage)(this.ocx.AddGridPage()));
return returnValue;
}
public virtual RM.Interop.ReportMachine.IRMCellPage AddCellPage() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddCellPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
RM.Interop.ReportMachine.IRMCellPage returnValue = ((RM.Interop.ReportMachine.IRMCellPage)(this.ocx.AddCellPage()));
return returnValue;
}
public virtual void NewReport() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("NewReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.NewReport();
}
public virtual RM.Interop.ReportMachine.IRMView FindObject(string aObjectName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FindObject", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
RM.Interop.ReportMachine.IRMView returnValue = ((RM.Interop.ReportMachine.IRMView)(this.ocx.FindObject(aObjectName)));
return returnValue;
}
public virtual void DeletePage(int aPageIndex) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DeletePage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.DeletePage(aPageIndex);
}
public virtual void SetReportFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetReportFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetReportFile(aFileName);
}
public virtual void LoadPreparedReportFromFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadPreparedReportFromFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.LoadPreparedReportFromFile(aFileName);
}
public virtual void SavePreparedReportToFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SavePreparedReportToFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SavePreparedReportToFile(aFileName);
}
public virtual void LoadReportFromStream(object aStream) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadReportFromStream", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.LoadReportFromStream(aStream);
}
public virtual void SaveReportToStream(object aStream) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SaveReportToStream", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SaveReportToStream(aStream);
}
public virtual void AddFunction(string aFuncName, string aCategory, string aDescription, string aParams) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddFunction", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddFunction(aFuncName, aCategory, aDescription, aParams);
}
public virtual object Get_Variable(string aName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Get_Variable", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
object returnValue = ((object)(this.ocx.Get_Variable(aName)));
return returnValue;
}
public virtual void Set_Variable(string aName, object value) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Set_Variable", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.Set_Variable(aName, value);
}
public virtual bool PrepareReport() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrepareReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
bool returnValue = ((bool)(this.ocx.PrepareReport()));
return returnValue;
}
public virtual void SetDataSetAlias(string aDatasetName, string aAliasName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetDataSetAlias", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetDataSetAlias(aDatasetName, aAliasName);
}
public virtual void UseDefaultPreview() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UseDefaultPreview", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.UseDefaultPreview();
}
public virtual void LoadApplicationIconFromFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadApplicationIconFromFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.LoadApplicationIconFromFile(aFileName);
}
public virtual void Init(RM.Interop.ReportMachine.TxRMReportType aReportType) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Init", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.Init(aReportType);
}
public virtual void AddAdoDataSet(string aDatasetName, object aDataSet) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddAdoDataSet", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddAdoDataSet(aDatasetName, aDataSet);
}
public virtual void ShowReport() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ShowReport();
}
public virtual void DesignReport() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DesignReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.DesignReport();
}
public virtual void AddAdoDataSetRelation(string aMasterName, string aDetailName, string aRelation) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddAdoDataSetRelation", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddAdoDataSetRelation(aMasterName, aDetailName, aRelation);
}
public virtual void AddVariable(string aVarName, object aValue, bool aIsString) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddVariable", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddVariable(aVarName, aValue, aIsString);
}
public virtual void PrintReport() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PrintReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.PrintReport();
}
public virtual void ExportToRtf(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ExportToRtf", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ExportToRtf(aFileName);
}
public virtual void ExportToXls(string aFileName, bool aOleMode) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ExportToXls", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ExportToXls(aFileName, aOleMode);
}
public virtual void ExportToHtml(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ExportToHtml", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ExportToHtml(aFileName);
}
public virtual void ExportToPdf(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ExportToPdf", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ExportToPdf(aFileName);
}
public virtual void AddAdoDatabase(string aConnectionString, string aName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddAdoDatabase", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddAdoDatabase(aConnectionString, aName);
}
public virtual void AddXmlDataSet(string aFileName, string aDatasetName, object aIsXmlData) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddXmlDataSet", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddXmlDataSet(aFileName, aDatasetName, aIsXmlData);
}
public virtual void SetHandle(int aHandle) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetHandle", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetHandle(aHandle);
}
public virtual void LoadFromFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadFromFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.LoadFromFile(aFileName);
}
public virtual void SaveToFile(string aFileName) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SaveToFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SaveToFile(aFileName);
}
public virtual RM.Interop.ReportMachine.IRMReportPage AddReportPage() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddReportPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
RM.Interop.ReportMachine.IRMReportPage returnValue = ((RM.Interop.ReportMachine.IRMReportPage)(this.ocx.AddReportPage()));
return returnValue;
}
public virtual RM.Interop.ReportMachine.IRMDialogPage AddDialogPage() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddDialogPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
RM.Interop.ReportMachine.IRMDialogPage returnValue = ((RM.Interop.ReportMachine.IRMDialogPage)(this.ocx.AddDialogPage()));
return returnValue;
}
protected override void CreateSink() {
try {
this.eventMulticaster = new AxRMReportEngineEventMulticaster(this);
this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(RM.Interop.ReportMachine.IRMReportEngineEvents));
}
catch (System.Exception ) {
}
}
protected override void DetachSink() {
try {
this.cookie.Disconnect();
}
catch (System.Exception ) {
}
}
protected override void AttachInterfaces() {
try {
this.ocx = ((RM.Interop.ReportMachine.IRMReportEngine)(this.GetOcx()));
}
catch (System.Exception ) {
}
}
internal void RaiseOnOnDesignerSaveReport(object sender, IRMReportEngineEvents_OnDesignerSaveReportEvent e) {
if ((this.OnDesignerSaveReport != null)) {
this.OnDesignerSaveReport(sender, e);
}
}
internal void RaiseOnOnUserFunction(object sender, IRMReportEngineEvents_OnUserFunctionEvent e) {
if ((this.OnUserFunction != null)) {
this.OnUserFunction(sender, e);
}
}
internal void RaiseOnOnGetValue(object sender, IRMReportEngineEvents_OnGetValueEvent e) {
if ((this.OnGetValue != null)) {
this.OnGetValue(sender, e);
}
}
internal void RaiseOnOnObjectClick(object sender, IRMReportEngineEvents_OnObjectClickEvent e) {
if ((this.OnObjectClick != null)) {
this.OnObjectClick(sender, e);
}
}
internal void RaiseOnOnBeforePrint(object sender, IRMReportEngineEvents_OnBeforePrintEvent e) {
if ((this.OnBeforePrint != null)) {
this.OnBeforePrint(sender, e);
}
}
internal void RaiseOnOnAfterPrint(object sender, IRMReportEngineEvents_OnAfterPrintEvent e) {
if ((this.OnAfterPrint != null)) {
this.OnAfterPrint(sender, e);
}
}
internal void RaiseOnOnBeforePrintBand(object sender, IRMReportEngineEvents_OnBeforePrintBandEvent e) {
if ((this.OnBeforePrintBand != null)) {
this.OnBeforePrintBand(sender, e);
}
}
internal void RaiseOnOnDesignerNewReport(object sender, IRMReportEngineEvents_OnDesignerNewReportEvent e) {
if ((this.OnDesignerNewReport != null)) {
this.OnDesignerNewReport(sender, e);
}
}
internal void RaiseOnOnDesignerLoadReport(object sender, IRMReportEngineEvents_OnDesignerLoadReportEvent e) {
if ((this.OnDesignerLoadReport != null)) {
this.OnDesignerLoadReport(sender, e);
}
}
internal void RaiseOnOnDesignerAfterLoadReport(object sender, System.EventArgs e) {
if ((this.OnDesignerAfterLoadReport != null)) {
this.OnDesignerAfterLoadReport(sender, e);
}
}
}
public delegate void IRMReportEngineEvents_OnDesignerSaveReportEventHandler(object sender, IRMReportEngineEvents_OnDesignerSaveReportEvent e);
public class IRMReportEngineEvents_OnDesignerSaveReportEvent {
public string aReportName;
public bool aSaveAs;
public bool aSaved;
public bool aUseDefaultSaveFunction;
public IRMReportEngineEvents_OnDesignerSaveReportEvent(string aReportName, bool aSaveAs, bool aSaved, bool aUseDefaultSaveFunction) {
this.aReportName = aReportName;
this.aSaveAs = aSaveAs;
this.aSaved = aSaved;
this.aUseDefaultSaveFunction = aUseDefaultSaveFunction;
}
}
public delegate void IRMReportEngineEvents_OnUserFunctionEventHandler(object sender, IRMReportEngineEvents_OnUserFunctionEvent e);
public class IRMReportEngineEvents_OnUserFunctionEvent {
public string aFunctionName;
public object aParam;
public object aValue;
public bool aFound;
public IRMReportEngineEvents_OnUserFunctionEvent(string aFunctionName, object aParam, object aValue, bool aFound) {
this.aFunctionName = aFunctionName;
this.aParam = aParam;
this.aValue = aValue;
this.aFound = aFound;
}
}
public delegate void IRMReportEngineEvents_OnGetValueEventHandler(object sender, IRMReportEngineEvents_OnGetValueEvent e);
public class IRMReportEngineEvents_OnGetValueEvent {
public string aParName;
public object aParValue;
public IRMReportEngineEvents_OnGetValueEvent(string aParName, object aParValue) {
this.aParName = aParName;
this.aParValue = aParValue;
}
}
public delegate void IRMReportEngineEvents_OnObjectClickEventHandler(object sender, IRMReportEngineEvents_OnObjectClickEvent e);
public class IRMReportEngineEvents_OnObjectClickEvent {
public RM.Interop.ReportMachine.IRMView aView;
public RM.Interop.ReportMachine.TxMouseButton aButton;
public bool aModifed;
public IRMReportEngineEvents_OnObjectClickEvent(RM.Interop.ReportMachine.IRMView aView, RM.Interop.ReportMachine.TxMouseButton aButton, bool aModifed) {
this.aView = aView;
this.aButton = aButton;
this.aModifed = aModifed;
}
}
public delegate void IRMReportEngineEvents_OnBeforePrintEventHandler(object sender, IRMReportEngineEvents_OnBeforePrintEvent e);
public class IRMReportEngineEvents_OnBeforePrintEvent {
public RM.Interop.ReportMachine.IRMView aView;
public string aText;
public IRMReportEngineEvents_OnBeforePrintEvent(RM.Interop.ReportMachine.IRMView aView, string aText) {
this.aView = aView;
this.aText = aText;
}
}
public delegate void IRMReportEngineEvents_OnAfterPrintEventHandler(object sender, IRMReportEngineEvents_OnAfterPrintEvent e);
public class IRMReportEngineEvents_OnAfterPrintEvent {
public RM.Interop.ReportMachine.IRMView aView;
public IRMReportEngineEvents_OnAfterPrintEvent(RM.Interop.ReportMachine.IRMView aView) {
this.aView = aView;
}
}
public delegate void IRMReportEngineEvents_OnBeforePrintBandEventHandler(object sender, IRMReportEngineEvents_OnBeforePrintBandEvent e);
public class IRMReportEngineEvents_OnBeforePrintBandEvent {
public RM.Interop.ReportMachine.IRMBand aBand;
public bool aPrintBand;
public IRMReportEngineEvents_OnBeforePrintBandEvent(RM.Interop.ReportMachine.IRMBand aBand, bool aPrintBand) {
this.aBand = aBand;
this.aPrintBand = aPrintBand;
}
}
public delegate void IRMReportEngineEvents_OnDesignerNewReportEventHandler(object sender, IRMReportEngineEvents_OnDesignerNewReportEvent e);
public class IRMReportEngineEvents_OnDesignerNewReportEvent {
public string aReportName;
public IRMReportEngineEvents_OnDesignerNewReportEvent(string aReportName) {
this.aReportName = aReportName;
}
}
public delegate void IRMReportEngineEvents_OnDesignerLoadReportEventHandler(object sender, IRMReportEngineEvents_OnDesignerLoadReportEvent e);
public class IRMReportEngineEvents_OnDesignerLoadReportEvent {
public string aReportName;
public bool aOpened;
public IRMReportEngineEvents_OnDesignerLoadReportEvent(string aReportName, bool aOpened) {
this.aReportName = aReportName;
this.aOpened = aOpened;
}
}
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class AxRMReportEngineEventMulticaster : RM.Interop.ReportMachine.IRMReportEngineEvents {
private AxRMReportEngine parent;
public AxRMReportEngineEventMulticaster(AxRMReportEngine parent) {
this.parent = parent;
}
public virtual void OnDesignerSaveReport(ref string aReportName, bool aSaveAs, ref bool aSaved, ref bool aUseDefaultSaveFunction) {
IRMReportEngineEvents_OnDesignerSaveReportEvent ondesignersavereportEvent = new IRMReportEngineEvents_OnDesignerSaveReportEvent(aReportName, aSaveAs, aSaved, aUseDefaultSaveFunction);
this.parent.RaiseOnOnDesignerSaveReport(this.parent, ondesignersavereportEvent);
aReportName = ondesignersavereportEvent.aReportName;
aSaved = ondesignersavereportEvent.aSaved;
aUseDefaultSaveFunction = ondesignersavereportEvent.aUseDefaultSaveFunction;
}
public virtual void OnUserFunction(string aFunctionName, object aParam, ref object aValue, ref bool aFound) {
IRMReportEngineEvents_OnUserFunctionEvent onuserfunctionEvent = new IRMReportEngineEvents_OnUserFunctionEvent(aFunctionName, aParam, aValue, aFound);
this.parent.RaiseOnOnUserFunction(this.parent, onuserfunctionEvent);
aValue = onuserfunctionEvent.aValue;
aFound = onuserfunctionEvent.aFound;
}
public virtual void OnGetValue(string aParName, ref object aParValue) {
IRMReportEngineEvents_OnGetValueEvent ongetvalueEvent = new IRMReportEngineEvents_OnGetValueEvent(aParName, aParValue);
this.parent.RaiseOnOnGetValue(this.parent, ongetvalueEvent);
aParValue = ongetvalueEvent.aParValue;
}
public virtual void OnObjectClick(RM.Interop.ReportMachine.IRMView aView, RM.Interop.ReportMachine.TxMouseButton aButton, ref bool aModifed) {
IRMReportEngineEvents_OnObjectClickEvent onobjectclickEvent = new IRMReportEngineEvents_OnObjectClickEvent(aView, aButton, aModifed);
this.parent.RaiseOnOnObjectClick(this.parent, onobjectclickEvent);
aModifed = onobjectclickEvent.aModifed;
}
public virtual void OnBeforePrint(RM.Interop.ReportMachine.IRMView aView, ref string aText) {
IRMReportEngineEvents_OnBeforePrintEvent onbeforeprintEvent = new IRMReportEngineEvents_OnBeforePrintEvent(aView, aText);
this.parent.RaiseOnOnBeforePrint(this.parent, onbeforeprintEvent);
aText = onbeforeprintEvent.aText;
}
public virtual void OnAfterPrint(RM.Interop.ReportMachine.IRMView aView) {
IRMReportEngineEvents_OnAfterPrintEvent onafterprintEvent = new IRMReportEngineEvents_OnAfterPrintEvent(aView);
this.parent.RaiseOnOnAfterPrint(this.parent, onafterprintEvent);
}
public virtual void OnBeforePrintBand(RM.Interop.ReportMachine.IRMBand aBand, ref bool aPrintBand) {
IRMReportEngineEvents_OnBeforePrintBandEvent onbeforeprintbandEvent = new IRMReportEngineEvents_OnBeforePrintBandEvent(aBand, aPrintBand);
this.parent.RaiseOnOnBeforePrintBand(this.parent, onbeforeprintbandEvent);
aPrintBand = onbeforeprintbandEvent.aPrintBand;
}
public virtual void OnDesignerNewReport(ref string aReportName) {
IRMReportEngineEvents_OnDesignerNewReportEvent ondesignernewreportEvent = new IRMReportEngineEvents_OnDesignerNewReportEvent(aReportName);
this.parent.RaiseOnOnDesignerNewReport(this.parent, ondesignernewreportEvent);
aReportName = ondesignernewreportEvent.aReportName;
}
public virtual void OnDesignerLoadReport(ref string aReportName, ref bool aOpened) {
IRMReportEngineEvents_OnDesignerLoadReportEvent ondesignerloadreportEvent = new IRMReportEngineEvents_OnDesignerLoadReportEvent(aReportName, aOpened);
this.parent.RaiseOnOnDesignerLoadReport(this.parent, ondesignerloadreportEvent);
aReportName = ondesignerloadreportEvent.aReportName;
aOpened = ondesignerloadreportEvent.aOpened;
}
public virtual void OnDesignerAfterLoadReport() {
System.EventArgs ondesignerafterloadreportEvent = new System.EventArgs();
this.parent.RaiseOnOnDesignerAfterLoadReport(this.parent, ondesignerafterloadreportEvent);
}
}
[System.Windows.Forms.AxHost.ClsidAttribute("{a0a918fa-7640-4e84-beaa-7724c673c6a4}")]
[System.ComponentModel.DesignTimeVisibleAttribute(true)]
public class AxRMDataSetX : System.Windows.Forms.AxHost {
private RM.Interop.ReportMachine.IRMDataSetX ocx;
private AxRMDataSetXEventMulticaster eventMulticaster;
private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
public AxRMDataSetX() :
base("a0a918fa-7640-4e84-beaa-7724c673c6a4") {
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(-518)]
public virtual string Caption {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Caption", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.Caption;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Caption", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.Caption = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(201)]
public virtual string AliasName {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AliasName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.AliasName;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AliasName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.AliasName = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(204)]
public virtual bool UseInVFP {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UseInVFP", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.UseInVFP;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UseInVFP", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.UseInVFP = value;
}
}
public event System.EventHandler OnInit;
public event System.EventHandler OnFirst;
public event System.EventHandler OnPrior;
public event System.EventHandler OnNext;
public event IRMDataSetXEvents_OnCheckEofEventHandler OnCheckEof;
public event System.EventHandler OnGetFieldList;
public event IRMDataSetXEvents_OnGetFieldValueEventHandler OnGetFieldValue;
public event IRMDataSetXEvents_OnGetFieldDisplayTextEventHandler OnGetFieldDisplayText;
public virtual void AddFieldDef(object aFieldName, object aFieldAlias, bool aIsBlobField) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddFieldDef", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.AddFieldDef(aFieldName, aFieldAlias, aIsBlobField);
}
public virtual void Init() {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Init", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.Init();
}
public virtual void SetParentReport(RM.Interop.ReportMachine.RMReportEngine aReport) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetParentReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.SetParentReport(aReport);
}
protected override void CreateSink() {
try {
this.eventMulticaster = new AxRMDataSetXEventMulticaster(this);
this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(RM.Interop.ReportMachine.IRMDataSetXEvents));
}
catch (System.Exception ) {
}
}
protected override void DetachSink() {
try {
this.cookie.Disconnect();
}
catch (System.Exception ) {
}
}
protected override void AttachInterfaces() {
try {
this.ocx = ((RM.Interop.ReportMachine.IRMDataSetX)(this.GetOcx()));
}
catch (System.Exception ) {
}
}
internal void RaiseOnOnInit(object sender, System.EventArgs e) {
if ((this.OnInit != null)) {
this.OnInit(sender, e);
}
}
internal void RaiseOnOnFirst(object sender, System.EventArgs e) {
if ((this.OnFirst != null)) {
this.OnFirst(sender, e);
}
}
internal void RaiseOnOnPrior(object sender, System.EventArgs e) {
if ((this.OnPrior != null)) {
this.OnPrior(sender, e);
}
}
internal void RaiseOnOnNext(object sender, System.EventArgs e) {
if ((this.OnNext != null)) {
this.OnNext(sender, e);
}
}
internal void RaiseOnOnCheckEof(object sender, IRMDataSetXEvents_OnCheckEofEvent e) {
if ((this.OnCheckEof != null)) {
this.OnCheckEof(sender, e);
}
}
internal void RaiseOnOnGetFieldList(object sender, System.EventArgs e) {
if ((this.OnGetFieldList != null)) {
this.OnGetFieldList(sender, e);
}
}
internal void RaiseOnOnGetFieldValue(object sender, IRMDataSetXEvents_OnGetFieldValueEvent e) {
if ((this.OnGetFieldValue != null)) {
this.OnGetFieldValue(sender, e);
}
}
internal void RaiseOnOnGetFieldDisplayText(object sender, IRMDataSetXEvents_OnGetFieldDisplayTextEvent e) {
if ((this.OnGetFieldDisplayText != null)) {
this.OnGetFieldDisplayText(sender, e);
}
}
}
public delegate void IRMDataSetXEvents_OnCheckEofEventHandler(object sender, IRMDataSetXEvents_OnCheckEofEvent e);
public class IRMDataSetXEvents_OnCheckEofEvent {
public bool aEof;
public IRMDataSetXEvents_OnCheckEofEvent(bool aEof) {
this.aEof = aEof;
}
}
public delegate void IRMDataSetXEvents_OnGetFieldValueEventHandler(object sender, IRMDataSetXEvents_OnGetFieldValueEvent e);
public class IRMDataSetXEvents_OnGetFieldValueEvent {
public string aFieldName;
public object aFieldValue;
public IRMDataSetXEvents_OnGetFieldValueEvent(string aFieldName, object aFieldValue) {
this.aFieldName = aFieldName;
this.aFieldValue = aFieldValue;
}
}
public delegate void IRMDataSetXEvents_OnGetFieldDisplayTextEventHandler(object sender, IRMDataSetXEvents_OnGetFieldDisplayTextEvent e);
public class IRMDataSetXEvents_OnGetFieldDisplayTextEvent {
public string aFieldName;
public object aFieldValue;
public IRMDataSetXEvents_OnGetFieldDisplayTextEvent(string aFieldName, object aFieldValue) {
this.aFieldName = aFieldName;
this.aFieldValue = aFieldValue;
}
}
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class AxRMDataSetXEventMulticaster : RM.Interop.ReportMachine.IRMDataSetXEvents {
private AxRMDataSetX parent;
public AxRMDataSetXEventMulticaster(AxRMDataSetX parent) {
this.parent = parent;
}
public virtual void OnInit() {
System.EventArgs oninitEvent = new System.EventArgs();
this.parent.RaiseOnOnInit(this.parent, oninitEvent);
}
public virtual void OnFirst() {
System.EventArgs onfirstEvent = new System.EventArgs();
this.parent.RaiseOnOnFirst(this.parent, onfirstEvent);
}
public virtual void OnPrior() {
System.EventArgs onpriorEvent = new System.EventArgs();
this.parent.RaiseOnOnPrior(this.parent, onpriorEvent);
}
public virtual void OnNext() {
System.EventArgs onnextEvent = new System.EventArgs();
this.parent.RaiseOnOnNext(this.parent, onnextEvent);
}
public virtual void OnCheckEof(ref bool aEof) {
IRMDataSetXEvents_OnCheckEofEvent oncheckeofEvent = new IRMDataSetXEvents_OnCheckEofEvent(aEof);
this.parent.RaiseOnOnCheckEof(this.parent, oncheckeofEvent);
aEof = oncheckeofEvent.aEof;
}
public virtual void OnGetFieldList() {
System.EventArgs ongetfieldlistEvent = new System.EventArgs();
this.parent.RaiseOnOnGetFieldList(this.parent, ongetfieldlistEvent);
}
public virtual void OnGetFieldValue(string aFieldName, ref object aFieldValue) {
IRMDataSetXEvents_OnGetFieldValueEvent ongetfieldvalueEvent = new IRMDataSetXEvents_OnGetFieldValueEvent(aFieldName, aFieldValue);
this.parent.RaiseOnOnGetFieldValue(this.parent, ongetfieldvalueEvent);
aFieldValue = ongetfieldvalueEvent.aFieldValue;
}
public virtual void OnGetFieldDisplayText(string aFieldName, ref object aFieldValue) {
IRMDataSetXEvents_OnGetFieldDisplayTextEvent ongetfielddisplaytextEvent = new IRMDataSetXEvents_OnGetFieldDisplayTextEvent(aFieldName, aFieldValue);
this.parent.RaiseOnOnGetFieldDisplayText(this.parent, ongetfielddisplaytextEvent);
aFieldValue = ongetfielddisplaytextEvent.aFieldValue;
}
}
[System.Windows.Forms.AxHost.ClsidAttribute("{804a4193-4894-4f37-9c6b-d03e8140c5ce}")]
[System.ComponentModel.DesignTimeVisibleAttribute(true)]
public class AxRMReportPreviewX : System.Windows.Forms.AxHost {
private RM.Interop.ReportMachine.IRMReportPreviewX ocx;
private AxRMReportPreviewXEventMulticaster eventMulticaster;
private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
public AxRMReportPreviewX() :
base("804a4193-4894-4f37-9c6b-d03e8140c5ce") {
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(201)]
public virtual bool CtlVisible {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.Visible;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.Visible = value;
}
}
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Runtime.InteropServices.DispIdAttribute(218)]
public virtual bool ShowToolbar {
get {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowToolbar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
}
return this.ocx.ShowToolbar;
}
set {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowToolbar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
}
this.ocx.ShowToolbar = value;
}
}
public event System.EventHandler OnBtnExitClick;
public virtual void ConnectReport(RM.Interop.ReportMachine.RMReportEngine aReport) {
if ((this.ocx == null)) {
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ConnectReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
}
this.ocx.ConnectReport(aReport);
}
protected override void CreateSink() {
try {
this.eventMulticaster = new AxRMReportPreviewXEventMulticaster(this);
this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(RM.Interop.ReportMachine.IRMReportPreviewXEvents));
}
catch (System.Exception ) {
}
}
protected override void DetachSink() {
try {
this.cookie.Disconnect();
}
catch (System.Exception ) {
}
}
protected override void AttachInterfaces() {
try {
this.ocx = ((RM.Interop.ReportMachine.IRMReportPreviewX)(this.GetOcx()));
}
catch (System.Exception ) {
}
}
internal void RaiseOnOnBtnExitClick(object sender, System.EventArgs e) {
if ((this.OnBtnExitClick != null)) {
this.OnBtnExitClick(sender, e);
}
}
}
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class AxRMReportPreviewXEventMulticaster : RM.Interop.ReportMachine.IRMReportPreviewXEvents {
private AxRMReportPreviewX parent;
public AxRMReportPreviewXEventMulticaster(AxRMReportPreviewX parent) {
this.parent = parent;
}
public virtual void OnBtnExitClick() {
System.EventArgs onbtnexitclickEvent = new System.EventArgs();
this.parent.RaiseOnOnBtnExitClick(this.parent, onbtnexitclickEvent);
}
}
}