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 void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context) {
119 throw new NotImplementedException("COM/ActiveX support is not implemented");
122 #endregion // AxHost.State Class
124 #region AxHost.TypeLibraryTimeStampAttribute Class
125 [AttributeUsage(AttributeTargets.Assembly, Inherited=false)]
126 public sealed class TypeLibraryTimeStampAttribute : Attribute {
127 public TypeLibraryTimeStampAttribute(string timestamp) {
128 throw new NotImplementedException("COM/ActiveX support is not implemented");
131 public DateTime Value {
133 throw new NotImplementedException("COM/ActiveX support is not implemented");
137 #endregion // AxHost.TypeLibraryTimeStampAttribute Class
139 #region AxHost.StateConverter Class
140 public class StateConverter : System.ComponentModel.TypeConverter {
141 public StateConverter() {
142 throw new NotImplementedException("COM/ActiveX support is not implemented");
145 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
146 throw new NotImplementedException("COM/ActiveX support is not implemented");
149 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) {
150 throw new NotImplementedException("COM/ActiveX support is not implemented");
153 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) {
154 throw new NotImplementedException("COM/ActiveX support is not implemented");
157 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) {
158 throw new NotImplementedException("COM/ActiveX support is not implemented");
161 #endregion // AxHost.StateConverter Class
162 #endregion // AxHost Subclasses
166 #region Protected Constructors
167 protected AxHost(string clsid) {
169 throw new NotImplementedException("COM/ActiveX support is not implemented");
172 protected AxHost(string clsid, int flags) {
173 throw new NotImplementedException("COM/ActiveX support is not implemented");
175 #endregion // Public Instance Properties
177 #region Public Instance Properties
179 [EditorBrowsable(EditorBrowsableState.Never)]
180 public override Color BackColor {
182 throw new NotImplementedException("COM/ActiveX support is not implemented");
186 throw new NotImplementedException("COM/ActiveX support is not implemented");
191 [EditorBrowsable(EditorBrowsableState.Never)]
192 public override Image BackgroundImage {
194 throw new NotImplementedException("COM/ActiveX support is not implemented");
198 throw new NotImplementedException("COM/ActiveX support is not implemented");
203 [EditorBrowsable(EditorBrowsableState.Advanced)]
204 public ContainerControl ContainingControl {
206 throw new NotImplementedException("COM/ActiveX support is not implemented");
210 throw new NotImplementedException("COM/ActiveX support is not implemented");
215 [EditorBrowsable(EditorBrowsableState.Never)]
216 public override ContextMenu ContextMenu {
218 throw new NotImplementedException("COM/ActiveX support is not implemented");
222 throw new NotImplementedException("COM/ActiveX support is not implemented");
227 [EditorBrowsable(EditorBrowsableState.Never)]
228 public override Cursor Cursor {
230 throw new NotImplementedException("COM/ActiveX support is not implemented");
234 throw new NotImplementedException("COM/ActiveX support is not implemented");
239 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
240 [EditorBrowsable(EditorBrowsableState.Advanced)]
241 public bool EditMode {
243 throw new NotImplementedException("COM/ActiveX support is not implemented");
248 [EditorBrowsable(EditorBrowsableState.Never)]
249 public new virtual bool Enabled {
251 throw new NotImplementedException("COM/ActiveX support is not implemented");
255 throw new NotImplementedException("COM/ActiveX support is not implemented");
260 [EditorBrowsable(EditorBrowsableState.Never)]
261 public override Font Font {
263 throw new NotImplementedException("COM/ActiveX support is not implemented");
267 throw new NotImplementedException("COM/ActiveX support is not implemented");
272 [EditorBrowsable(EditorBrowsableState.Never)]
273 public override Color ForeColor {
275 throw new NotImplementedException("COM/ActiveX support is not implemented");
279 throw new NotImplementedException("COM/ActiveX support is not implemented");
284 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
285 [EditorBrowsable(EditorBrowsableState.Advanced)]
286 public bool HasAboutBox {
288 throw new NotImplementedException("COM/ActiveX support is not implemented");
294 [EditorBrowsable(EditorBrowsableState.Advanced)]
295 [RefreshProperties(RefreshProperties.All)]
296 public AxHost.State OcxState {
298 throw new NotImplementedException("COM/ActiveX support is not implemented");
302 throw new NotImplementedException("COM/ActiveX support is not implemented");
307 [EditorBrowsable(EditorBrowsableState.Never)]
309 public new virtual bool RightToLeft {
311 throw new NotImplementedException("COM/ActiveX support is not implemented");
315 throw new NotImplementedException("COM/ActiveX support is not implemented");
319 public override ISite Site {
321 throw new NotImplementedException("COM/ActiveX support is not implemented");
326 [EditorBrowsable(EditorBrowsableState.Never)]
327 public override string Text {
336 #endregion // Protected Constructors
338 #region Protected Instance Properties
339 protected override CreateParams CreateParams {
341 throw new NotImplementedException("COM/ActiveX support is not implemented");
345 protected override Size DefaultSize {
347 return new Size (75, 23);
350 #endregion // Protected Instance Properties
352 #region Protected Static Methods
353 [CLSCompliant(false)]
354 [EditorBrowsable(EditorBrowsableState.Advanced)]
355 protected static Color GetColorFromOleColor(uint color){
356 throw new NotImplementedException("COM/ActiveX support is not implemented");
359 [EditorBrowsable(EditorBrowsableState.Advanced)]
360 protected static Font GetFontFromIFont(object font){
361 throw new NotImplementedException("COM/ActiveX support is not implemented");
364 [EditorBrowsable(EditorBrowsableState.Advanced)]
365 protected static Font GetFontFromIFontDisp(object font){
366 throw new NotImplementedException("COM/ActiveX support is not implemented");
369 [EditorBrowsable(EditorBrowsableState.Advanced)]
370 protected static object GetIFontDispFromFont(Font font){
371 throw new NotImplementedException("COM/ActiveX support is not implemented");
374 [EditorBrowsable(EditorBrowsableState.Advanced)]
375 protected static object GetIFontFromFont(Font font){
376 throw new NotImplementedException("COM/ActiveX support is not implemented");
379 [EditorBrowsable(EditorBrowsableState.Advanced)]
380 protected static object GetIPictureDispFromPicture(Image image){
381 throw new NotImplementedException("COM/ActiveX support is not implemented");
384 [EditorBrowsable(EditorBrowsableState.Advanced)]
385 protected static object GetIPictureFromCursor(Cursor cursor){
386 throw new NotImplementedException("COM/ActiveX support is not implemented");
389 [EditorBrowsable(EditorBrowsableState.Advanced)]
390 protected static object GetIPictureFromPicture(Image image){
391 throw new NotImplementedException("COM/ActiveX support is not implemented");
394 [EditorBrowsable(EditorBrowsableState.Advanced)]
395 protected static double GetOADateFromTime(DateTime time){
396 throw new NotImplementedException("COM/ActiveX support is not implemented");
399 [CLSCompliant(false)]
400 [EditorBrowsable(EditorBrowsableState.Advanced)]
401 protected static uint GetOleColorFromColor(Color color){
402 throw new NotImplementedException("COM/ActiveX support is not implemented");
405 [EditorBrowsable(EditorBrowsableState.Advanced)]
406 protected static Image GetPictureFromIPicture(object picture){
407 throw new NotImplementedException("COM/ActiveX support is not implemented");
410 [EditorBrowsable(EditorBrowsableState.Advanced)]
411 protected static Image GetPictureFromIPictureDisp(object picture){
412 throw new NotImplementedException("COM/ActiveX support is not implemented");
415 [EditorBrowsable(EditorBrowsableState.Advanced)]
416 protected static DateTime GetTimeFromOADate(double date){
417 throw new NotImplementedException("COM/ActiveX support is not implemented");
419 #endregion // Protected Static Methods
421 #region Public Instance Methods
422 [EditorBrowsable(EditorBrowsableState.Advanced)]
423 public void BeginInit() {
424 throw new NotImplementedException("COM/ActiveX support is not implemented");
427 public void DoVerb(int verb){
428 throw new NotImplementedException("COM/ActiveX support is not implemented");
431 [EditorBrowsable(EditorBrowsableState.Advanced)]
432 public virtual void EndInit() {
433 throw new NotImplementedException("COM/ActiveX support is not implemented");
436 [EditorBrowsable(EditorBrowsableState.Advanced)]
437 public object GetOcx() {
438 throw new NotImplementedException("COM/ActiveX support is not implemented");
441 public bool HasPropertyPages() {
442 throw new NotImplementedException("COM/ActiveX support is not implemented");
445 [EditorBrowsable(EditorBrowsableState.Advanced)]
446 public void InvokeEditMode(){
447 throw new NotImplementedException("COM/ActiveX support is not implemented");
450 [EditorBrowsable(EditorBrowsableState.Advanced)]
451 public void MakeDirty(){
452 throw new NotImplementedException("COM/ActiveX support is not implemented");
455 public override bool PreProcessMessage(ref Message msg) {
456 throw new NotImplementedException("COM/ActiveX support is not implemented");
459 public void ShowAboutBox() {
460 throw new NotImplementedException("COM/ActiveX support is not implemented");
463 public void ShowPropertyPages() {
464 throw new NotImplementedException("COM/ActiveX support is not implemented");
467 public void ShowPropertyPages(Control control) {
468 throw new NotImplementedException("COM/ActiveX support is not implemented");
470 #endregion // Public Instance Methods
472 #region Protected Instance Methods
473 protected virtual void AttachInterfaces() {
474 throw new NotImplementedException("COM/ActiveX support is not implemented");
477 protected override void CreateHandle() {
478 throw new NotImplementedException("COM/ActiveX support is not implemented");
481 [EditorBrowsable(EditorBrowsableState.Advanced)]
482 protected virtual void CreateSink(){
483 throw new NotImplementedException("COM/ActiveX support is not implemented");
486 protected override void DestroyHandle() {
487 throw new NotImplementedException("COM/ActiveX support is not implemented");
490 [EditorBrowsable(EditorBrowsableState.Advanced)]
491 protected virtual void DetachSink(){
492 throw new NotImplementedException("COM/ActiveX support is not implemented");
495 protected override void Dispose(bool disposing) {
496 throw new NotImplementedException("COM/ActiveX support is not implemented");
499 protected override bool IsInputChar(char charCode) {
500 throw new NotImplementedException("COM/ActiveX support is not implemented");
503 protected override void OnBackColorChanged(EventArgs e) {
504 throw new NotImplementedException("COM/ActiveX support is not implemented");
507 protected override void OnFontChanged(EventArgs e) {
508 throw new NotImplementedException("COM/ActiveX support is not implemented");
511 protected override void OnForeColorChanged(EventArgs e) {
512 throw new NotImplementedException("COM/ActiveX support is not implemented");
515 protected override void OnHandleCreated(EventArgs e) {
516 throw new NotImplementedException("COM/ActiveX support is not implemented");
519 protected virtual void OnInPlaceActive() {
520 throw new NotImplementedException("COM/ActiveX support is not implemented");
523 [EditorBrowsable(EditorBrowsableState.Advanced)]
524 protected override void OnLostFocus(EventArgs e) {
525 throw new NotImplementedException("COM/ActiveX support is not implemented");
528 protected override bool ProcessDialogKey(Keys keyData) {
529 throw new NotImplementedException("COM/ActiveX support is not implemented");
532 protected override bool ProcessMnemonic(char charCode) {
533 throw new NotImplementedException("COM/ActiveX support is not implemented");
536 [EditorBrowsable(EditorBrowsableState.Advanced)]
537 protected bool PropsValid(){
538 throw new NotImplementedException("COM/ActiveX support is not implemented");
541 [EditorBrowsable(EditorBrowsableState.Advanced)]
542 protected void RaiseOnMouseDown(short button, short shift, int x, int y){
543 throw new NotImplementedException("COM/ActiveX support is not implemented");
546 [EditorBrowsable(EditorBrowsableState.Advanced)]
547 protected void RaiseOnMouseDown(short button, short shift, float x, float y){
548 throw new NotImplementedException("COM/ActiveX support is not implemented");
551 [EditorBrowsable(EditorBrowsableState.Advanced)]
552 protected void RaiseOnMouseDown(object o1, object o2, object o3, object o4){
553 throw new NotImplementedException("COM/ActiveX support is not implemented");
556 [EditorBrowsable(EditorBrowsableState.Advanced)]
557 protected void RaiseOnMouseMove(short button, short shift, int x, int y){
558 throw new NotImplementedException("COM/ActiveX support is not implemented");
561 [EditorBrowsable(EditorBrowsableState.Advanced)]
562 protected void RaiseOnMouseMove(short button, short shift, float x, float y){
563 throw new NotImplementedException("COM/ActiveX support is not implemented");
566 [EditorBrowsable(EditorBrowsableState.Advanced)]
567 protected void RaiseOnMouseMove(object o1, object o2, object o3, object o4){
568 throw new NotImplementedException("COM/ActiveX support is not implemented");
571 [EditorBrowsable(EditorBrowsableState.Advanced)]
572 protected void RaiseOnMouseUp(short button, short shift, int x, int y){
573 throw new NotImplementedException("COM/ActiveX support is not implemented");
576 [EditorBrowsable(EditorBrowsableState.Advanced)]
577 protected void RaiseOnMouseUp(short button, short shift, float x, float y){
578 throw new NotImplementedException("COM/ActiveX support is not implemented");
581 [EditorBrowsable(EditorBrowsableState.Advanced)]
582 protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4){
583 throw new NotImplementedException("COM/ActiveX support is not implemented");
586 protected void SetAboutBoxDelegate(AxHost.AboutBoxDelegate d) {
587 throw new NotImplementedException("COM/ActiveX support is not implemented");
590 protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified) {
591 throw new NotImplementedException("COM/ActiveX support is not implemented");
594 protected override void SetVisibleCore(bool value) {
595 throw new NotImplementedException("COM/ActiveX support is not implemented");
598 protected override void WndProc(ref Message m) {
599 throw new NotImplementedException("COM/ActiveX support is not implemented");
601 #endregion // Protected Instance Methods
603 #region Private Instance Methods
604 [EditorBrowsable(EditorBrowsableState.Never)]
605 private bool ShouldSerializeContainingControl() {
606 throw new NotImplementedException("COM/ActiveX support is not implemented");
608 #endregion // Protected Instance Methods
612 [EditorBrowsable(EditorBrowsableState.Never)]
613 public event EventHandler BackColorChanged;
616 [EditorBrowsable(EditorBrowsableState.Never)]
617 public event EventHandler BackgroundImageChanged;
620 [EditorBrowsable(EditorBrowsableState.Never)]
621 public event EventHandler BindingContextChanged;
624 [EditorBrowsable(EditorBrowsableState.Never)]
625 public event UICuesEventHandler ChangeUICues;
628 [EditorBrowsable(EditorBrowsableState.Never)]
629 public event EventHandler Click;
632 [EditorBrowsable(EditorBrowsableState.Never)]
633 public event EventHandler ContextMenuChanged;
636 [EditorBrowsable(EditorBrowsableState.Never)]
637 public event EventHandler CursorChanged;
640 [EditorBrowsable(EditorBrowsableState.Never)]
641 public event EventHandler DoubleClick;
644 [EditorBrowsable(EditorBrowsableState.Never)]
645 public event DragEventHandler DragDrop;
648 [EditorBrowsable(EditorBrowsableState.Never)]
649 public event DragEventHandler DragEnter;
652 [EditorBrowsable(EditorBrowsableState.Never)]
653 public event EventHandler DragLeave;
656 [EditorBrowsable(EditorBrowsableState.Never)]
657 public event DragEventHandler DragOver;
660 [EditorBrowsable(EditorBrowsableState.Never)]
661 public event EventHandler EnabledChanged;
664 [EditorBrowsable(EditorBrowsableState.Never)]
665 public event EventHandler FontChanged;
668 [EditorBrowsable(EditorBrowsableState.Never)]
669 public event EventHandler ForeColorChanged;
672 [EditorBrowsable(EditorBrowsableState.Never)]
673 public event GiveFeedbackEventHandler GiveFeedback;
676 [EditorBrowsable(EditorBrowsableState.Never)]
677 public event HelpEventHandler HelpRequested;
680 [EditorBrowsable(EditorBrowsableState.Never)]
681 public event EventHandler ImeModeChanged;
684 [EditorBrowsable(EditorBrowsableState.Never)]
685 public event KeyEventHandler KeyDown;
688 [EditorBrowsable(EditorBrowsableState.Never)]
689 public event KeyPressEventHandler KeyPress;
692 [EditorBrowsable(EditorBrowsableState.Never)]
693 public event KeyEventHandler KeyUp;
696 [EditorBrowsable(EditorBrowsableState.Never)]
697 public event LayoutEventHandler Layout;
700 [EditorBrowsable(EditorBrowsableState.Never)]
701 public event MouseEventHandler MouseDown;
704 [EditorBrowsable(EditorBrowsableState.Never)]
705 public event EventHandler MouseEnter;
708 [EditorBrowsable(EditorBrowsableState.Never)]
709 public event EventHandler MouseHover;
712 [EditorBrowsable(EditorBrowsableState.Never)]
713 public event EventHandler MouseLeave;
716 [EditorBrowsable(EditorBrowsableState.Never)]
717 public event MouseEventHandler MouseMove;
720 [EditorBrowsable(EditorBrowsableState.Never)]
721 public event MouseEventHandler MouseUp;
724 [EditorBrowsable(EditorBrowsableState.Never)]
725 public event MouseEventHandler MouseWheel;
728 [EditorBrowsable(EditorBrowsableState.Never)]
729 public event PaintEventHandler Paint;
732 [EditorBrowsable(EditorBrowsableState.Never)]
733 public event QueryAccessibilityHelpEventHandler QueryAccessibilityHelp;
736 [EditorBrowsable(EditorBrowsableState.Never)]
737 public event QueryContinueDragEventHandler QueryContinueDrag;
740 [EditorBrowsable(EditorBrowsableState.Never)]
741 public event EventHandler RightToLeftChanged;
744 [EditorBrowsable(EditorBrowsableState.Never)]
745 public event EventHandler StyleChanged;
748 [EditorBrowsable(EditorBrowsableState.Never)]
749 public event EventHandler TabIndexChanged;
752 [EditorBrowsable(EditorBrowsableState.Never)]
753 public event EventHandler TabStopChanged;
756 [EditorBrowsable(EditorBrowsableState.Never)]
757 public event EventHandler TextChanged;
762 protected delegate void AboutBoxDelegate();
763 #endregion // Delegates
766 [EditorBrowsable(EditorBrowsableState.Advanced)]
767 AttributeCollection ICustomTypeDescriptor.GetAttributes() {
768 throw new NotImplementedException("COM/ActiveX support is not implemented");
771 [EditorBrowsable(EditorBrowsableState.Advanced)]
772 string ICustomTypeDescriptor.GetClassName() {
773 throw new NotImplementedException("COM/ActiveX support is not implemented");
776 [EditorBrowsable(EditorBrowsableState.Advanced)]
777 string ICustomTypeDescriptor.GetComponentName() {
778 throw new NotImplementedException("COM/ActiveX support is not implemented");
781 [EditorBrowsable(EditorBrowsableState.Advanced)]
782 TypeConverter ICustomTypeDescriptor.GetConverter() {
783 throw new NotImplementedException("COM/ActiveX support is not implemented");
786 [EditorBrowsable(EditorBrowsableState.Advanced)]
787 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() {
788 throw new NotImplementedException("COM/ActiveX support is not implemented");
791 [EditorBrowsable(EditorBrowsableState.Advanced)]
792 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() {
793 throw new NotImplementedException("COM/ActiveX support is not implemented");
796 [EditorBrowsable(EditorBrowsableState.Advanced)]
797 object ICustomTypeDescriptor.GetEditor(Type editorBaseType) {
798 throw new NotImplementedException("COM/ActiveX support is not implemented");
801 [EditorBrowsable(EditorBrowsableState.Advanced)]
802 EventDescriptorCollection ICustomTypeDescriptor.GetEvents() {
803 throw new NotImplementedException("COM/ActiveX support is not implemented");
806 [EditorBrowsable(EditorBrowsableState.Advanced)]
807 EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
808 throw new NotImplementedException("COM/ActiveX support is not implemented");
811 [EditorBrowsable(EditorBrowsableState.Advanced)]
812 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() {
813 throw new NotImplementedException("COM/ActiveX support is not implemented");
816 [EditorBrowsable(EditorBrowsableState.Advanced)]
817 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) {
818 throw new NotImplementedException("COM/ActiveX support is not implemented");
821 [EditorBrowsable(EditorBrowsableState.Advanced)]
822 object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
823 throw new NotImplementedException("COM/ActiveX support is not implemented");
825 #endregion // Interfaces