//------------------------------------------------------------------------------
|
// <auto-generated>
|
// 此代码由工具生成。
|
// 运行时版本:4.0.30319.42000
|
//
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
// 重新生成代码,这些更改将会丢失。
|
// </auto-generated>
|
//------------------------------------------------------------------------------
|
|
[assembly: System.Reflection.AssemblyVersion("6.0.0.0")]
|
[assembly: System.Windows.Forms.AxHost.TypeLibraryTimeStamp("09/21/2015 09:55:14")]
|
|
namespace Axgregn6Lib {
|
|
|
[System.Windows.Forms.AxHost.ClsidAttribute("{1b5ea181-a38d-4f42-88b2-6af74cf6d6c0}")]
|
[System.ComponentModel.DesignTimeVisibleAttribute(true)]
|
[System.ComponentModel.DefaultEvent("ControlClick")]
|
public class AxGRDisplayViewer : System.Windows.Forms.AxHost {
|
|
private gregn6Lib.IGRDisplayViewer ocx;
|
|
private AxGRDisplayViewerEventMulticaster eventMulticaster;
|
|
private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
|
|
public AxGRDisplayViewer() :
|
base("1b5ea181-a38d-4f42-88b2-6af74cf6d6c0") {
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(-504)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual gregn6Lib.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 int 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 int 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 int 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 int 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(163)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual int 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(164)]
|
[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(165)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual bool GridCanShrink {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridCanShrink", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.GridCanShrink;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GridCanShrink", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.GridCanShrink = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(166)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual bool ResizeToFit {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResizeToFit", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.ResizeToFit;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ResizeToFit", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.ResizeToFit = 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;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(100)]
|
public virtual bool BatchGetRecord {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchGetRecord", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.BatchGetRecord;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchGetRecord", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.BatchGetRecord = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(101)]
|
public virtual int BatchWantRecords {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchWantRecords", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.BatchWantRecords;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchWantRecords", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.BatchWantRecords = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(102)]
|
public virtual int TotalRecord {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TotalRecord", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.TotalRecord;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TotalRecord", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.TotalRecord = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(103)]
|
public virtual bool BatchFinished {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchFinished", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.BatchFinished;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchFinished", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.BatchFinished = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(104)]
|
public virtual int BatchNo {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.BatchNo;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(105)]
|
public virtual int BatchStartRecNo {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("BatchStartRecNo", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.BatchStartRecNo;
|
}
|
}
|
|
[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(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(17)]
|
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(18)]
|
public virtual bool DefaultToolbarCommand {
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DefaultToolbarCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.DefaultToolbarCommand = value;
|
}
|
}
|
|
[System.ComponentModel.Browsable(false)]
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(1)]
|
public virtual gregn6Lib.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(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(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 int 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;
|
}
|
}
|
|
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 event _IGRDisplayViewerEvents_ToolbarCommandClickEventHandler ToolbarCommandClick;
|
|
public event System.EventHandler BatchFetchRecord;
|
|
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 gregn6Lib.IGRControl GetControlFromPos(int xPos, int yPos) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetControlFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
gregn6Lib.IGRControl returnValue = ((gregn6Lib.IGRControl)(this.ocx.GetControlFromPos(xPos, yPos)));
|
return returnValue;
|
}
|
|
public virtual gregn6Lib.IGRSection GetSectionFromPos(int xPos, int yPos) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetSectionFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
gregn6Lib.IGRSection returnValue = ((gregn6Lib.IGRSection)(this.ocx.GetSectionFromPos(xPos, yPos)));
|
return returnValue;
|
}
|
|
public virtual gregn6Lib.IGRColumnContentCell GetContentCellFromPos(int xPos, int yPos) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetContentCellFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
gregn6Lib.IGRColumnContentCell returnValue = ((gregn6Lib.IGRColumnContentCell)(this.ocx.GetContentCellFromPos(xPos, yPos)));
|
return returnValue;
|
}
|
|
public virtual gregn6Lib.IGRColumnTitleCell GetTitleCellFromPos(int xPos, int yPos) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetTitleCellFromPos", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
gregn6Lib.IGRColumnTitleCell returnValue = ((gregn6Lib.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(gregn6Lib.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();
|
}
|
|
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(int 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 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 ShowColumnVisibleDlg() {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowColumnVisibleDlg", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.ShowColumnVisibleDlg();
|
}
|
|
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 UpdateUI() {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateUI", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.UpdateUI();
|
}
|
|
public virtual void AddToolbarControl(gregn6Lib.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(gregn6Lib.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 DoToolbarCommand(gregn6Lib.GRToolControlType2 controlType) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DoToolbarCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.DoToolbarCommand(controlType);
|
}
|
|
public virtual bool GetOptionValue(gregn6Lib.GRDisplayViewerOption option) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetOptionValue", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
bool returnValue = ((bool)(this.ocx.GetOptionValue(option)));
|
return returnValue;
|
}
|
|
public virtual void SetOptionValue(gregn6Lib.GRDisplayViewerOption option, bool newVal) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetOptionValue", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.SetOptionValue(option, newVal);
|
}
|
|
protected override void CreateSink() {
|
try {
|
this.eventMulticaster = new AxGRDisplayViewerEventMulticaster(this);
|
this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(gregn6Lib._IGRDisplayViewerEvents));
|
}
|
catch (System.Exception ) {
|
}
|
}
|
|
protected override void DetachSink() {
|
try {
|
this.cookie.Disconnect();
|
}
|
catch (System.Exception ) {
|
}
|
}
|
|
protected override void AttachInterfaces() {
|
try {
|
this.ocx = ((gregn6Lib.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);
|
}
|
}
|
|
internal void RaiseOnToolbarCommandClick(object sender, _IGRDisplayViewerEvents_ToolbarCommandClickEvent e) {
|
if ((this.ToolbarCommandClick != null)) {
|
this.ToolbarCommandClick(sender, e);
|
}
|
}
|
|
internal void RaiseOnBatchFetchRecord(object sender, System.EventArgs e) {
|
if ((this.BatchFetchRecord != null)) {
|
this.BatchFetchRecord(sender, e);
|
}
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_KeyDownEventHandler(object sender, _IGRDisplayViewerEvents_KeyDownEvent e);
|
|
public class _IGRDisplayViewerEvents_KeyDownEvent {
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int key;
|
|
public _IGRDisplayViewerEvents_KeyDownEvent(gregn6Lib.GRShiftStates shift, int 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 gregn6Lib.GRShiftStates shift;
|
|
public int key;
|
|
public _IGRDisplayViewerEvents_KeyUpEvent(gregn6Lib.GRShiftStates shift, int key) {
|
this.shift = shift;
|
this.key = key;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_MouseDownEventHandler(object sender, _IGRDisplayViewerEvents_MouseDownEvent e);
|
|
public class _IGRDisplayViewerEvents_MouseDownEvent {
|
|
public gregn6Lib.GRMouseButton button;
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRDisplayViewerEvents_MouseDownEvent(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int 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 gregn6Lib.GRMouseButton button;
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRDisplayViewerEvents_MouseUpEvent(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int 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 gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRDisplayViewerEvents_MouseMoveEvent(gregn6Lib.GRShiftStates shift, int xPos, int 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 gregn6Lib.IGRControl pSender;
|
|
public _IGRDisplayViewerEvents_ControlClickEvent(gregn6Lib.IGRControl pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_ControlDblClickEventHandler(object sender, _IGRDisplayViewerEvents_ControlDblClickEvent e);
|
|
public class _IGRDisplayViewerEvents_ControlDblClickEvent {
|
|
public gregn6Lib.IGRControl pSender;
|
|
public _IGRDisplayViewerEvents_ControlDblClickEvent(gregn6Lib.IGRControl pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_SectionClickEventHandler(object sender, _IGRDisplayViewerEvents_SectionClickEvent e);
|
|
public class _IGRDisplayViewerEvents_SectionClickEvent {
|
|
public gregn6Lib.IGRSection pSender;
|
|
public _IGRDisplayViewerEvents_SectionClickEvent(gregn6Lib.IGRSection pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_SectionDblClickEventHandler(object sender, _IGRDisplayViewerEvents_SectionDblClickEvent e);
|
|
public class _IGRDisplayViewerEvents_SectionDblClickEvent {
|
|
public gregn6Lib.IGRSection pSender;
|
|
public _IGRDisplayViewerEvents_SectionDblClickEvent(gregn6Lib.IGRSection pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_ContentCellClickEventHandler(object sender, _IGRDisplayViewerEvents_ContentCellClickEvent e);
|
|
public class _IGRDisplayViewerEvents_ContentCellClickEvent {
|
|
public gregn6Lib.IGRColumnContentCell pSender;
|
|
public _IGRDisplayViewerEvents_ContentCellClickEvent(gregn6Lib.IGRColumnContentCell pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_ContentCellDblClickEventHandler(object sender, _IGRDisplayViewerEvents_ContentCellDblClickEvent e);
|
|
public class _IGRDisplayViewerEvents_ContentCellDblClickEvent {
|
|
public gregn6Lib.IGRColumnContentCell pSender;
|
|
public _IGRDisplayViewerEvents_ContentCellDblClickEvent(gregn6Lib.IGRColumnContentCell pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_TitleCellClickEventHandler(object sender, _IGRDisplayViewerEvents_TitleCellClickEvent e);
|
|
public class _IGRDisplayViewerEvents_TitleCellClickEvent {
|
|
public gregn6Lib.IGRColumnTitleCell pSender;
|
|
public _IGRDisplayViewerEvents_TitleCellClickEvent(gregn6Lib.IGRColumnTitleCell pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_TitleCellDblClickEventHandler(object sender, _IGRDisplayViewerEvents_TitleCellDblClickEvent e);
|
|
public class _IGRDisplayViewerEvents_TitleCellDblClickEvent {
|
|
public gregn6Lib.IGRColumnTitleCell pSender;
|
|
public _IGRDisplayViewerEvents_TitleCellDblClickEvent(gregn6Lib.IGRColumnTitleCell pSender) {
|
this.pSender = pSender;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_ChartClickSeriesEventHandler(object sender, _IGRDisplayViewerEvents_ChartClickSeriesEvent e);
|
|
public class _IGRDisplayViewerEvents_ChartClickSeriesEvent {
|
|
public gregn6Lib.IGRChart pSender;
|
|
public int seriesIndex;
|
|
public int groupIndex;
|
|
public _IGRDisplayViewerEvents_ChartClickSeriesEvent(gregn6Lib.IGRChart pSender, int seriesIndex, int 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 gregn6Lib.IGRChart pSender;
|
|
public int seriesIndex;
|
|
public int groupIndex;
|
|
public _IGRDisplayViewerEvents_ChartDblClickSeriesEvent(gregn6Lib.IGRChart pSender, int seriesIndex, int 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 gregn6Lib.IGRChart pSender;
|
|
public int seriesIndex;
|
|
public int groupIndex;
|
|
public _IGRDisplayViewerEvents_ChartClickLegendEvent(gregn6Lib.IGRChart pSender, int seriesIndex, int 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 gregn6Lib.IGRChart pSender;
|
|
public int seriesIndex;
|
|
public int groupIndex;
|
|
public _IGRDisplayViewerEvents_ChartDblClickLegendEvent(gregn6Lib.IGRChart pSender, int seriesIndex, int 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;
|
}
|
}
|
|
public delegate void _IGRDisplayViewerEvents_ToolbarCommandClickEventHandler(object sender, _IGRDisplayViewerEvents_ToolbarCommandClickEvent e);
|
|
public class _IGRDisplayViewerEvents_ToolbarCommandClickEvent {
|
|
public gregn6Lib.GRToolControlType2 controlType;
|
|
public _IGRDisplayViewerEvents_ToolbarCommandClickEvent(gregn6Lib.GRToolControlType2 controlType) {
|
this.controlType = controlType;
|
}
|
}
|
|
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
|
public class AxGRDisplayViewerEventMulticaster : gregn6Lib._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(gregn6Lib.GRShiftStates shift, int 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(gregn6Lib.GRShiftStates shift, int key) {
|
_IGRDisplayViewerEvents_KeyUpEvent keyupEvent = new _IGRDisplayViewerEvents_KeyUpEvent(shift, key);
|
this.parent.RaiseOnKeyUpEvent(this.parent, keyupEvent);
|
}
|
|
public virtual void MouseDown(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRDisplayViewerEvents_MouseDownEvent mousedownEvent = new _IGRDisplayViewerEvents_MouseDownEvent(button, shift, xPos, yPos);
|
this.parent.RaiseOnMouseDownEvent(this.parent, mousedownEvent);
|
}
|
|
public virtual void MouseUp(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRDisplayViewerEvents_MouseUpEvent mouseupEvent = new _IGRDisplayViewerEvents_MouseUpEvent(button, shift, xPos, yPos);
|
this.parent.RaiseOnMouseUpEvent(this.parent, mouseupEvent);
|
}
|
|
public virtual void MouseMove(gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRDisplayViewerEvents_MouseMoveEvent mousemoveEvent = new _IGRDisplayViewerEvents_MouseMoveEvent(shift, xPos, yPos);
|
this.parent.RaiseOnMouseMoveEvent(this.parent, mousemoveEvent);
|
}
|
|
public virtual void ControlClick(gregn6Lib.IGRControl pSender) {
|
_IGRDisplayViewerEvents_ControlClickEvent controlclickEvent = new _IGRDisplayViewerEvents_ControlClickEvent(pSender);
|
this.parent.RaiseOnControlClick(this.parent, controlclickEvent);
|
}
|
|
public virtual void ControlDblClick(gregn6Lib.IGRControl pSender) {
|
_IGRDisplayViewerEvents_ControlDblClickEvent controldblclickEvent = new _IGRDisplayViewerEvents_ControlDblClickEvent(pSender);
|
this.parent.RaiseOnControlDblClick(this.parent, controldblclickEvent);
|
}
|
|
public virtual void SectionClick(gregn6Lib.IGRSection pSender) {
|
_IGRDisplayViewerEvents_SectionClickEvent sectionclickEvent = new _IGRDisplayViewerEvents_SectionClickEvent(pSender);
|
this.parent.RaiseOnSectionClick(this.parent, sectionclickEvent);
|
}
|
|
public virtual void SectionDblClick(gregn6Lib.IGRSection pSender) {
|
_IGRDisplayViewerEvents_SectionDblClickEvent sectiondblclickEvent = new _IGRDisplayViewerEvents_SectionDblClickEvent(pSender);
|
this.parent.RaiseOnSectionDblClick(this.parent, sectiondblclickEvent);
|
}
|
|
public virtual void ContentCellClick(gregn6Lib.IGRColumnContentCell pSender) {
|
_IGRDisplayViewerEvents_ContentCellClickEvent contentcellclickEvent = new _IGRDisplayViewerEvents_ContentCellClickEvent(pSender);
|
this.parent.RaiseOnContentCellClick(this.parent, contentcellclickEvent);
|
}
|
|
public virtual void ContentCellDblClick(gregn6Lib.IGRColumnContentCell pSender) {
|
_IGRDisplayViewerEvents_ContentCellDblClickEvent contentcelldblclickEvent = new _IGRDisplayViewerEvents_ContentCellDblClickEvent(pSender);
|
this.parent.RaiseOnContentCellDblClick(this.parent, contentcelldblclickEvent);
|
}
|
|
public virtual void TitleCellClick(gregn6Lib.IGRColumnTitleCell pSender) {
|
_IGRDisplayViewerEvents_TitleCellClickEvent titlecellclickEvent = new _IGRDisplayViewerEvents_TitleCellClickEvent(pSender);
|
this.parent.RaiseOnTitleCellClick(this.parent, titlecellclickEvent);
|
}
|
|
public virtual void TitleCellDblClick(gregn6Lib.IGRColumnTitleCell pSender) {
|
_IGRDisplayViewerEvents_TitleCellDblClickEvent titlecelldblclickEvent = new _IGRDisplayViewerEvents_TitleCellDblClickEvent(pSender);
|
this.parent.RaiseOnTitleCellDblClick(this.parent, titlecelldblclickEvent);
|
}
|
|
public virtual void ChartClickSeries(gregn6Lib.IGRChart pSender, int seriesIndex, int groupIndex) {
|
_IGRDisplayViewerEvents_ChartClickSeriesEvent chartclickseriesEvent = new _IGRDisplayViewerEvents_ChartClickSeriesEvent(pSender, seriesIndex, groupIndex);
|
this.parent.RaiseOnChartClickSeries(this.parent, chartclickseriesEvent);
|
}
|
|
public virtual void ChartDblClickSeries(gregn6Lib.IGRChart pSender, int seriesIndex, int groupIndex) {
|
_IGRDisplayViewerEvents_ChartDblClickSeriesEvent chartdblclickseriesEvent = new _IGRDisplayViewerEvents_ChartDblClickSeriesEvent(pSender, seriesIndex, groupIndex);
|
this.parent.RaiseOnChartDblClickSeries(this.parent, chartdblclickseriesEvent);
|
}
|
|
public virtual void ChartClickLegend(gregn6Lib.IGRChart pSender, int seriesIndex, int groupIndex) {
|
_IGRDisplayViewerEvents_ChartClickLegendEvent chartclicklegendEvent = new _IGRDisplayViewerEvents_ChartClickLegendEvent(pSender, seriesIndex, groupIndex);
|
this.parent.RaiseOnChartClickLegend(this.parent, chartclicklegendEvent);
|
}
|
|
public virtual void ChartDblClickLegend(gregn6Lib.IGRChart pSender, int seriesIndex, int 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);
|
}
|
|
public virtual void ToolbarCommandClick(gregn6Lib.GRToolControlType2 controlType) {
|
_IGRDisplayViewerEvents_ToolbarCommandClickEvent toolbarcommandclickEvent = new _IGRDisplayViewerEvents_ToolbarCommandClickEvent(controlType);
|
this.parent.RaiseOnToolbarCommandClick(this.parent, toolbarcommandclickEvent);
|
}
|
|
public virtual void BatchFetchRecord() {
|
System.EventArgs batchfetchrecordEvent = new System.EventArgs();
|
this.parent.RaiseOnBatchFetchRecord(this.parent, batchfetchrecordEvent);
|
}
|
}
|
|
[System.Windows.Forms.AxHost.ClsidAttribute("{44cbb5de-5afb-4c3d-8f3f-0f70ca5372ad}")]
|
[System.ComponentModel.DesignTimeVisibleAttribute(true)]
|
public class AxGRPrintViewer : System.Windows.Forms.AxHost {
|
|
private gregn6Lib.IGRPrintViewer ocx;
|
|
private AxGRPrintViewerEventMulticaster eventMulticaster;
|
|
private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
|
|
public AxGRPrintViewer() :
|
base("44cbb5de-5afb-4c3d-8f3f-0f70ca5372ad") {
|
}
|
|
[System.ComponentModel.Browsable(false)]
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(2)]
|
public virtual gregn6Lib.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(1)]
|
public virtual int 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(4)]
|
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.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.Browsable(false)]
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(6)]
|
public virtual bool DefaultToolbarCommand {
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DefaultToolbarCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.DefaultToolbarCommand = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(-504)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual gregn6Lib.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(145)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual gregn6Lib.GRPreviewEditMode CtlEditMode {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlEditMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.EditMode;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlEditMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.EditMode = value;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(131)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual int 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 int 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 int 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 gregn6Lib.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 gregn6Lib.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;
|
}
|
}
|
|
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
|
[System.Runtime.InteropServices.DispIdAttribute(146)]
|
[System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
|
public virtual bool ShowPrintDlg {
|
get {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPrintDlg", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
|
}
|
return this.ocx.ShowPrintDlg;
|
}
|
set {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowPrintDlg", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
|
}
|
this.ocx.ShowPrintDlg = 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 event _IGRPrintViewerEvents_ToolbarCommandClickEventHandler ToolbarCommandClick;
|
|
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 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(gregn6Lib.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(gregn6Lib.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 bool LoadFromDocumentFile(string fileName) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LoadFromDocumentFile", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
bool returnValue = ((bool)(this.ocx.LoadFromDocumentFile(fileName)));
|
return returnValue;
|
}
|
|
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 DoToolbarCommand(gregn6Lib.GRToolControlType controlType) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("DoToolbarCommand", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.DoToolbarCommand(controlType);
|
}
|
|
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 UpdateUI() {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("UpdateUI", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.UpdateUI();
|
}
|
|
public virtual bool GetOptionValue(gregn6Lib.GRPrintViewerOption option) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetOptionValue", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
bool returnValue = ((bool)(this.ocx.GetOptionValue(option)));
|
return returnValue;
|
}
|
|
public virtual void SetOptionValue(gregn6Lib.GRPrintViewerOption option, bool newVal) {
|
if ((this.ocx == null)) {
|
throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("SetOptionValue", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
|
}
|
this.ocx.SetOptionValue(option, newVal);
|
}
|
|
protected override void CreateSink() {
|
try {
|
this.eventMulticaster = new AxGRPrintViewerEventMulticaster(this);
|
this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(gregn6Lib._IGRPrintViewerEvents));
|
}
|
catch (System.Exception ) {
|
}
|
}
|
|
protected override void DetachSink() {
|
try {
|
this.cookie.Disconnect();
|
}
|
catch (System.Exception ) {
|
}
|
}
|
|
protected override void AttachInterfaces() {
|
try {
|
this.ocx = ((gregn6Lib.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);
|
}
|
}
|
|
internal void RaiseOnToolbarCommandClick(object sender, _IGRPrintViewerEvents_ToolbarCommandClickEvent e) {
|
if ((this.ToolbarCommandClick != null)) {
|
this.ToolbarCommandClick(sender, e);
|
}
|
}
|
}
|
|
public delegate void _IGRPrintViewerEvents_KeyDownEventHandler(object sender, _IGRPrintViewerEvents_KeyDownEvent e);
|
|
public class _IGRPrintViewerEvents_KeyDownEvent {
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int key;
|
|
public _IGRPrintViewerEvents_KeyDownEvent(gregn6Lib.GRShiftStates shift, int 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 gregn6Lib.GRShiftStates shift;
|
|
public int key;
|
|
public _IGRPrintViewerEvents_KeyUpEvent(gregn6Lib.GRShiftStates shift, int key) {
|
this.shift = shift;
|
this.key = key;
|
}
|
}
|
|
public delegate void _IGRPrintViewerEvents_MouseDownEventHandler(object sender, _IGRPrintViewerEvents_MouseDownEvent e);
|
|
public class _IGRPrintViewerEvents_MouseDownEvent {
|
|
public gregn6Lib.GRMouseButton button;
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRPrintViewerEvents_MouseDownEvent(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int 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 gregn6Lib.GRMouseButton button;
|
|
public gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRPrintViewerEvents_MouseUpEvent(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int 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 gregn6Lib.GRShiftStates shift;
|
|
public int xPos;
|
|
public int yPos;
|
|
public _IGRPrintViewerEvents_MouseMoveEvent(gregn6Lib.GRShiftStates shift, int xPos, int 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 int newCurPageNo;
|
|
public _IGRPrintViewerEvents_CurPageChangeEvent(int 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;
|
}
|
}
|
|
public delegate void _IGRPrintViewerEvents_ToolbarCommandClickEventHandler(object sender, _IGRPrintViewerEvents_ToolbarCommandClickEvent e);
|
|
public class _IGRPrintViewerEvents_ToolbarCommandClickEvent {
|
|
public gregn6Lib.GRToolControlType controlType;
|
|
public _IGRPrintViewerEvents_ToolbarCommandClickEvent(gregn6Lib.GRToolControlType controlType) {
|
this.controlType = controlType;
|
}
|
}
|
|
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
|
public class AxGRPrintViewerEventMulticaster : gregn6Lib._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(gregn6Lib.GRShiftStates shift, int 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(gregn6Lib.GRShiftStates shift, int key) {
|
_IGRPrintViewerEvents_KeyUpEvent keyupEvent = new _IGRPrintViewerEvents_KeyUpEvent(shift, key);
|
this.parent.RaiseOnKeyUpEvent(this.parent, keyupEvent);
|
}
|
|
public virtual void MouseDown(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRPrintViewerEvents_MouseDownEvent mousedownEvent = new _IGRPrintViewerEvents_MouseDownEvent(button, shift, xPos, yPos);
|
this.parent.RaiseOnMouseDownEvent(this.parent, mousedownEvent);
|
}
|
|
public virtual void MouseUp(gregn6Lib.GRMouseButton button, gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRPrintViewerEvents_MouseUpEvent mouseupEvent = new _IGRPrintViewerEvents_MouseUpEvent(button, shift, xPos, yPos);
|
this.parent.RaiseOnMouseUpEvent(this.parent, mouseupEvent);
|
}
|
|
public virtual void MouseMove(gregn6Lib.GRShiftStates shift, int xPos, int yPos) {
|
_IGRPrintViewerEvents_MouseMoveEvent mousemoveEvent = new _IGRPrintViewerEvents_MouseMoveEvent(shift, xPos, yPos);
|
this.parent.RaiseOnMouseMoveEvent(this.parent, mousemoveEvent);
|
}
|
|
public virtual void CurPageChange(int 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);
|
}
|
|
public virtual void ToolbarCommandClick(gregn6Lib.GRToolControlType controlType) {
|
_IGRPrintViewerEvents_ToolbarCommandClickEvent toolbarcommandclickEvent = new _IGRPrintViewerEvents_ToolbarCommandClickEvent(controlType);
|
this.parent.RaiseOnToolbarCommandClick(this.parent, toolbarcommandclickEvent);
|
}
|
}
|
}
|