1 // Permission is hereby granted, free of charge, to any person obtaining
2 // a copy of this software and associated documentation files (the
3 // "Software"), to deal in the Software without restriction, including
4 // without limitation the rights to use, copy, modify, merge, publish,
5 // distribute, sublicense, and/or sell copies of the Software, and to
6 // permit persons to whom the Software is furnished to do so, subject to
7 // the following conditions:
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
12 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
13 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
14 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
15 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
16 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
17 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 // Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
23 // Peter Bartok <pbartok@novell.com>
30 using System.ComponentModel;
33 using System.Runtime.InteropServices;
34 using System.Runtime.Serialization;
36 namespace System.Windows.Forms {
37 [MonoTODO("Possibly implement this for Win32; find a way for Linux and Mac")]
38 [DefaultEvent("Enter")]
39 [Designer("System.Windows.Forms.Design.AxHostDesigner, " + Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
40 [DesignTimeVisible(false)]
42 public abstract class AxHost : Control, ISupportInitialize, ICustomTypeDescriptor {
43 #region AxHost Subclasses
44 #region AxHost.ActiveXInvokeKind Enum
45 public enum ActiveXInvokeKind {
50 #endregion // AxHost.ActiveXInvokeKind Enum
52 #region AxHost.AxComponentEditor Class
53 public class AxComponentEditor : System.Windows.Forms.Design.WindowsFormsComponentEditor {
54 public AxComponentEditor() {
55 throw new NotImplementedException("COM/ActiveX support is not implemented");
58 public override bool EditComponent(ITypeDescriptorContext context, object obj, IWin32Window parent) {
59 throw new NotImplementedException("COM/ActiveX support is not implemented");
62 #endregion // AxHost.AxComponentEditor Class
64 #region AxHost.ClsidAttribute
65 [AttributeUsage(AttributeTargets.Class,Inherited=false)]
66 public sealed class ClsidAttribute : Attribute {
69 public ClsidAttribute (string clsid) {
79 #endregion AxHost.ClsidAttribute
81 #region AxHost.ConnectionPointCookie
83 public class ConnectionPointCookie {
84 public ConnectionPointCookie(object source, object sink, Type eventInterface) {
85 throw new NotImplementedException("COM/ActiveX support is not implemented");
88 public void Disconnect() {
89 throw new NotImplementedException("COM/ActiveX support is not implemented");
92 ~ConnectionPointCookie() {
93 throw new NotImplementedException("COM/ActiveX support is not implemented");
96 #endregion // AxHost.ConnectionPointCookie
98 #region AxHost.InvalidActiveXStateException Class
99 public class InvalidActiveXStateException : Exception {
100 public InvalidActiveXStateException(string name, ActiveXInvokeKind kind) {
101 throw new NotImplementedException("COM/ActiveX support is not implemented");
104 public override string ToString() {
105 throw new NotImplementedException("COM/ActiveX support is not implemented");
108 #endregion // AxHost.InvalidActiveXStateException Class
110 #region AxHost.State Class
112 [TypeConverter("System.ComponentModel.TypeConverter, " + Consts.AssemblySystem)]
113 public class State : ISerializable {
114 public State(Stream ms, int storageType, bool manualUpdate, string licKey) {
115 //throw new NotImplementedException("COM/ActiveX support is not implemented");
118 private State(SerializationInfo info, StreamingContext context) {
121 void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context) {
122 //throw new NotImplementedException("COM/ActiveX support is not implemented");
125 #endregion // AxHost.State Class
127 #region AxHost.TypeLibraryTimeStampAttribute Class
128 [AttributeUsage(AttributeTargets.Assembly, Inherited=false)]
129 public sealed class TypeLibraryTimeStampAttribute : Attribute {
130 public TypeLibraryTimeStampAttribute(string timestamp) {
131 throw new NotImplementedException("COM/ActiveX support is not implemented");
134 public DateTime Value {
136 throw new NotImplementedException("COM/ActiveX support is not implemented");
140 #endregion // AxHost.TypeLibraryTimeStampAttribute Class
142 #region AxHost.StateConverter Class
143 public class StateConverter : System.ComponentModel.TypeConverter {
144 public StateConverter() {
145 throw new NotImplementedException("COM/ActiveX support is not implemented");
148 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
149 throw new NotImplementedException("COM/ActiveX support is not implemented");
152 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) {
153 throw new NotImplementedException("COM/ActiveX support is not implemented");
156 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) {
157 throw new NotImplementedException("COM/ActiveX support is not implemented");
160 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) {
161 throw new NotImplementedException("COM/ActiveX support is not implemented");
164 #endregion // AxHost.StateConverter Class
165 #endregion // AxHost Subclasses
169 #region Protected Constructors
170 protected AxHost(string clsid) {
172 throw new NotImplementedException("COM/ActiveX support is not implemented");
175 protected AxHost(string clsid, int flags) {
176 throw new NotImplementedException("COM/ActiveX support is not implemented");
178 #endregion // Public Instance Properties
180 #region Public Instance Properties
182 [EditorBrowsable(EditorBrowsableState.Never)]
183 public override Color BackColor {
185 throw new NotImplementedException("COM/ActiveX support is not implemented");
189 throw new NotImplementedException("COM/ActiveX support is not implemented");
194 [EditorBrowsable(EditorBrowsableState.Never)]
195 public override Image BackgroundImage {
197 throw new NotImplementedException("COM/ActiveX support is not implemented");
201 throw new NotImplementedException("COM/ActiveX support is not implemented");
206 [EditorBrowsable(EditorBrowsableState.Advanced)]
207 public ContainerControl ContainingControl {
209 throw new NotImplementedException("COM/ActiveX support is not implemented");
213 throw new NotImplementedException("COM/ActiveX support is not implemented");
218 [EditorBrowsable(EditorBrowsableState.Never)]
219 public override ContextMenu ContextMenu {
221 throw new NotImplementedException("COM/ActiveX support is not implemented");
225 throw new NotImplementedException("COM/ActiveX support is not implemented");
230 [EditorBrowsable(EditorBrowsableState.Never)]
231 public override Cursor Cursor {
233 throw new NotImplementedException("COM/ActiveX support is not implemented");
237 throw new NotImplementedException("COM/ActiveX support is not implemented");
242 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
243 [EditorBrowsable(EditorBrowsableState.Advanced)]
244 public bool EditMode {
246 throw new NotImplementedException("COM/ActiveX support is not implemented");
251 [EditorBrowsable(EditorBrowsableState.Never)]
252 public new virtual bool Enabled {
254 throw new NotImplementedException("COM/ActiveX support is not implemented");
258 throw new NotImplementedException("COM/ActiveX support is not implemented");
263 [EditorBrowsable(EditorBrowsableState.Never)]
264 public override Font Font {
266 throw new NotImplementedException("COM/ActiveX support is not implemented");
270 throw new NotImplementedException("COM/ActiveX support is not implemented");
275 [EditorBrowsable(EditorBrowsableState.Never)]
276 public override Color ForeColor {
278 throw new NotImplementedException("COM/ActiveX support is not implemented");
282 throw new NotImplementedException("COM/ActiveX support is not implemented");
287 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
288 [EditorBrowsable(EditorBrowsableState.Advanced)]
289 public bool HasAboutBox {
291 throw new NotImplementedException("COM/ActiveX support is not implemented");
297 [EditorBrowsable(EditorBrowsableState.Advanced)]
298 [RefreshProperties(RefreshProperties.All)]
299 public AxHost.State OcxState {
301 throw new NotImplementedException("COM/ActiveX support is not implemented");
305 throw new NotImplementedException("COM/ActiveX support is not implemented");
310 [EditorBrowsable(EditorBrowsableState.Never)]
312 public new virtual bool RightToLeft {
314 throw new NotImplementedException("COM/ActiveX support is not implemented");
318 throw new NotImplementedException("COM/ActiveX support is not implemented");
322 public override ISite Site {
324 throw new NotImplementedException("COM/ActiveX support is not implemented");
329 [EditorBrowsable(EditorBrowsableState.Never)]
330 public override string Text {
339 #endregion // Protected Constructors
341 #region Protected Instance Properties
342 protected override CreateParams CreateParams {
344 throw new NotImplementedException("COM/ActiveX support is not implemented");
348 protected override Size DefaultSize {
350 return new Size (75, 23);
353 #endregion // Protected Instance Properties
355 #region Protected Static Methods
356 [CLSCompliant(false)]
357 [EditorBrowsable(EditorBrowsableState.Advanced)]
358 protected static Color GetColorFromOleColor(uint color){
359 throw new NotImplementedException("COM/ActiveX support is not implemented");
362 [EditorBrowsable(EditorBrowsableState.Advanced)]
363 protected static Font GetFontFromIFont(object font){
364 throw new NotImplementedException("COM/ActiveX support is not implemented");
367 [EditorBrowsable(EditorBrowsableState.Advanced)]
368 protected static Font GetFontFromIFontDisp(object font){
369 throw new NotImplementedException("COM/ActiveX support is not implemented");
372 [EditorBrowsable(EditorBrowsableState.Advanced)]
373 protected static object GetIFontDispFromFont(Font font){
374 throw new NotImplementedException("COM/ActiveX support is not implemented");
377 [EditorBrowsable(EditorBrowsableState.Advanced)]
378 protected static object GetIFontFromFont(Font font){
379 throw new NotImplementedException("COM/ActiveX support is not implemented");
382 [EditorBrowsable(EditorBrowsableState.Advanced)]
383 protected static object GetIPictureDispFromPicture(Image image){
384 throw new NotImplementedException("COM/ActiveX support is not implemented");
387 [EditorBrowsable(EditorBrowsableState.Advanced)]
388 protected static object GetIPictureFromCursor(Cursor cursor){
389 throw new NotImplementedException("COM/ActiveX support is not implemented");
392 [EditorBrowsable(EditorBrowsableState.Advanced)]
393 protected static object GetIPictureFromPicture(Image image){
394 throw new NotImplementedException("COM/ActiveX support is not implemented");
397 [EditorBrowsable(EditorBrowsableState.Advanced)]
398 protected static double GetOADateFromTime(DateTime time){
399 throw new NotImplementedException("COM/ActiveX support is not implemented");
402 [CLSCompliant(false)]
403 [EditorBrowsable(EditorBrowsableState.Advanced)]
404 protected static uint GetOleColorFromColor(Color color){
405 throw new NotImplementedException("COM/ActiveX support is not implemented");
408 [EditorBrowsable(EditorBrowsableState.Advanced)]
409 protected static Image GetPictureFromIPicture(object picture){
410 throw new NotImplementedException("COM/ActiveX support is not implemented");
413 [EditorBrowsable(EditorBrowsableState.Advanced)]
414 protected static Image GetPictureFromIPictureDisp(object picture){
415 throw new NotImplementedException("COM/ActiveX support is not implemented");
418 [EditorBrowsable(EditorBrowsableState.Advanced)]
419 protected static DateTime GetTimeFromOADate(double date){
420 throw new NotImplementedException("COM/ActiveX support is not implemented");
422 #endregion // Protected Static Methods
424 #region Public Instance Methods
425 [EditorBrowsable(EditorBrowsableState.Advanced)]
426 public void BeginInit() {
427 throw new NotImplementedException("COM/ActiveX support is not implemented");
430 public void DoVerb(int verb){
431 throw new NotImplementedException("COM/ActiveX support is not implemented");
434 [EditorBrowsable(EditorBrowsableState.Advanced)]
435 public virtual void EndInit() {
436 throw new NotImplementedException("COM/ActiveX support is not implemented");
439 [EditorBrowsable(EditorBrowsableState.Advanced)]
440 public object GetOcx() {
441 throw new NotImplementedException("COM/ActiveX support is not implemented");
444 public bool HasPropertyPages() {
445 throw new NotImplementedException("COM/ActiveX support is not implemented");
448 [EditorBrowsable(EditorBrowsableState.Advanced)]
449 public void InvokeEditMode(){
450 throw new NotImplementedException("COM/ActiveX support is not implemented");
453 [EditorBrowsable(EditorBrowsableState.Advanced)]
454 public void MakeDirty(){
455 throw new NotImplementedException("COM/ActiveX support is not implemented");
458 public override bool PreProcessMessage(ref Message msg) {
459 throw new NotImplementedException("COM/ActiveX support is not implemented");
462 public void ShowAboutBox() {
463 throw new NotImplementedException("COM/ActiveX support is not implemented");
466 public void ShowPropertyPages() {
467 throw new NotImplementedException("COM/ActiveX support is not implemented");
470 public void ShowPropertyPages(Control control) {
471 throw new NotImplementedException("COM/ActiveX support is not implemented");
473 #endregion // Public Instance Methods
475 #region Protected Instance Methods
476 protected virtual void AttachInterfaces() {
477 throw new NotImplementedException("COM/ActiveX support is not implemented");
480 protected override void CreateHandle() {
481 throw new NotImplementedException("COM/ActiveX support is not implemented");
484 [EditorBrowsable(EditorBrowsableState.Advanced)]
485 protected virtual void CreateSink(){
486 throw new NotImplementedException("COM/ActiveX support is not implemented");
489 protected override void DestroyHandle() {
490 throw new NotImplementedException("COM/ActiveX support is not implemented");
493 [EditorBrowsable(EditorBrowsableState.Advanced)]
494 protected virtual void DetachSink(){
495 throw new NotImplementedException("COM/ActiveX support is not implemented");
498 protected override void Dispose(bool disposing) {
499 throw new NotImplementedException("COM/ActiveX support is not implemented");
502 protected override bool IsInputChar(char charCode) {
503 throw new NotImplementedException("COM/ActiveX support is not implemented");
506 protected override void OnBackColorChanged(EventArgs e) {
507 throw new NotImplementedException("COM/ActiveX support is not implemented");
510 protected override void OnFontChanged(EventArgs e) {
511 throw new NotImplementedException("COM/ActiveX support is not implemented");
514 protected override void OnForeColorChanged(EventArgs e) {
515 throw new NotImplementedException("COM/ActiveX support is not implemented");
518 protected override void OnHandleCreated(EventArgs e) {
519 throw new NotImplementedException("COM/ActiveX support is not implemented");
522 protected virtual void OnInPlaceActive() {
523 throw new NotImplementedException("COM/ActiveX support is not implemented");
526 [EditorBrowsable(EditorBrowsableState.Advanced)]
527 protected override void OnLostFocus(EventArgs e) {
528 throw new NotImplementedException("COM/ActiveX support is not implemented");
531 protected override bool ProcessDialogKey(Keys keyData) {
532 throw new NotImplementedException("COM/ActiveX support is not implemented");
535 protected override bool ProcessMnemonic(char charCode) {
536 throw new NotImplementedException("COM/ActiveX support is not implemented");
539 [EditorBrowsable(EditorBrowsableState.Advanced)]
540 protected bool PropsValid(){
541 throw new NotImplementedException("COM/ActiveX support is not implemented");
544 [EditorBrowsable(EditorBrowsableState.Advanced)]
545 protected void RaiseOnMouseDown(short button, short shift, int x, int y){
546 throw new NotImplementedException("COM/ActiveX support is not implemented");
549 [EditorBrowsable(EditorBrowsableState.Advanced)]
550 protected void RaiseOnMouseDown(short button, short shift, float x, float y){
551 throw new NotImplementedException("COM/ActiveX support is not implemented");
554 [EditorBrowsable(EditorBrowsableState.Advanced)]
555 protected void RaiseOnMouseDown(object o1, object o2, object o3, object o4){
556 throw new NotImplementedException("COM/ActiveX support is not implemented");
559 [EditorBrowsable(EditorBrowsableState.Advanced)]
560 protected void RaiseOnMouseMove(short button, short shift, int x, int y){
561 throw new NotImplementedException("COM/ActiveX support is not implemented");
564 [EditorBrowsable(EditorBrowsableState.Advanced)]
565 protected void RaiseOnMouseMove(short button, short shift, float x, float y){
566 throw new NotImplementedException("COM/ActiveX support is not implemented");
569 [EditorBrowsable(EditorBrowsableState.Advanced)]
570 protected void RaiseOnMouseMove(object o1, object o2, object o3, object o4){
571 throw new NotImplementedException("COM/ActiveX support is not implemented");
574 [EditorBrowsable(EditorBrowsableState.Advanced)]
575 protected void RaiseOnMouseUp(short button, short shift, int x, int y){
576 throw new NotImplementedException("COM/ActiveX support is not implemented");
579 [EditorBrowsable(EditorBrowsableState.Advanced)]
580 protected void RaiseOnMouseUp(short button, short shift, float x, float y){
581 throw new NotImplementedException("COM/ActiveX support is not implemented");
584 [EditorBrowsable(EditorBrowsableState.Advanced)]
585 protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4){
586 throw new NotImplementedException("COM/ActiveX support is not implemented");
589 protected void SetAboutBoxDelegate(AxHost.AboutBoxDelegate d) {
590 throw new NotImplementedException("COM/ActiveX support is not implemented");
593 protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified) {
594 throw new NotImplementedException("COM/ActiveX support is not implemented");
597 protected override void SetVisibleCore(bool value) {
598 throw new NotImplementedException("COM/ActiveX support is not implemented");
601 protected override void WndProc(ref Message m) {
602 throw new NotImplementedException("COM/ActiveX support is not implemented");
604 #endregion // Protected Instance Methods
606 #region Private Instance Methods
607 [EditorBrowsable(EditorBrowsableState.Never)]
608 private bool ShouldSerializeContainingControl() {
609 throw new NotImplementedException("COM/ActiveX support is not implemented");
611 #endregion // Protected Instance Methods
615 [EditorBrowsable(EditorBrowsableState.Never)]
616 public event EventHandler BackColorChanged;
619 [EditorBrowsable(EditorBrowsableState.Never)]
620 public event EventHandler BackgroundImageChanged;
623 [EditorBrowsable(EditorBrowsableState.Never)]
624 public event EventHandler BindingContextChanged;
627 [EditorBrowsable(EditorBrowsableState.Never)]
628 public event UICuesEventHandler ChangeUICues;
631 [EditorBrowsable(EditorBrowsableState.Never)]
632 public event EventHandler Click;
635 [EditorBrowsable(EditorBrowsableState.Never)]
636 public event EventHandler ContextMenuChanged;
639 [EditorBrowsable(EditorBrowsableState.Never)]
640 public event EventHandler CursorChanged;
643 [EditorBrowsable(EditorBrowsableState.Never)]
644 public event EventHandler DoubleClick;
647 [EditorBrowsable(EditorBrowsableState.Never)]
648 public event DragEventHandler DragDrop;
651 [EditorBrowsable(EditorBrowsableState.Never)]
652 public event DragEventHandler DragEnter;
655 [EditorBrowsable(EditorBrowsableState.Never)]
656 public event EventHandler DragLeave;
659 [EditorBrowsable(EditorBrowsableState.Never)]
660 public event DragEventHandler DragOver;
663 [EditorBrowsable(EditorBrowsableState.Never)]
664 public event EventHandler EnabledChanged;
667 [EditorBrowsable(EditorBrowsableState.Never)]
668 public event EventHandler FontChanged;
671 [EditorBrowsable(EditorBrowsableState.Never)]
672 public event EventHandler ForeColorChanged;
675 [EditorBrowsable(EditorBrowsableState.Never)]
676 public event GiveFeedbackEventHandler GiveFeedback;
679 [EditorBrowsable(EditorBrowsableState.Never)]
680 public event HelpEventHandler HelpRequested;
683 [EditorBrowsable(EditorBrowsableState.Never)]
684 public event EventHandler ImeModeChanged;
687 [EditorBrowsable(EditorBrowsableState.Never)]
688 public event KeyEventHandler KeyDown;
691 [EditorBrowsable(EditorBrowsableState.Never)]
692 public event KeyPressEventHandler KeyPress;
695 [EditorBrowsable(EditorBrowsableState.Never)]
696 public event KeyEventHandler KeyUp;
699 [EditorBrowsable(EditorBrowsableState.Never)]
700 public event LayoutEventHandler Layout;
703 [EditorBrowsable(EditorBrowsableState.Never)]
704 public event MouseEventHandler MouseDown;
707 [EditorBrowsable(EditorBrowsableState.Never)]
708 public event EventHandler MouseEnter;
711 [EditorBrowsable(EditorBrowsableState.Never)]
712 public event EventHandler MouseHover;
715 [EditorBrowsable(EditorBrowsableState.Never)]
716 public event EventHandler MouseLeave;
719 [EditorBrowsable(EditorBrowsableState.Never)]
720 public event MouseEventHandler MouseMove;
723 [EditorBrowsable(EditorBrowsableState.Never)]
724 public event MouseEventHandler MouseUp;
727 [EditorBrowsable(EditorBrowsableState.Never)]
728 public event MouseEventHandler MouseWheel;
731 [EditorBrowsable(EditorBrowsableState.Never)]
732 public event PaintEventHandler Paint;
735 [EditorBrowsable(EditorBrowsableState.Never)]
736 public event QueryAccessibilityHelpEventHandler QueryAccessibilityHelp;
739 [EditorBrowsable(EditorBrowsableState.Never)]
740 public event QueryContinueDragEventHandler QueryContinueDrag;
743 [EditorBrowsable(EditorBrowsableState.Never)]
744 public event EventHandler RightToLeftChanged;
747 [EditorBrowsable(EditorBrowsableState.Never)]
748 public event EventHandler StyleChanged;
751 [EditorBrowsable(EditorBrowsableState.Never)]
752 public event EventHandler TabIndexChanged;
755 [EditorBrowsable(EditorBrowsableState.Never)]
756 public event EventHandler TabStopChanged;
759 [EditorBrowsable(EditorBrowsableState.Never)]
760 public event EventHandler TextChanged;
765 protected delegate void AboutBoxDelegate();
766 #endregion // Delegates
769 [EditorBrowsable(EditorBrowsableState.Advanced)]
770 AttributeCollection ICustomTypeDescriptor.GetAttributes() {
771 throw new NotImplementedException("COM/ActiveX support is not implemented");
774 [EditorBrowsable(EditorBrowsableState.Advanced)]
775 string ICustomTypeDescriptor.GetClassName() {
776 throw new NotImplementedException("COM/ActiveX support is not implemented");
779 [EditorBrowsable(EditorBrowsableState.Advanced)]
780 string ICustomTypeDescriptor.GetComponentName() {
781 throw new NotImplementedException("COM/ActiveX support is not implemented");
784 [EditorBrowsable(EditorBrowsableState.Advanced)]
785 TypeConverter ICustomTypeDescriptor.GetConverter() {
786 throw new NotImplementedException("COM/ActiveX support is not implemented");
789 [EditorBrowsable(EditorBrowsableState.Advanced)]
790 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() {
791 throw new NotImplementedException("COM/ActiveX support is not implemented");
794 [EditorBrowsable(EditorBrowsableState.Advanced)]
795 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() {
796 throw new NotImplementedException("COM/ActiveX support is not implemented");
799 [EditorBrowsable(EditorBrowsableState.Advanced)]
800 object ICustomTypeDescriptor.GetEditor(Type editorBaseType) {
801 throw new NotImplementedException("COM/ActiveX support is not implemented");
804 [EditorBrowsable(EditorBrowsableState.Advanced)]
805 EventDescriptorCollection ICustomTypeDescriptor.GetEvents() {
806 throw new NotImplementedException("COM/ActiveX support is not implemented");
809 [EditorBrowsable(EditorBrowsableState.Advanced)]
810 EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
811 throw new NotImplementedException("COM/ActiveX support is not implemented");
814 [EditorBrowsable(EditorBrowsableState.Advanced)]
815 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() {
816 throw new NotImplementedException("COM/ActiveX support is not implemented");
819 [EditorBrowsable(EditorBrowsableState.Advanced)]
820 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) {
821 throw new NotImplementedException("COM/ActiveX support is not implemented");
824 [EditorBrowsable(EditorBrowsableState.Advanced)]
825 object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
826 throw new NotImplementedException("COM/ActiveX support is not implemented");
828 #endregion // Interfaces