//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:2.0.50727.4952 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ [assembly: System.Reflection.AssemblyVersion("5.0.0.0")] [assembly: System.Windows.Forms.AxHost.TypeLibraryTimeStamp("2009-04-30 11:49:52")] namespace AxgrproLib { [System.Windows.Forms.AxHost.ClsidAttribute("{613f3ae0-d4eb-4f9f-b750-576c09700351}")] [System.ComponentModel.DesignTimeVisibleAttribute(true)] [System.ComponentModel.DefaultEvent("ControlClick")] public class AxGRDisplayViewer : System.Windows.Forms.AxHost { private grproLib.IGRDisplayViewer ocx; private AxGRDisplayViewerEventMulticaster eventMulticaster; private System.Windows.Forms.AxHost.ConnectionPointCookie cookie; public AxGRDisplayViewer() : base("613f3ae0-d4eb-4f9f-b750-576c09700351") { } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(1)] public virtual grproLib.GridppReport Report { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Report", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Report; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Report", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.Report = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(2)] public virtual bool Running { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Running", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Running; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(3)] public virtual bool ShowPreviewLine { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPreviewLine", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowPreviewLine; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPreviewLine", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowPreviewLine = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(4)] public virtual int SelRowNo { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelRowNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.SelRowNo; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelRowNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelRowNo = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(5)] public virtual int SelColumnNo { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelColumnNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.SelColumnNo; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelColumnNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelColumnNo = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(6)] public virtual string SelColumnName { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelColumnName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.SelColumnName; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelColumnName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelColumnName = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(7)] public virtual int VScrollPos { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("VScrollPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.VScrollPos; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("VScrollPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.VScrollPos = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(8)] public virtual int HScrollPos { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("HScrollPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.HScrollPos; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("HScrollPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.HScrollPos = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(9)] public virtual int RowCount { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowCount", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.RowCount; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(10)] public virtual string SortColumns { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SortColumns", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.SortColumns; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SortColumns", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SortColumns = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(11)] public virtual bool AlwaysShowSelection { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowSelection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.AlwaysShowSelection; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowSelection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.AlwaysShowSelection = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(12)] public virtual bool ToPostColumnLayout { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ToPostColumnLayout", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ToPostColumnLayout; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ToPostColumnLayout", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ToPostColumnLayout = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(16)] public virtual short CurPageNo { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurPageNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.CurPageNo; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurPageNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.CurPageNo = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(17)] public virtual short 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.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(-504)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual grproLib.GRViewerBorderStyle BorderStyle { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BorderStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.BorderStyle; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BorderStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.BorderStyle = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(152)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short LeftGap { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LeftGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.LeftGap; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LeftGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.LeftGap = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(153)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short RightGap { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RightGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.RightGap; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RightGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.RightGap = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(154)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short TopGap { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TopGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.TopGap; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TopGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.TopGap = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(155)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short BottomGap { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BottomGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.BottomGap; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BottomGap", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.BottomGap = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(164)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short RowsPerPage { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowsPerPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.RowsPerPage; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowsPerPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.RowsPerPage = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(150)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ShowHeader { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowHeader", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowHeader; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowHeader", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowHeader = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(151)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ShowFooter { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowFooter", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowFooter; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowFooter", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowFooter = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(135)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] 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; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(156)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool Resortable { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Resortable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Resortable; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Resortable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.Resortable = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(157)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ResortCaseSensitive { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResortCaseSensitive", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ResortCaseSensitive; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResortCaseSensitive", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ResortCaseSensitive = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(160)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ResortDefaultAsc { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResortDefaultAsc", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ResortDefaultAsc; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResortDefaultAsc", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ResortDefaultAsc = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(161)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool GridTitle3D { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridTitle3D", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.GridTitle3D; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridTitle3D", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.GridTitle3D = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(162)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool Searchable { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Searchable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Searchable; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Searchable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.Searchable = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(163)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool GridCenterView { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridCenterView", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.GridCenterView; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridCenterView", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.GridCenterView = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(170)] [System.Runtime.InteropServices.ComAliasNameAttribute("System.UInt32")] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual System.Drawing.Color SelectionBackColor { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionBackColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return GetColorFromOleColor(((uint)(this.ocx.SelectionBackColor))); } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionBackColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelectionBackColor = ((uint)(GetOleColorFromColor(value))); } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(171)] [System.Runtime.InteropServices.ComAliasNameAttribute("System.UInt32")] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual System.Drawing.Color SelectionForeColor { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionForeColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return GetColorFromOleColor(((uint)(this.ocx.SelectionForeColor))); } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionForeColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelectionForeColor = ((uint)(GetOleColorFromColor(value))); } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(172)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool SelectionFollowScroll { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionFollowScroll", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.SelectionFollowScroll; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SelectionFollowScroll", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.SelectionFollowScroll = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(173)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool AlwaysShowHScrollBar { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowHScrollBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.AlwaysShowHScrollBar; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowHScrollBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.AlwaysShowHScrollBar = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(174)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool AlwaysShowVScrollBar { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowVScrollBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.AlwaysShowVScrollBar; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AlwaysShowVScrollBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.AlwaysShowVScrollBar = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(175)] [System.Runtime.InteropServices.ComAliasNameAttribute("System.UInt32")] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual System.Drawing.Color BackgroundColor { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BackgroundColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return GetColorFromOleColor(((uint)(this.ocx.BackgroundColor))); } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BackgroundColor", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.BackgroundColor = ((uint)(GetOleColorFromColor(value))); } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(176)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ColumnMove { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColumnMove", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ColumnMove; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColumnMove", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ColumnMove = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(177)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ColumnResize { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColumnResize", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ColumnResize; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColumnResize", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ColumnResize = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(178)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool RowSelection { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowSelection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.RowSelection; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowSelection", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.RowSelection = value; } } public event System.EventHandler ClickEvent; public event System.EventHandler DblClick; public event _IGRDisplayViewerEvents_KeyDownEventHandler KeyDownEvent; public event _IGRDisplayViewerEvents_KeyPressEventHandler KeyPressEvent; public event _IGRDisplayViewerEvents_KeyUpEventHandler KeyUpEvent; public event _IGRDisplayViewerEvents_MouseDownEventHandler MouseDownEvent; public event _IGRDisplayViewerEvents_MouseUpEventHandler MouseUpEvent; public event _IGRDisplayViewerEvents_MouseMoveEventHandler MouseMoveEvent; public event _IGRDisplayViewerEvents_ControlClickEventHandler ControlClick; public event _IGRDisplayViewerEvents_ControlDblClickEventHandler ControlDblClick; public event _IGRDisplayViewerEvents_SectionClickEventHandler SectionClick; public event _IGRDisplayViewerEvents_SectionDblClickEventHandler SectionDblClick; public event _IGRDisplayViewerEvents_ContentCellClickEventHandler ContentCellClick; public event _IGRDisplayViewerEvents_ContentCellDblClickEventHandler ContentCellDblClick; public event _IGRDisplayViewerEvents_TitleCellClickEventHandler TitleCellClick; public event _IGRDisplayViewerEvents_TitleCellDblClickEventHandler TitleCellDblClick; public event _IGRDisplayViewerEvents_ChartClickSeriesEventHandler ChartClickSeries; public event _IGRDisplayViewerEvents_ChartDblClickSeriesEventHandler ChartDblClickSeries; public event _IGRDisplayViewerEvents_ChartClickLegendEventHandler ChartClickLegend; public event _IGRDisplayViewerEvents_ChartDblClickLegendEventHandler ChartDblClickLegend; public event System.EventHandler ColumnLayoutChange; public event _IGRDisplayViewerEvents_SelectionCellChangeEventHandler SelectionCellChange; public event System.EventHandler StatusChange; public event System.EventHandler CloseButtonClick; public event _IGRDisplayViewerEvents_CustomButtonClickEventHandler CustomButtonClick; public virtual void LockUpdate() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LockUpdate", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.LockUpdate(); } public virtual void UnlockUpdate() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UnlockUpdate", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UnlockUpdate(); } public virtual string GetSelRowCellText(short columnIndex) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetSelRowCellText", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } string returnValue = ((string)(this.ocx.GetSelRowCellText(columnIndex))); return returnValue; } public virtual void UpdateLanguage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateLanguage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateLanguage(); } public virtual bool Search(string text, bool caseSensitive, bool wholeWord, bool toUp, bool fromSelection, bool showDlg, bool showMsg) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Search", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } bool returnValue = ((bool)(this.ocx.Search(text, caseSensitive, wholeWord, toUp, fromSelection, showDlg, showMsg))); return returnValue; } public virtual bool SearchAgain(bool showMsg) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SearchAgain", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } bool returnValue = ((bool)(this.ocx.SearchAgain(showMsg))); return returnValue; } public virtual void AddToolbarControl(grproLib.GRToolControlType2 controlType) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddToolbarControl", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.AddToolbarControl(controlType); } public virtual void AddToolbarCustomButton(int btnID, string btnFileName, string tooltipText) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddToolbarCustomButton", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.AddToolbarCustomButton(btnID, btnFileName, tooltipText); } public virtual void RemoveToolbarControl(grproLib.GRToolControlType2 controlType) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RemoveToolbarControl", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.RemoveToolbarControl(controlType); } public virtual void ResetToolbarContent() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResetToolbarContent", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ResetToolbarContent(); } public virtual void UpdateToolbar() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateToolbar", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateToolbar(); } public virtual void QuickRefresh() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QuickRefresh", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.QuickRefresh(); } public virtual void Refresh() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Refresh", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Refresh(); } public virtual void Start() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Start", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Start(); } public virtual void Stop() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Stop", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Stop(); } public virtual grproLib.IGRControl GetControlFromPos(short xPos, short yPos) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetControlFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } grproLib.IGRControl returnValue = ((grproLib.IGRControl)(this.ocx.GetControlFromPos(xPos, yPos))); return returnValue; } public virtual grproLib.IGRSection GetSectionFromPos(short xPos, short yPos) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetSectionFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } grproLib.IGRSection returnValue = ((grproLib.IGRSection)(this.ocx.GetSectionFromPos(xPos, yPos))); return returnValue; } public virtual grproLib.IGRColumnContentCell GetContentCellFromPos(short xPos, short yPos) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetContentCellFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } grproLib.IGRColumnContentCell returnValue = ((grproLib.IGRColumnContentCell)(this.ocx.GetContentCellFromPos(xPos, yPos))); return returnValue; } public virtual grproLib.IGRColumnTitleCell GetTitleCellFromPos(short xPos, short yPos) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetTitleCellFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } grproLib.IGRColumnTitleCell returnValue = ((grproLib.IGRColumnTitleCell)(this.ocx.GetTitleCellFromPos(xPos, yPos))); return returnValue; } public virtual void PostColumnLayout() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PostColumnLayout", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.PostColumnLayout(); } public virtual void ResizeColumnToFitPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResizeColumnToFitPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ResizeColumnToFitPage(); } public virtual void ResizeColumnToFit() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResizeColumnToFit", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ResizeColumnToFit(); } public virtual void ResizeColumnToFitText() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResizeColumnToFitText", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ResizeColumnToFitText(); } public virtual void NextPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("NextPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.NextPage(); } public virtual void PriorPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PriorPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.PriorPage(); } public virtual void FirstPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FirstPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.FirstPage(); } public virtual void LastPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LastPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.LastPage(); } public virtual bool GetColumnVisible(string columnName) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetColumnVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } bool returnValue = ((bool)(this.ocx.GetColumnVisible(columnName))); return returnValue; } public virtual void SetColumnVisible(string columnName, bool visible) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetColumnVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.SetColumnVisible(columnName, visible); } public virtual void UpdateColumnView() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateColumnView", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateColumnView(); } public virtual void UpdateSelCell() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateSelCell", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateSelCell(); } public virtual void UpdateSelRow() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateSelRow", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateSelRow(); } public virtual void UpdateControl(grproLib.IGRControl pControl) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateControl", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateControl(pControl); } public virtual void UpdateViewer() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateViewer", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateViewer(); } protected override void CreateSink() { try { this.eventMulticaster = new AxGRDisplayViewerEventMulticaster(this); this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(grproLib._IGRDisplayViewerEvents)); } catch (System.Exception ) { } } protected override void DetachSink() { try { this.cookie.Disconnect(); } catch (System.Exception ) { } } protected override void AttachInterfaces() { try { this.ocx = ((grproLib.IGRDisplayViewer)(this.GetOcx())); } catch (System.Exception ) { } } internal void RaiseOnClickEvent(object sender, System.EventArgs e) { if ((this.ClickEvent != null)) { this.ClickEvent(sender, e); } } internal void RaiseOnDblClick(object sender, System.EventArgs e) { if ((this.DblClick != null)) { this.DblClick(sender, e); } } internal void RaiseOnKeyDownEvent(object sender, _IGRDisplayViewerEvents_KeyDownEvent e) { if ((this.KeyDownEvent != null)) { this.KeyDownEvent(sender, e); } } internal void RaiseOnKeyPressEvent(object sender, _IGRDisplayViewerEvents_KeyPressEvent e) { if ((this.KeyPressEvent != null)) { this.KeyPressEvent(sender, e); } } internal void RaiseOnKeyUpEvent(object sender, _IGRDisplayViewerEvents_KeyUpEvent e) { if ((this.KeyUpEvent != null)) { this.KeyUpEvent(sender, e); } } internal void RaiseOnMouseDownEvent(object sender, _IGRDisplayViewerEvents_MouseDownEvent e) { if ((this.MouseDownEvent != null)) { this.MouseDownEvent(sender, e); } } internal void RaiseOnMouseUpEvent(object sender, _IGRDisplayViewerEvents_MouseUpEvent e) { if ((this.MouseUpEvent != null)) { this.MouseUpEvent(sender, e); } } internal void RaiseOnMouseMoveEvent(object sender, _IGRDisplayViewerEvents_MouseMoveEvent e) { if ((this.MouseMoveEvent != null)) { this.MouseMoveEvent(sender, e); } } internal void RaiseOnControlClick(object sender, _IGRDisplayViewerEvents_ControlClickEvent e) { if ((this.ControlClick != null)) { this.ControlClick(sender, e); } } internal void RaiseOnControlDblClick(object sender, _IGRDisplayViewerEvents_ControlDblClickEvent e) { if ((this.ControlDblClick != null)) { this.ControlDblClick(sender, e); } } internal void RaiseOnSectionClick(object sender, _IGRDisplayViewerEvents_SectionClickEvent e) { if ((this.SectionClick != null)) { this.SectionClick(sender, e); } } internal void RaiseOnSectionDblClick(object sender, _IGRDisplayViewerEvents_SectionDblClickEvent e) { if ((this.SectionDblClick != null)) { this.SectionDblClick(sender, e); } } internal void RaiseOnContentCellClick(object sender, _IGRDisplayViewerEvents_ContentCellClickEvent e) { if ((this.ContentCellClick != null)) { this.ContentCellClick(sender, e); } } internal void RaiseOnContentCellDblClick(object sender, _IGRDisplayViewerEvents_ContentCellDblClickEvent e) { if ((this.ContentCellDblClick != null)) { this.ContentCellDblClick(sender, e); } } internal void RaiseOnTitleCellClick(object sender, _IGRDisplayViewerEvents_TitleCellClickEvent e) { if ((this.TitleCellClick != null)) { this.TitleCellClick(sender, e); } } internal void RaiseOnTitleCellDblClick(object sender, _IGRDisplayViewerEvents_TitleCellDblClickEvent e) { if ((this.TitleCellDblClick != null)) { this.TitleCellDblClick(sender, e); } } internal void RaiseOnChartClickSeries(object sender, _IGRDisplayViewerEvents_ChartClickSeriesEvent e) { if ((this.ChartClickSeries != null)) { this.ChartClickSeries(sender, e); } } internal void RaiseOnChartDblClickSeries(object sender, _IGRDisplayViewerEvents_ChartDblClickSeriesEvent e) { if ((this.ChartDblClickSeries != null)) { this.ChartDblClickSeries(sender, e); } } internal void RaiseOnChartClickLegend(object sender, _IGRDisplayViewerEvents_ChartClickLegendEvent e) { if ((this.ChartClickLegend != null)) { this.ChartClickLegend(sender, e); } } internal void RaiseOnChartDblClickLegend(object sender, _IGRDisplayViewerEvents_ChartDblClickLegendEvent e) { if ((this.ChartDblClickLegend != null)) { this.ChartDblClickLegend(sender, e); } } internal void RaiseOnColumnLayoutChange(object sender, System.EventArgs e) { if ((this.ColumnLayoutChange != null)) { this.ColumnLayoutChange(sender, e); } } internal void RaiseOnSelectionCellChange(object sender, _IGRDisplayViewerEvents_SelectionCellChangeEvent e) { if ((this.SelectionCellChange != null)) { this.SelectionCellChange(sender, e); } } internal void RaiseOnStatusChange(object sender, System.EventArgs e) { if ((this.StatusChange != null)) { this.StatusChange(sender, e); } } internal void RaiseOnCloseButtonClick(object sender, System.EventArgs e) { if ((this.CloseButtonClick != null)) { this.CloseButtonClick(sender, e); } } internal void RaiseOnCustomButtonClick(object sender, _IGRDisplayViewerEvents_CustomButtonClickEvent e) { if ((this.CustomButtonClick != null)) { this.CustomButtonClick(sender, e); } } } public delegate void _IGRDisplayViewerEvents_KeyDownEventHandler(object sender, _IGRDisplayViewerEvents_KeyDownEvent e); public class _IGRDisplayViewerEvents_KeyDownEvent { public grproLib.GRShiftStates shift; public short key; public _IGRDisplayViewerEvents_KeyDownEvent(grproLib.GRShiftStates shift, short key) { this.shift = shift; this.key = key; } } public delegate void _IGRDisplayViewerEvents_KeyPressEventHandler(object sender, _IGRDisplayViewerEvents_KeyPressEvent e); public class _IGRDisplayViewerEvents_KeyPressEvent { public sbyte key; public _IGRDisplayViewerEvents_KeyPressEvent(sbyte key) { this.key = key; } } public delegate void _IGRDisplayViewerEvents_KeyUpEventHandler(object sender, _IGRDisplayViewerEvents_KeyUpEvent e); public class _IGRDisplayViewerEvents_KeyUpEvent { public grproLib.GRShiftStates shift; public short key; public _IGRDisplayViewerEvents_KeyUpEvent(grproLib.GRShiftStates shift, short key) { this.shift = shift; this.key = key; } } public delegate void _IGRDisplayViewerEvents_MouseDownEventHandler(object sender, _IGRDisplayViewerEvents_MouseDownEvent e); public class _IGRDisplayViewerEvents_MouseDownEvent { public grproLib.GRMouseButton button; public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRDisplayViewerEvents_MouseDownEvent(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { this.button = button; this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRDisplayViewerEvents_MouseUpEventHandler(object sender, _IGRDisplayViewerEvents_MouseUpEvent e); public class _IGRDisplayViewerEvents_MouseUpEvent { public grproLib.GRMouseButton button; public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRDisplayViewerEvents_MouseUpEvent(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { this.button = button; this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRDisplayViewerEvents_MouseMoveEventHandler(object sender, _IGRDisplayViewerEvents_MouseMoveEvent e); public class _IGRDisplayViewerEvents_MouseMoveEvent { public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRDisplayViewerEvents_MouseMoveEvent(grproLib.GRShiftStates shift, short xPos, short yPos) { this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRDisplayViewerEvents_ControlClickEventHandler(object sender, _IGRDisplayViewerEvents_ControlClickEvent e); public class _IGRDisplayViewerEvents_ControlClickEvent { public grproLib.IGRControl pSender; public _IGRDisplayViewerEvents_ControlClickEvent(grproLib.IGRControl pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_ControlDblClickEventHandler(object sender, _IGRDisplayViewerEvents_ControlDblClickEvent e); public class _IGRDisplayViewerEvents_ControlDblClickEvent { public grproLib.IGRControl pSender; public _IGRDisplayViewerEvents_ControlDblClickEvent(grproLib.IGRControl pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_SectionClickEventHandler(object sender, _IGRDisplayViewerEvents_SectionClickEvent e); public class _IGRDisplayViewerEvents_SectionClickEvent { public grproLib.IGRSection pSender; public _IGRDisplayViewerEvents_SectionClickEvent(grproLib.IGRSection pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_SectionDblClickEventHandler(object sender, _IGRDisplayViewerEvents_SectionDblClickEvent e); public class _IGRDisplayViewerEvents_SectionDblClickEvent { public grproLib.IGRSection pSender; public _IGRDisplayViewerEvents_SectionDblClickEvent(grproLib.IGRSection pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_ContentCellClickEventHandler(object sender, _IGRDisplayViewerEvents_ContentCellClickEvent e); public class _IGRDisplayViewerEvents_ContentCellClickEvent { public grproLib.IGRColumnContentCell pSender; public _IGRDisplayViewerEvents_ContentCellClickEvent(grproLib.IGRColumnContentCell pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_ContentCellDblClickEventHandler(object sender, _IGRDisplayViewerEvents_ContentCellDblClickEvent e); public class _IGRDisplayViewerEvents_ContentCellDblClickEvent { public grproLib.IGRColumnContentCell pSender; public _IGRDisplayViewerEvents_ContentCellDblClickEvent(grproLib.IGRColumnContentCell pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_TitleCellClickEventHandler(object sender, _IGRDisplayViewerEvents_TitleCellClickEvent e); public class _IGRDisplayViewerEvents_TitleCellClickEvent { public grproLib.IGRColumnTitleCell pSender; public _IGRDisplayViewerEvents_TitleCellClickEvent(grproLib.IGRColumnTitleCell pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_TitleCellDblClickEventHandler(object sender, _IGRDisplayViewerEvents_TitleCellDblClickEvent e); public class _IGRDisplayViewerEvents_TitleCellDblClickEvent { public grproLib.IGRColumnTitleCell pSender; public _IGRDisplayViewerEvents_TitleCellDblClickEvent(grproLib.IGRColumnTitleCell pSender) { this.pSender = pSender; } } public delegate void _IGRDisplayViewerEvents_ChartClickSeriesEventHandler(object sender, _IGRDisplayViewerEvents_ChartClickSeriesEvent e); public class _IGRDisplayViewerEvents_ChartClickSeriesEvent { public grproLib.IGRChart pSender; public short seriesIndex; public short groupIndex; public _IGRDisplayViewerEvents_ChartClickSeriesEvent(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { this.pSender = pSender; this.seriesIndex = seriesIndex; this.groupIndex = groupIndex; } } public delegate void _IGRDisplayViewerEvents_ChartDblClickSeriesEventHandler(object sender, _IGRDisplayViewerEvents_ChartDblClickSeriesEvent e); public class _IGRDisplayViewerEvents_ChartDblClickSeriesEvent { public grproLib.IGRChart pSender; public short seriesIndex; public short groupIndex; public _IGRDisplayViewerEvents_ChartDblClickSeriesEvent(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { this.pSender = pSender; this.seriesIndex = seriesIndex; this.groupIndex = groupIndex; } } public delegate void _IGRDisplayViewerEvents_ChartClickLegendEventHandler(object sender, _IGRDisplayViewerEvents_ChartClickLegendEvent e); public class _IGRDisplayViewerEvents_ChartClickLegendEvent { public grproLib.IGRChart pSender; public short seriesIndex; public short groupIndex; public _IGRDisplayViewerEvents_ChartClickLegendEvent(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { this.pSender = pSender; this.seriesIndex = seriesIndex; this.groupIndex = groupIndex; } } public delegate void _IGRDisplayViewerEvents_ChartDblClickLegendEventHandler(object sender, _IGRDisplayViewerEvents_ChartDblClickLegendEvent e); public class _IGRDisplayViewerEvents_ChartDblClickLegendEvent { public grproLib.IGRChart pSender; public short seriesIndex; public short groupIndex; public _IGRDisplayViewerEvents_ChartDblClickLegendEvent(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { this.pSender = pSender; this.seriesIndex = seriesIndex; this.groupIndex = groupIndex; } } public delegate void _IGRDisplayViewerEvents_SelectionCellChangeEventHandler(object sender, _IGRDisplayViewerEvents_SelectionCellChangeEvent e); public class _IGRDisplayViewerEvents_SelectionCellChangeEvent { public int oldRow; public int oldCol; public _IGRDisplayViewerEvents_SelectionCellChangeEvent(int oldRow, int oldCol) { this.oldRow = oldRow; this.oldCol = oldCol; } } public delegate void _IGRDisplayViewerEvents_CustomButtonClickEventHandler(object sender, _IGRDisplayViewerEvents_CustomButtonClickEvent e); public class _IGRDisplayViewerEvents_CustomButtonClickEvent { public int btnID; public _IGRDisplayViewerEvents_CustomButtonClickEvent(int btnID) { this.btnID = btnID; } } [System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)] public class AxGRDisplayViewerEventMulticaster : grproLib._IGRDisplayViewerEvents { private AxGRDisplayViewer parent; public AxGRDisplayViewerEventMulticaster(AxGRDisplayViewer parent) { this.parent = parent; } public virtual void Click() { System.EventArgs clickEvent = new System.EventArgs(); this.parent.RaiseOnClickEvent(this.parent, clickEvent); } public virtual void DblClick() { System.EventArgs dblclickEvent = new System.EventArgs(); this.parent.RaiseOnDblClick(this.parent, dblclickEvent); } public virtual void KeyDown(grproLib.GRShiftStates shift, short key) { _IGRDisplayViewerEvents_KeyDownEvent keydownEvent = new _IGRDisplayViewerEvents_KeyDownEvent(shift, key); this.parent.RaiseOnKeyDownEvent(this.parent, keydownEvent); } public virtual void KeyPress(sbyte key) { _IGRDisplayViewerEvents_KeyPressEvent keypressEvent = new _IGRDisplayViewerEvents_KeyPressEvent(key); this.parent.RaiseOnKeyPressEvent(this.parent, keypressEvent); } public virtual void KeyUp(grproLib.GRShiftStates shift, short key) { _IGRDisplayViewerEvents_KeyUpEvent keyupEvent = new _IGRDisplayViewerEvents_KeyUpEvent(shift, key); this.parent.RaiseOnKeyUpEvent(this.parent, keyupEvent); } public virtual void MouseDown(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRDisplayViewerEvents_MouseDownEvent mousedownEvent = new _IGRDisplayViewerEvents_MouseDownEvent(button, shift, xPos, yPos); this.parent.RaiseOnMouseDownEvent(this.parent, mousedownEvent); } public virtual void MouseUp(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRDisplayViewerEvents_MouseUpEvent mouseupEvent = new _IGRDisplayViewerEvents_MouseUpEvent(button, shift, xPos, yPos); this.parent.RaiseOnMouseUpEvent(this.parent, mouseupEvent); } public virtual void MouseMove(grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRDisplayViewerEvents_MouseMoveEvent mousemoveEvent = new _IGRDisplayViewerEvents_MouseMoveEvent(shift, xPos, yPos); this.parent.RaiseOnMouseMoveEvent(this.parent, mousemoveEvent); } public virtual void ControlClick(grproLib.IGRControl pSender) { _IGRDisplayViewerEvents_ControlClickEvent controlclickEvent = new _IGRDisplayViewerEvents_ControlClickEvent(pSender); this.parent.RaiseOnControlClick(this.parent, controlclickEvent); } public virtual void ControlDblClick(grproLib.IGRControl pSender) { _IGRDisplayViewerEvents_ControlDblClickEvent controldblclickEvent = new _IGRDisplayViewerEvents_ControlDblClickEvent(pSender); this.parent.RaiseOnControlDblClick(this.parent, controldblclickEvent); } public virtual void SectionClick(grproLib.IGRSection pSender) { _IGRDisplayViewerEvents_SectionClickEvent sectionclickEvent = new _IGRDisplayViewerEvents_SectionClickEvent(pSender); this.parent.RaiseOnSectionClick(this.parent, sectionclickEvent); } public virtual void SectionDblClick(grproLib.IGRSection pSender) { _IGRDisplayViewerEvents_SectionDblClickEvent sectiondblclickEvent = new _IGRDisplayViewerEvents_SectionDblClickEvent(pSender); this.parent.RaiseOnSectionDblClick(this.parent, sectiondblclickEvent); } public virtual void ContentCellClick(grproLib.IGRColumnContentCell pSender) { _IGRDisplayViewerEvents_ContentCellClickEvent contentcellclickEvent = new _IGRDisplayViewerEvents_ContentCellClickEvent(pSender); this.parent.RaiseOnContentCellClick(this.parent, contentcellclickEvent); } public virtual void ContentCellDblClick(grproLib.IGRColumnContentCell pSender) { _IGRDisplayViewerEvents_ContentCellDblClickEvent contentcelldblclickEvent = new _IGRDisplayViewerEvents_ContentCellDblClickEvent(pSender); this.parent.RaiseOnContentCellDblClick(this.parent, contentcelldblclickEvent); } public virtual void TitleCellClick(grproLib.IGRColumnTitleCell pSender) { _IGRDisplayViewerEvents_TitleCellClickEvent titlecellclickEvent = new _IGRDisplayViewerEvents_TitleCellClickEvent(pSender); this.parent.RaiseOnTitleCellClick(this.parent, titlecellclickEvent); } public virtual void TitleCellDblClick(grproLib.IGRColumnTitleCell pSender) { _IGRDisplayViewerEvents_TitleCellDblClickEvent titlecelldblclickEvent = new _IGRDisplayViewerEvents_TitleCellDblClickEvent(pSender); this.parent.RaiseOnTitleCellDblClick(this.parent, titlecelldblclickEvent); } public virtual void ChartClickSeries(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { _IGRDisplayViewerEvents_ChartClickSeriesEvent chartclickseriesEvent = new _IGRDisplayViewerEvents_ChartClickSeriesEvent(pSender, seriesIndex, groupIndex); this.parent.RaiseOnChartClickSeries(this.parent, chartclickseriesEvent); } public virtual void ChartDblClickSeries(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { _IGRDisplayViewerEvents_ChartDblClickSeriesEvent chartdblclickseriesEvent = new _IGRDisplayViewerEvents_ChartDblClickSeriesEvent(pSender, seriesIndex, groupIndex); this.parent.RaiseOnChartDblClickSeries(this.parent, chartdblclickseriesEvent); } public virtual void ChartClickLegend(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { _IGRDisplayViewerEvents_ChartClickLegendEvent chartclicklegendEvent = new _IGRDisplayViewerEvents_ChartClickLegendEvent(pSender, seriesIndex, groupIndex); this.parent.RaiseOnChartClickLegend(this.parent, chartclicklegendEvent); } public virtual void ChartDblClickLegend(grproLib.IGRChart pSender, short seriesIndex, short groupIndex) { _IGRDisplayViewerEvents_ChartDblClickLegendEvent chartdblclicklegendEvent = new _IGRDisplayViewerEvents_ChartDblClickLegendEvent(pSender, seriesIndex, groupIndex); this.parent.RaiseOnChartDblClickLegend(this.parent, chartdblclicklegendEvent); } public virtual void ColumnLayoutChange() { System.EventArgs columnlayoutchangeEvent = new System.EventArgs(); this.parent.RaiseOnColumnLayoutChange(this.parent, columnlayoutchangeEvent); } public virtual void SelectionCellChange(int oldRow, int oldCol) { _IGRDisplayViewerEvents_SelectionCellChangeEvent selectioncellchangeEvent = new _IGRDisplayViewerEvents_SelectionCellChangeEvent(oldRow, oldCol); this.parent.RaiseOnSelectionCellChange(this.parent, selectioncellchangeEvent); } public virtual void StatusChange() { System.EventArgs statuschangeEvent = new System.EventArgs(); this.parent.RaiseOnStatusChange(this.parent, statuschangeEvent); } public virtual void CloseButtonClick() { System.EventArgs closebuttonclickEvent = new System.EventArgs(); this.parent.RaiseOnCloseButtonClick(this.parent, closebuttonclickEvent); } public virtual void CustomButtonClick(int btnID) { _IGRDisplayViewerEvents_CustomButtonClickEvent custombuttonclickEvent = new _IGRDisplayViewerEvents_CustomButtonClickEvent(btnID); this.parent.RaiseOnCustomButtonClick(this.parent, custombuttonclickEvent); } } [System.Windows.Forms.AxHost.ClsidAttribute("{e497f563-e14c-48ec-87fa-e9c514d3bc0c}")] [System.ComponentModel.DesignTimeVisibleAttribute(true)] public class AxGRPrintViewer : System.Windows.Forms.AxHost { private grproLib.IGRPrintViewer ocx; private AxGRPrintViewerEventMulticaster eventMulticaster; private System.Windows.Forms.AxHost.ConnectionPointCookie cookie; public AxGRPrintViewer() : base("e497f563-e14c-48ec-87fa-e9c514d3bc0c") { } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(1)] public virtual short CurPageNo { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurPageNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.CurPageNo; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CurPageNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.CurPageNo = value; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(2)] public virtual grproLib.GridppReport Report { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Report", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Report; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Report", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.Report = value; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(3)] public virtual grproLib.IGRBatchReport BatchReport { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.BatchReport; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchReport", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.BatchReport = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(4)] public virtual short 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.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(5)] public virtual bool Running { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Running", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Running; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(-504)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual grproLib.GRViewerBorderStyle BorderStyle { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BorderStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.BorderStyle; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BorderStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.BorderStyle = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(131)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short RowPages { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowPages", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.RowPages; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RowPages", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.RowPages = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(130)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short ColPages { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColPages", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ColPages; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ColPages", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ColPages = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(132)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual short ZoomPercent { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomPercent", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ZoomPercent; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomPercent", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ZoomPercent = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(133)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual grproLib.GRPrintViewMode ViewMode { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ViewMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ViewMode; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ViewMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ViewMode = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(134)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ShowRuler { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowRuler", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowRuler; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowRuler", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowRuler = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(135)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] 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; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(136)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual grproLib.GRPrintGenerateStyle GenerateStyle { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GenerateStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.GenerateStyle; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GenerateStyle", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.GenerateStyle = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(137)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ShowMarginCorner { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowMarginCorner", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowMarginCorner; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowMarginCorner", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowMarginCorner = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(162)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool Searchable { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Searchable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.Searchable; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Searchable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.Searchable = value; } } [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)] [System.Runtime.InteropServices.DispIdAttribute(143)] [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)] public virtual bool ShowBookmark { get { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowBookmark", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet); } return this.ocx.ShowBookmark; } set { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowBookmark", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet); } this.ocx.ShowBookmark = value; } } public event System.EventHandler ClickEvent; public event System.EventHandler DblClick; public event _IGRPrintViewerEvents_KeyDownEventHandler KeyDownEvent; public event _IGRPrintViewerEvents_KeyPressEventHandler KeyPressEvent; public event _IGRPrintViewerEvents_KeyUpEventHandler KeyUpEvent; public event _IGRPrintViewerEvents_MouseDownEventHandler MouseDownEvent; public event _IGRPrintViewerEvents_MouseUpEventHandler MouseUpEvent; public event _IGRPrintViewerEvents_MouseMoveEventHandler MouseMoveEvent; public event _IGRPrintViewerEvents_CurPageChangeEventHandler CurPageChange; public event System.EventHandler StatusChange; public event _IGRPrintViewerEvents_RulerClickEventHandler RulerClick; public event _IGRPrintViewerEvents_RulerDblClickEventHandler RulerDblClick; public event System.EventHandler PageClick; public event System.EventHandler PageDblClick; public event System.EventHandler CloseButtonClick; public event _IGRPrintViewerEvents_CustomButtonClickEventHandler CustomButtonClick; public virtual void FirstPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FirstPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.FirstPage(); } public virtual void LastPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LastPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.LastPage(); } public virtual void Print(bool showPrintDialog) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Print", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Print(showPrintDialog); } public virtual void Refresh() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Refresh", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Refresh(); } public virtual void Start() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Start", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Start(); } public virtual void Stop() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Stop", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.Stop(); } public virtual void ZoomToHeight() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomToHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ZoomToHeight(); } public virtual void ZoomIn() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomIn", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ZoomIn(); } public virtual void ZoomOut() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomOut", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ZoomOut(); } public virtual void ZoomToFit() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomToFit", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ZoomToFit(); } public virtual void ZoomToWidth() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ZoomToWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ZoomToWidth(); } public virtual void AddToolbarControl(grproLib.GRToolControlType controlType) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddToolbarControl", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.AddToolbarControl(controlType); } public virtual void AddToolbarCustomButton(int btnID, string btnFileName, string tooltipText) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddToolbarCustomButton", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.AddToolbarCustomButton(btnID, btnFileName, tooltipText); } public virtual void RemoveToolbarControl(grproLib.GRToolControlType controlType) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RemoveToolbarControl", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.RemoveToolbarControl(controlType); } public virtual void ResetToolbarContent() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResetToolbarContent", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.ResetToolbarContent(); } public virtual void UpdateToolbar() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateToolbar", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateToolbar(); } public virtual void LoadFromDocumentFile(string fileName) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadFromDocumentFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.LoadFromDocumentFile(fileName); } public virtual void QuickRefresh() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QuickRefresh", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.QuickRefresh(); } public virtual bool Search(string text, bool caseSensitive, bool wholeWord, bool toUp, bool fromSelection, bool showDlg, bool showMsg) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Search", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } bool returnValue = ((bool)(this.ocx.Search(text, caseSensitive, wholeWord, toUp, fromSelection, showDlg, showMsg))); return returnValue; } public virtual bool SearchAgain(bool showMsg) { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SearchAgain", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } bool returnValue = ((bool)(this.ocx.SearchAgain(showMsg))); return returnValue; } public virtual void UpdateLanguage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateLanguage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.UpdateLanguage(); } public virtual void NextPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("NextPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.NextPage(); } public virtual void PriorPage() { if ((this.ocx == null)) { throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PriorPage", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke); } this.ocx.PriorPage(); } protected override void CreateSink() { try { this.eventMulticaster = new AxGRPrintViewerEventMulticaster(this); this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(grproLib._IGRPrintViewerEvents)); } catch (System.Exception ) { } } protected override void DetachSink() { try { this.cookie.Disconnect(); } catch (System.Exception ) { } } protected override void AttachInterfaces() { try { this.ocx = ((grproLib.IGRPrintViewer)(this.GetOcx())); } catch (System.Exception ) { } } internal void RaiseOnClickEvent(object sender, System.EventArgs e) { if ((this.ClickEvent != null)) { this.ClickEvent(sender, e); } } internal void RaiseOnDblClick(object sender, System.EventArgs e) { if ((this.DblClick != null)) { this.DblClick(sender, e); } } internal void RaiseOnKeyDownEvent(object sender, _IGRPrintViewerEvents_KeyDownEvent e) { if ((this.KeyDownEvent != null)) { this.KeyDownEvent(sender, e); } } internal void RaiseOnKeyPressEvent(object sender, _IGRPrintViewerEvents_KeyPressEvent e) { if ((this.KeyPressEvent != null)) { this.KeyPressEvent(sender, e); } } internal void RaiseOnKeyUpEvent(object sender, _IGRPrintViewerEvents_KeyUpEvent e) { if ((this.KeyUpEvent != null)) { this.KeyUpEvent(sender, e); } } internal void RaiseOnMouseDownEvent(object sender, _IGRPrintViewerEvents_MouseDownEvent e) { if ((this.MouseDownEvent != null)) { this.MouseDownEvent(sender, e); } } internal void RaiseOnMouseUpEvent(object sender, _IGRPrintViewerEvents_MouseUpEvent e) { if ((this.MouseUpEvent != null)) { this.MouseUpEvent(sender, e); } } internal void RaiseOnMouseMoveEvent(object sender, _IGRPrintViewerEvents_MouseMoveEvent e) { if ((this.MouseMoveEvent != null)) { this.MouseMoveEvent(sender, e); } } internal void RaiseOnCurPageChange(object sender, _IGRPrintViewerEvents_CurPageChangeEvent e) { if ((this.CurPageChange != null)) { this.CurPageChange(sender, e); } } internal void RaiseOnStatusChange(object sender, System.EventArgs e) { if ((this.StatusChange != null)) { this.StatusChange(sender, e); } } internal void RaiseOnRulerClick(object sender, _IGRPrintViewerEvents_RulerClickEvent e) { if ((this.RulerClick != null)) { this.RulerClick(sender, e); } } internal void RaiseOnRulerDblClick(object sender, _IGRPrintViewerEvents_RulerDblClickEvent e) { if ((this.RulerDblClick != null)) { this.RulerDblClick(sender, e); } } internal void RaiseOnPageClick(object sender, System.EventArgs e) { if ((this.PageClick != null)) { this.PageClick(sender, e); } } internal void RaiseOnPageDblClick(object sender, System.EventArgs e) { if ((this.PageDblClick != null)) { this.PageDblClick(sender, e); } } internal void RaiseOnCloseButtonClick(object sender, System.EventArgs e) { if ((this.CloseButtonClick != null)) { this.CloseButtonClick(sender, e); } } internal void RaiseOnCustomButtonClick(object sender, _IGRPrintViewerEvents_CustomButtonClickEvent e) { if ((this.CustomButtonClick != null)) { this.CustomButtonClick(sender, e); } } } public delegate void _IGRPrintViewerEvents_KeyDownEventHandler(object sender, _IGRPrintViewerEvents_KeyDownEvent e); public class _IGRPrintViewerEvents_KeyDownEvent { public grproLib.GRShiftStates shift; public short key; public _IGRPrintViewerEvents_KeyDownEvent(grproLib.GRShiftStates shift, short key) { this.shift = shift; this.key = key; } } public delegate void _IGRPrintViewerEvents_KeyPressEventHandler(object sender, _IGRPrintViewerEvents_KeyPressEvent e); public class _IGRPrintViewerEvents_KeyPressEvent { public sbyte key; public _IGRPrintViewerEvents_KeyPressEvent(sbyte key) { this.key = key; } } public delegate void _IGRPrintViewerEvents_KeyUpEventHandler(object sender, _IGRPrintViewerEvents_KeyUpEvent e); public class _IGRPrintViewerEvents_KeyUpEvent { public grproLib.GRShiftStates shift; public short key; public _IGRPrintViewerEvents_KeyUpEvent(grproLib.GRShiftStates shift, short key) { this.shift = shift; this.key = key; } } public delegate void _IGRPrintViewerEvents_MouseDownEventHandler(object sender, _IGRPrintViewerEvents_MouseDownEvent e); public class _IGRPrintViewerEvents_MouseDownEvent { public grproLib.GRMouseButton button; public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRPrintViewerEvents_MouseDownEvent(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { this.button = button; this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRPrintViewerEvents_MouseUpEventHandler(object sender, _IGRPrintViewerEvents_MouseUpEvent e); public class _IGRPrintViewerEvents_MouseUpEvent { public grproLib.GRMouseButton button; public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRPrintViewerEvents_MouseUpEvent(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { this.button = button; this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRPrintViewerEvents_MouseMoveEventHandler(object sender, _IGRPrintViewerEvents_MouseMoveEvent e); public class _IGRPrintViewerEvents_MouseMoveEvent { public grproLib.GRShiftStates shift; public short xPos; public short yPos; public _IGRPrintViewerEvents_MouseMoveEvent(grproLib.GRShiftStates shift, short xPos, short yPos) { this.shift = shift; this.xPos = xPos; this.yPos = yPos; } } public delegate void _IGRPrintViewerEvents_CurPageChangeEventHandler(object sender, _IGRPrintViewerEvents_CurPageChangeEvent e); public class _IGRPrintViewerEvents_CurPageChangeEvent { public short newCurPageNo; public _IGRPrintViewerEvents_CurPageChangeEvent(short newCurPageNo) { this.newCurPageNo = newCurPageNo; } } public delegate void _IGRPrintViewerEvents_RulerClickEventHandler(object sender, _IGRPrintViewerEvents_RulerClickEvent e); public class _IGRPrintViewerEvents_RulerClickEvent { public bool isHorzRuler; public _IGRPrintViewerEvents_RulerClickEvent(bool isHorzRuler) { this.isHorzRuler = isHorzRuler; } } public delegate void _IGRPrintViewerEvents_RulerDblClickEventHandler(object sender, _IGRPrintViewerEvents_RulerDblClickEvent e); public class _IGRPrintViewerEvents_RulerDblClickEvent { public bool isHorzRuler; public _IGRPrintViewerEvents_RulerDblClickEvent(bool isHorzRuler) { this.isHorzRuler = isHorzRuler; } } public delegate void _IGRPrintViewerEvents_CustomButtonClickEventHandler(object sender, _IGRPrintViewerEvents_CustomButtonClickEvent e); public class _IGRPrintViewerEvents_CustomButtonClickEvent { public int btnID; public _IGRPrintViewerEvents_CustomButtonClickEvent(int btnID) { this.btnID = btnID; } } [System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)] public class AxGRPrintViewerEventMulticaster : grproLib._IGRPrintViewerEvents { private AxGRPrintViewer parent; public AxGRPrintViewerEventMulticaster(AxGRPrintViewer parent) { this.parent = parent; } public virtual void Click() { System.EventArgs clickEvent = new System.EventArgs(); this.parent.RaiseOnClickEvent(this.parent, clickEvent); } public virtual void DblClick() { System.EventArgs dblclickEvent = new System.EventArgs(); this.parent.RaiseOnDblClick(this.parent, dblclickEvent); } public virtual void KeyDown(grproLib.GRShiftStates shift, short key) { _IGRPrintViewerEvents_KeyDownEvent keydownEvent = new _IGRPrintViewerEvents_KeyDownEvent(shift, key); this.parent.RaiseOnKeyDownEvent(this.parent, keydownEvent); } public virtual void KeyPress(sbyte key) { _IGRPrintViewerEvents_KeyPressEvent keypressEvent = new _IGRPrintViewerEvents_KeyPressEvent(key); this.parent.RaiseOnKeyPressEvent(this.parent, keypressEvent); } public virtual void KeyUp(grproLib.GRShiftStates shift, short key) { _IGRPrintViewerEvents_KeyUpEvent keyupEvent = new _IGRPrintViewerEvents_KeyUpEvent(shift, key); this.parent.RaiseOnKeyUpEvent(this.parent, keyupEvent); } public virtual void MouseDown(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRPrintViewerEvents_MouseDownEvent mousedownEvent = new _IGRPrintViewerEvents_MouseDownEvent(button, shift, xPos, yPos); this.parent.RaiseOnMouseDownEvent(this.parent, mousedownEvent); } public virtual void MouseUp(grproLib.GRMouseButton button, grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRPrintViewerEvents_MouseUpEvent mouseupEvent = new _IGRPrintViewerEvents_MouseUpEvent(button, shift, xPos, yPos); this.parent.RaiseOnMouseUpEvent(this.parent, mouseupEvent); } public virtual void MouseMove(grproLib.GRShiftStates shift, short xPos, short yPos) { _IGRPrintViewerEvents_MouseMoveEvent mousemoveEvent = new _IGRPrintViewerEvents_MouseMoveEvent(shift, xPos, yPos); this.parent.RaiseOnMouseMoveEvent(this.parent, mousemoveEvent); } public virtual void CurPageChange(short newCurPageNo) { _IGRPrintViewerEvents_CurPageChangeEvent curpagechangeEvent = new _IGRPrintViewerEvents_CurPageChangeEvent(newCurPageNo); this.parent.RaiseOnCurPageChange(this.parent, curpagechangeEvent); } public virtual void StatusChange() { System.EventArgs statuschangeEvent = new System.EventArgs(); this.parent.RaiseOnStatusChange(this.parent, statuschangeEvent); } public virtual void RulerClick(bool isHorzRuler) { _IGRPrintViewerEvents_RulerClickEvent rulerclickEvent = new _IGRPrintViewerEvents_RulerClickEvent(isHorzRuler); this.parent.RaiseOnRulerClick(this.parent, rulerclickEvent); } public virtual void RulerDblClick(bool isHorzRuler) { _IGRPrintViewerEvents_RulerDblClickEvent rulerdblclickEvent = new _IGRPrintViewerEvents_RulerDblClickEvent(isHorzRuler); this.parent.RaiseOnRulerDblClick(this.parent, rulerdblclickEvent); } public virtual void PageClick() { System.EventArgs pageclickEvent = new System.EventArgs(); this.parent.RaiseOnPageClick(this.parent, pageclickEvent); } public virtual void PageDblClick() { System.EventArgs pagedblclickEvent = new System.EventArgs(); this.parent.RaiseOnPageDblClick(this.parent, pagedblclickEvent); } public virtual void CloseButtonClick() { System.EventArgs closebuttonclickEvent = new System.EventArgs(); this.parent.RaiseOnCloseButtonClick(this.parent, closebuttonclickEvent); } public virtual void CustomButtonClick(int btnID) { _IGRPrintViewerEvents_CustomButtonClickEvent custombuttonclickEvent = new _IGRPrintViewerEvents_CustomButtonClickEvent(btnID); this.parent.RaiseOnCustomButtonClick(this.parent, custombuttonclickEvent); } } }