#endregion // AxHost.StateConverter Class
#endregion // AxHost Subclasses
+ private int flags;
+ private Guid clsid;
+
#region Protected Constructors
- protected AxHost (string clsid)
+
+ protected AxHost (string clsid) : this(clsid, 0)
{
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+
}
protected AxHost (string clsid, int flags)
{
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ this.clsid = new Guid(clsid);
+ this.flags = flags;
}
#endregion // Public Instance Properties
[EditorBrowsable (EditorBrowsableState.Never)]
public override Color BackColor {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.BackColor;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.BackColor = value;
}
}
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
public override Image BackgroundImage {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.BackgroundImage;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.BackgroundImage = value;
}
}
[DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
public override ImageLayout BackgroundImageLayout {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.BackgroundImageLayout;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.BackgroundImageLayout = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public override ContextMenu ContextMenu {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.ContextMenu;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.ContextMenu = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public override Cursor Cursor {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.Cursor;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.Cursor = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public new virtual bool Enabled {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.Enabled;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.Enabled = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public override Font Font {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.Font;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.Font = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public override Color ForeColor {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.ForeColor;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.ForeColor = value;
}
}
[EditorBrowsable (EditorBrowsableState.Never)]
public new ImeMode ImeMode {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.ImeMode;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.ImeMode = value;
}
}
[Localizable (true)]
public new virtual bool RightToLeft {
get {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ return base.RightToLeft == System.Windows.Forms.RightToLeft.Yes;
}
set {
- throw new NotImplementedException("COM/ActiveX support is not implemented");
+ base.RightToLeft = (value ? System.Windows.Forms.RightToLeft.Yes :
+ System.Windows.Forms.RightToLeft.No);
}
}