merge -r 58060:58217
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / AxHost.cs
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:
8 // 
9 // The above copyright notice and this permission notice shall be
10 // included in all copies or substantial portions of the Software.
11 // 
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.
19 //
20 // Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
21 //
22 // Authors:
23 //      Peter Bartok    <pbartok@novell.com>
24 //
25 //
26
27 // NOT COMPLETE
28
29 using System;
30 using System.ComponentModel;
31 using System.Drawing;
32 using System.IO;
33 using System.Runtime.InteropServices;
34 using System.Runtime.Serialization;
35
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)]
41         [ToolboxItem(false)]
42         public abstract class AxHost : Control, ISupportInitialize, ICustomTypeDescriptor {
43                 #region AxHost Subclasses
44                         #region AxHost.ActiveXInvokeKind Enum
45                         public enum ActiveXInvokeKind {
46                                 MethodInvoke    = 0,
47                                 PropertyGet     = 1,
48                                 PropertySet     = 2
49                         }
50                         #endregion      // AxHost.ActiveXInvokeKind Enum
51
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");
56                                 }
57
58                                 public override bool EditComponent(ITypeDescriptorContext context, object obj, IWin32Window parent) {
59                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
60                                 }
61                         }
62                         #endregion      // AxHost.AxComponentEditor Class
63
64                         #region AxHost.ClsidAttribute
65                         [AttributeUsage(AttributeTargets.Class,Inherited=false)]
66                         public sealed class ClsidAttribute : Attribute {
67                                 string clsid;
68
69                                 public ClsidAttribute (string clsid) {
70                                         this.clsid = clsid;
71                                 }
72
73                                 public string Value {
74                                         get {
75                                                 return clsid;
76                                         }
77                                 }
78                         }
79                         #endregion AxHost.ClsidAttribute
80
81                         #region AxHost.ConnectionPointCookie
82                         [ComVisible(false)]
83                         public class ConnectionPointCookie {
84                                 public ConnectionPointCookie(object source, object sink, Type eventInterface) {
85                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
86                                 }
87
88                                 public void Disconnect() {
89                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
90                                 }
91
92                                 ~ConnectionPointCookie() {
93                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
94                                 }
95                         }
96                         #endregion      // AxHost.ConnectionPointCookie
97                 
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");
102                                 }
103
104                                 public override string ToString() {
105                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
106                                 }
107                         }
108                         #endregion      // AxHost.InvalidActiveXStateException  Class
109                         
110                         #region AxHost.State Class
111                         [Serializable]
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");
116                                 }
117
118                                 void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context) {
119                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
120                                 }
121                         }
122                         #endregion      // AxHost.State Class
123
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");
129                                 }
130
131                                 public DateTime Value {
132                                         get {
133                                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
134                                         }
135                                 }
136                         }
137                         #endregion      // AxHost.TypeLibraryTimeStampAttribute Class
138
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");
143                                 }
144
145                                 public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
146                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
147                                 }
148
149                                 public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) {
150                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
151                                 }
152
153                                 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) {
154                                         throw new NotImplementedException("COM/ActiveX support is not implemented");
155                                 }
156
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");
159                                 }
160                         }
161                         #endregion      // AxHost.StateConverter Class
162                 #endregion      // AxHost Subclasses
163
164                 string text;
165
166                 #region Protected Constructors
167                 protected AxHost(string clsid) {
168                         text = "";
169                         throw new NotImplementedException("COM/ActiveX support is not implemented");
170                 }
171
172                 protected AxHost(string clsid, int flags) {
173                         throw new NotImplementedException("COM/ActiveX support is not implemented");
174                 }
175                 #endregion      // Public Instance Properties
176
177                 #region Public Instance Properties
178                 [Browsable(false)]
179                 [EditorBrowsable(EditorBrowsableState.Never)]
180                 public override Color BackColor {
181                         get {
182                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
183                         }
184
185                         set {
186                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
187                         }
188                 }
189                 
190                 [Browsable(false)]
191                 [EditorBrowsable(EditorBrowsableState.Never)]
192                 public override Image BackgroundImage {
193                         get {
194                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
195                         }
196
197                         set {
198                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
199                         }
200                 }
201                 
202                 [Browsable(false)]
203                 [EditorBrowsable(EditorBrowsableState.Advanced)]
204                 public ContainerControl ContainingControl {
205                         get {
206                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
207                         }
208
209                         set {
210                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
211                         }
212                 }
213                 
214                 [Browsable(false)]
215                 [EditorBrowsable(EditorBrowsableState.Never)]
216                 public override ContextMenu ContextMenu {
217                         get {
218                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
219                         }
220
221                         set {
222                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
223                         }
224                 }
225                 
226                 [Browsable(false)]
227                 [EditorBrowsable(EditorBrowsableState.Never)]
228                 public override Cursor Cursor {
229                         get {
230                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
231                         }
232
233                         set {
234                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
235                         }
236                 }
237                 
238                 [Browsable(false)]
239                 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
240                 [EditorBrowsable(EditorBrowsableState.Advanced)]
241                 public bool EditMode {
242                         get {
243                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
244                         }
245                 }
246
247                 [Browsable(false)]
248                 [EditorBrowsable(EditorBrowsableState.Never)]
249                 public new virtual bool Enabled {
250                         get {
251                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
252                         }
253
254                         set {
255                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
256                         }
257                 }
258                 
259                 [Browsable(false)]
260                 [EditorBrowsable(EditorBrowsableState.Never)]
261                 public override Font Font {
262                         get {
263                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
264                         }
265
266                         set {
267                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
268                         }
269                 }
270                 
271                 [Browsable(false)]
272                 [EditorBrowsable(EditorBrowsableState.Never)]
273                 public override Color ForeColor {
274                         get { 
275                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
276                         }
277
278                         set {
279                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
280                         }
281                 }
282                 
283                 [Browsable(false)]
284                 [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
285                 [EditorBrowsable(EditorBrowsableState.Advanced)]
286                 public bool HasAboutBox {
287                         get { 
288                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
289                         }
290                 }
291                 
292                 [Browsable(false)]
293                 [DefaultValue(null)]
294                 [EditorBrowsable(EditorBrowsableState.Advanced)]
295                 [RefreshProperties(RefreshProperties.All)]
296                 public AxHost.State OcxState {
297                         get {
298                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
299                         }
300
301                         set {
302                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
303                         }
304                 }
305                 
306                 [Browsable(false)]
307                 [EditorBrowsable(EditorBrowsableState.Never)]
308                 [Localizable(true)]
309                 public new virtual bool RightToLeft {
310                         get {
311                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
312                         }
313
314                         set {
315                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
316                         }
317                 }
318                 
319                 public override ISite Site {
320                         set {
321                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
322                         }
323                 }
324                 
325                 [Browsable(false)]
326                 [EditorBrowsable(EditorBrowsableState.Never)]
327                 public override string Text {
328                         get {
329                                 return text;
330                         }
331
332                         set {
333                                 text = value;
334                         }
335                 }
336                 #endregion      // Protected Constructors
337                 
338                 #region Protected Instance Properties
339                 protected override CreateParams CreateParams {
340                         get {
341                                 throw new NotImplementedException("COM/ActiveX support is not implemented");
342                         }
343                 }
344                 
345                 protected override Size DefaultSize {
346                         get {
347                                 return new Size (75, 23);
348                         }
349                 }
350                 #endregion      // Protected Instance Properties
351
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"); 
357                 }
358
359                 [EditorBrowsable(EditorBrowsableState.Advanced)]
360                 protected static Font GetFontFromIFont(object font){
361                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
362                 }
363
364                 [EditorBrowsable(EditorBrowsableState.Advanced)]
365                 protected static Font GetFontFromIFontDisp(object font){
366                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
367                 }
368
369                 [EditorBrowsable(EditorBrowsableState.Advanced)]
370                 protected static object GetIFontDispFromFont(Font font){
371                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
372                 }
373
374                 [EditorBrowsable(EditorBrowsableState.Advanced)]
375                 protected static object GetIFontFromFont(Font font){
376                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
377                 }
378
379                 [EditorBrowsable(EditorBrowsableState.Advanced)]
380                 protected static object GetIPictureDispFromPicture(Image image){
381                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
382                 }
383
384                 [EditorBrowsable(EditorBrowsableState.Advanced)]
385                 protected static object GetIPictureFromCursor(Cursor cursor){
386                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
387                 }
388
389                 [EditorBrowsable(EditorBrowsableState.Advanced)]
390                 protected static object GetIPictureFromPicture(Image image){
391                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
392                 }
393
394                 [EditorBrowsable(EditorBrowsableState.Advanced)]
395                 protected static double GetOADateFromTime(DateTime time){
396                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
397                 }
398
399                 [CLSCompliant(false)]
400                 [EditorBrowsable(EditorBrowsableState.Advanced)]
401                 protected static uint GetOleColorFromColor(Color color){
402                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
403                 }
404
405                 [EditorBrowsable(EditorBrowsableState.Advanced)]
406                 protected static Image GetPictureFromIPicture(object picture){
407                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
408                 }
409
410                 [EditorBrowsable(EditorBrowsableState.Advanced)]
411                 protected static Image GetPictureFromIPictureDisp(object picture){
412                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
413                 }
414
415                 [EditorBrowsable(EditorBrowsableState.Advanced)]
416                 protected static DateTime GetTimeFromOADate(double date){
417                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
418                 }
419                 #endregion      // Protected Static Methods
420
421                 #region Public Instance Methods
422                 [EditorBrowsable(EditorBrowsableState.Advanced)]
423                 public void BeginInit() {
424                         throw new NotImplementedException("COM/ActiveX support is not implemented");
425                 }
426                 
427                 public void DoVerb(int verb){
428                         throw new NotImplementedException("COM/ActiveX support is not implemented");
429                 }
430
431                 [EditorBrowsable(EditorBrowsableState.Advanced)]
432                 public virtual void EndInit() {
433                         throw new NotImplementedException("COM/ActiveX support is not implemented");
434                 }
435
436                 [EditorBrowsable(EditorBrowsableState.Advanced)]
437                 public object GetOcx() {
438                         throw new NotImplementedException("COM/ActiveX support is not implemented");
439                 }
440                 
441                 public bool HasPropertyPages() {
442                         throw new NotImplementedException("COM/ActiveX support is not implemented");
443                 }
444                 
445                 [EditorBrowsable(EditorBrowsableState.Advanced)]
446                 public void InvokeEditMode(){
447                         throw new NotImplementedException("COM/ActiveX support is not implemented");
448                 }
449
450                 [EditorBrowsable(EditorBrowsableState.Advanced)]
451                 public void MakeDirty(){
452                         throw new NotImplementedException("COM/ActiveX support is not implemented");
453                 }
454
455                 public override bool PreProcessMessage(ref Message msg) {
456                         throw new NotImplementedException("COM/ActiveX support is not implemented");
457                 }
458
459                 public void ShowAboutBox() {
460                         throw new NotImplementedException("COM/ActiveX support is not implemented");
461                 }
462                 
463                 public void ShowPropertyPages() {
464                         throw new NotImplementedException("COM/ActiveX support is not implemented");
465                 }
466                 
467                 public void ShowPropertyPages(Control control) {
468                         throw new NotImplementedException("COM/ActiveX support is not implemented");
469                 }
470                 #endregion      // Public Instance Methods
471
472                 #region Protected Instance Methods
473                 protected virtual void AttachInterfaces() {
474                         throw new NotImplementedException("COM/ActiveX support is not implemented");
475                 }
476                 
477                 protected override void CreateHandle() {
478                         throw new NotImplementedException("COM/ActiveX support is not implemented");
479                 }
480                 
481                 [EditorBrowsable(EditorBrowsableState.Advanced)]
482                 protected virtual void CreateSink(){
483                         throw new NotImplementedException("COM/ActiveX support is not implemented");
484                 }
485                 
486                 protected override void DestroyHandle() {
487                         throw new NotImplementedException("COM/ActiveX support is not implemented");
488                 }
489
490                 [EditorBrowsable(EditorBrowsableState.Advanced)]
491                 protected virtual void DetachSink(){
492                         throw new NotImplementedException("COM/ActiveX support is not implemented");
493                 }
494
495                 protected override void Dispose(bool disposing) {
496                         throw new NotImplementedException("COM/ActiveX support is not implemented");
497                 }
498                 
499                 protected override bool IsInputChar(char charCode) {
500                         throw new NotImplementedException("COM/ActiveX support is not implemented");
501                 }
502                 
503                 protected override void OnBackColorChanged(EventArgs e) {
504                         throw new NotImplementedException("COM/ActiveX support is not implemented");
505                 }
506                 
507                 protected override void OnFontChanged(EventArgs e) {
508                         throw new NotImplementedException("COM/ActiveX support is not implemented");
509                 }
510                 
511                 protected override void OnForeColorChanged(EventArgs e) {
512                         throw new NotImplementedException("COM/ActiveX support is not implemented");
513                 }
514                 
515                 protected override void OnHandleCreated(EventArgs e) {
516                         throw new NotImplementedException("COM/ActiveX support is not implemented");
517                 }
518
519                 protected virtual void OnInPlaceActive() {
520                         throw new NotImplementedException("COM/ActiveX support is not implemented");
521                 }
522                 
523                 [EditorBrowsable(EditorBrowsableState.Advanced)]
524                 protected override void OnLostFocus(EventArgs e) {
525                         throw new NotImplementedException("COM/ActiveX support is not implemented");
526                 }
527                 
528                 protected override bool ProcessDialogKey(Keys keyData) {
529                         throw new NotImplementedException("COM/ActiveX support is not implemented");
530                 }
531
532                 protected override bool ProcessMnemonic(char charCode) {
533                         throw new NotImplementedException("COM/ActiveX support is not implemented");
534                 }
535
536                 [EditorBrowsable(EditorBrowsableState.Advanced)]
537                 protected bool PropsValid(){
538                         throw new NotImplementedException("COM/ActiveX support is not implemented"); 
539                 }
540
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");
544                 }
545
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");
549                 }
550
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");
554                 }
555
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");
559                 }
560
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");
564                 }
565
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");
569                 }
570
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");
574                 }
575
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");
579                 }
580
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");
584                 }
585
586                 protected void SetAboutBoxDelegate(AxHost.AboutBoxDelegate d) {
587                         throw new NotImplementedException("COM/ActiveX support is not implemented");
588                 }
589                 
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");
592                 }
593                 
594                 protected override void SetVisibleCore(bool value) {
595                         throw new NotImplementedException("COM/ActiveX support is not implemented");
596                 }
597                 
598                 protected override void WndProc(ref Message m) {
599                         throw new NotImplementedException("COM/ActiveX support is not implemented");
600                 }
601                 #endregion      // Protected Instance Methods
602
603                 #region Private Instance Methods
604                 [EditorBrowsable(EditorBrowsableState.Never)]
605                 private bool ShouldSerializeContainingControl() {
606                         throw new NotImplementedException("COM/ActiveX support is not implemented");
607                 }
608                 #endregion      // Protected Instance Methods
609
610                 #region Events
611                 [Browsable(false)]
612                 [EditorBrowsable(EditorBrowsableState.Never)]
613                 public event EventHandler               BackColorChanged;
614
615                 [Browsable(false)]
616                 [EditorBrowsable(EditorBrowsableState.Never)]
617                 public event EventHandler               BackgroundImageChanged;
618
619                 [Browsable(false)]
620                 [EditorBrowsable(EditorBrowsableState.Never)]
621                 public event EventHandler               BindingContextChanged;
622
623                 [Browsable(false)]
624                 [EditorBrowsable(EditorBrowsableState.Never)]
625                 public event UICuesEventHandler         ChangeUICues;
626
627                 [Browsable(false)]
628                 [EditorBrowsable(EditorBrowsableState.Never)]
629                 public event EventHandler               Click;
630
631                 [Browsable(false)]
632                 [EditorBrowsable(EditorBrowsableState.Never)]
633                 public event EventHandler               ContextMenuChanged;
634
635                 [Browsable(false)]
636                 [EditorBrowsable(EditorBrowsableState.Never)]
637                 public event EventHandler               CursorChanged;
638
639                 [Browsable(false)]
640                 [EditorBrowsable(EditorBrowsableState.Never)]
641                 public event EventHandler               DoubleClick;
642
643                 [Browsable(false)]
644                 [EditorBrowsable(EditorBrowsableState.Never)]
645                 public event DragEventHandler           DragDrop;
646
647                 [Browsable(false)]
648                 [EditorBrowsable(EditorBrowsableState.Never)]
649                 public event DragEventHandler           DragEnter;
650
651                 [Browsable(false)]
652                 [EditorBrowsable(EditorBrowsableState.Never)]
653                 public event EventHandler               DragLeave;
654
655                 [Browsable(false)]
656                 [EditorBrowsable(EditorBrowsableState.Never)]
657                 public event DragEventHandler           DragOver;
658
659                 [Browsable(false)]
660                 [EditorBrowsable(EditorBrowsableState.Never)]
661                 public event EventHandler               EnabledChanged;
662
663                 [Browsable(false)]
664                 [EditorBrowsable(EditorBrowsableState.Never)]
665                 public event EventHandler               FontChanged;
666
667                 [Browsable(false)]
668                 [EditorBrowsable(EditorBrowsableState.Never)]
669                 public event EventHandler               ForeColorChanged;
670
671                 [Browsable(false)]
672                 [EditorBrowsable(EditorBrowsableState.Never)]
673                 public event GiveFeedbackEventHandler   GiveFeedback;
674
675                 [Browsable(false)]
676                 [EditorBrowsable(EditorBrowsableState.Never)]
677                 public event HelpEventHandler           HelpRequested;
678
679                 [Browsable(false)]
680                 [EditorBrowsable(EditorBrowsableState.Never)]
681                 public event EventHandler               ImeModeChanged;
682
683                 [Browsable(false)]
684                 [EditorBrowsable(EditorBrowsableState.Never)]
685                 public event KeyEventHandler            KeyDown;
686
687                 [Browsable(false)]
688                 [EditorBrowsable(EditorBrowsableState.Never)]
689                 public event KeyPressEventHandler       KeyPress;
690
691                 [Browsable(false)]
692                 [EditorBrowsable(EditorBrowsableState.Never)]
693                 public event KeyEventHandler            KeyUp;
694
695                 [Browsable(false)]
696                 [EditorBrowsable(EditorBrowsableState.Never)]
697                 public event LayoutEventHandler         Layout;
698
699                 [Browsable(false)]
700                 [EditorBrowsable(EditorBrowsableState.Never)]
701                 public event MouseEventHandler          MouseDown;
702
703                 [Browsable(false)]
704                 [EditorBrowsable(EditorBrowsableState.Never)]
705                 public event EventHandler               MouseEnter;
706
707                 [Browsable(false)]
708                 [EditorBrowsable(EditorBrowsableState.Never)]
709                 public event EventHandler               MouseHover;
710
711                 [Browsable(false)]
712                 [EditorBrowsable(EditorBrowsableState.Never)]
713                 public event EventHandler               MouseLeave;
714
715                 [Browsable(false)]
716                 [EditorBrowsable(EditorBrowsableState.Never)]
717                 public event MouseEventHandler          MouseMove;
718
719                 [Browsable(false)]
720                 [EditorBrowsable(EditorBrowsableState.Never)]
721                 public event MouseEventHandler          MouseUp;
722
723                 [Browsable(false)]
724                 [EditorBrowsable(EditorBrowsableState.Never)]
725                 public event MouseEventHandler          MouseWheel;
726
727                 [Browsable(false)]
728                 [EditorBrowsable(EditorBrowsableState.Never)]
729                 public event PaintEventHandler          Paint;
730
731                 [Browsable(false)]
732                 [EditorBrowsable(EditorBrowsableState.Never)]
733                 public event QueryAccessibilityHelpEventHandler QueryAccessibilityHelp;
734
735                 [Browsable(false)]
736                 [EditorBrowsable(EditorBrowsableState.Never)]
737                 public event QueryContinueDragEventHandler      QueryContinueDrag;
738
739                 [Browsable(false)]
740                 [EditorBrowsable(EditorBrowsableState.Never)]
741                 public event EventHandler               RightToLeftChanged;
742
743                 [Browsable(false)]
744                 [EditorBrowsable(EditorBrowsableState.Never)]
745                 public event EventHandler               StyleChanged;
746
747                 [Browsable(false)]
748                 [EditorBrowsable(EditorBrowsableState.Never)]
749                 public event EventHandler               TabIndexChanged;
750
751                 [Browsable(false)]
752                 [EditorBrowsable(EditorBrowsableState.Never)]
753                 public event EventHandler               TabStopChanged;
754
755                 [Browsable(false)]
756                 [EditorBrowsable(EditorBrowsableState.Never)]
757                 public event EventHandler               TextChanged;
758                 #endregion      // Events
759
760                 #region Delegates
761                 [Serializable]
762                 protected delegate void AboutBoxDelegate();
763                 #endregion      // Delegates
764
765                 #region Interfaces
766                 [EditorBrowsable(EditorBrowsableState.Advanced)]
767                 AttributeCollection ICustomTypeDescriptor.GetAttributes() {
768                         throw new NotImplementedException("COM/ActiveX support is not implemented");
769                 }
770                 
771                 [EditorBrowsable(EditorBrowsableState.Advanced)]
772                 string ICustomTypeDescriptor.GetClassName() {
773                         throw new NotImplementedException("COM/ActiveX support is not implemented");
774                 }
775                 
776                 [EditorBrowsable(EditorBrowsableState.Advanced)]
777                 string ICustomTypeDescriptor.GetComponentName() {
778                         throw new NotImplementedException("COM/ActiveX support is not implemented");
779                 }
780                 
781                 [EditorBrowsable(EditorBrowsableState.Advanced)]
782                 TypeConverter ICustomTypeDescriptor.GetConverter() {
783                         throw new NotImplementedException("COM/ActiveX support is not implemented");
784                 }
785                 
786                 [EditorBrowsable(EditorBrowsableState.Advanced)]
787                 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() {
788                         throw new NotImplementedException("COM/ActiveX support is not implemented");
789                 }
790                 
791                 [EditorBrowsable(EditorBrowsableState.Advanced)]
792                 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() {
793                         throw new NotImplementedException("COM/ActiveX support is not implemented");
794                 }
795                 
796                 [EditorBrowsable(EditorBrowsableState.Advanced)]
797                 object ICustomTypeDescriptor.GetEditor(Type editorBaseType) {
798                         throw new NotImplementedException("COM/ActiveX support is not implemented");
799                 }
800                 
801                 [EditorBrowsable(EditorBrowsableState.Advanced)]
802                 EventDescriptorCollection ICustomTypeDescriptor.GetEvents() {
803                         throw new NotImplementedException("COM/ActiveX support is not implemented");
804                 }
805                 
806                 [EditorBrowsable(EditorBrowsableState.Advanced)]
807                 EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
808                         throw new NotImplementedException("COM/ActiveX support is not implemented");
809                 }
810                 
811                 [EditorBrowsable(EditorBrowsableState.Advanced)]
812                 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() {
813                         throw new NotImplementedException("COM/ActiveX support is not implemented");
814                 }
815                 
816                 [EditorBrowsable(EditorBrowsableState.Advanced)]
817                 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) {
818                         throw new NotImplementedException("COM/ActiveX support is not implemented");
819                 }
820                 
821                 [EditorBrowsable(EditorBrowsableState.Advanced)]
822                 object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
823                         throw new NotImplementedException("COM/ActiveX support is not implemented");
824                 }
825                 #endregion      // Interfaces
826         }
827 }