Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AxHost.cs « System.Windows.Forms « Managed.Windows.Forms « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 98fe10b90ae74d0db06259253730fd2ff0074ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
//
// Authors:
//	Peter Bartok	<pbartok@novell.com>
//
//

// NOT COMPLETE

using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;

namespace System.Windows.Forms {
	[MonoTODO("Possibly implement this for Win32; find a way for Linux and Mac")]
	[DefaultEvent("Enter")]
	[Designer("System.Windows.Forms.Design.AxHostDesigner, " + Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
	[DesignTimeVisible(false)]
	[ToolboxItem(false)]
	public abstract class AxHost : Control, ISupportInitialize, ICustomTypeDescriptor {
		#region AxHost Subclasses
			#region AxHost.ActiveXInvokeKind Enum
			public enum ActiveXInvokeKind {
				MethodInvoke	= 0,
				PropertyGet	= 1,
				PropertySet	= 2
			}
			#endregion	// AxHost.ActiveXInvokeKind Enum

			#region AxHost.AxComponentEditor Class
			public class AxComponentEditor : System.Windows.Forms.Design.WindowsFormsComponentEditor {
				public AxComponentEditor() {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override bool EditComponent(ITypeDescriptorContext context, object obj, IWin32Window parent) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}
			}
			#endregion	// AxHost.AxComponentEditor Class

			#region AxHost.ClsidAttribute
			[AttributeUsage(AttributeTargets.Class,Inherited=false)]
			public sealed class ClsidAttribute : Attribute {
				string clsid;

				public ClsidAttribute (string clsid) {
					this.clsid = clsid;
				}

				public string Value {
					get {
						return clsid;
					}
				}
			}
			#endregion AxHost.ClsidAttribute

			#region AxHost.ConnectionPointCookie
			[ComVisible(false)]
			public class ConnectionPointCookie {
				public ConnectionPointCookie(object source, object sink, Type eventInterface) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public void Disconnect() {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				~ConnectionPointCookie() {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}
			}
			#endregion	// AxHost.ConnectionPointCookie
		
			#region AxHost.InvalidActiveXStateException  Class
			public class InvalidActiveXStateException : Exception {
				public InvalidActiveXStateException(string name, ActiveXInvokeKind kind) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override string ToString() {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}
			}
			#endregion	// AxHost.InvalidActiveXStateException  Class
			
			#region AxHost.State Class
			[Serializable]
			[TypeConverter("System.ComponentModel.TypeConverter, " + Consts.AssemblySystem)]
			public class State : ISerializable {
				public State(Stream ms, int storageType, bool manualUpdate, string licKey) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}
			}
			#endregion	// AxHost.State Class

			#region AxHost.TypeLibraryTimeStampAttribute Class
			[AttributeUsage(AttributeTargets.Assembly, Inherited=false)]
			public sealed class TypeLibraryTimeStampAttribute : Attribute {
				public TypeLibraryTimeStampAttribute(string timestamp) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public DateTime Value {
					get {
						throw new NotImplementedException("COM/ActiveX support is not implemented");
					}
				}
			}
			#endregion	// AxHost.TypeLibraryTimeStampAttribute Class

			#region AxHost.StateConverter Class
			public class StateConverter : System.ComponentModel.TypeConverter {
				public StateConverter() {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}

				public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) {
					throw new NotImplementedException("COM/ActiveX support is not implemented");
				}
			}
			#endregion	// AxHost.StateConverter Class
		#endregion	// AxHost Subclasses

		string text;

		#region Protected Constructors
		protected AxHost(string clsid) {
			text = "";
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		protected AxHost(string clsid, int flags) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		#endregion	// Public Instance Properties

		#region Public Instance Properties
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override Color BackColor {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override Image BackgroundImage {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public ContainerControl ContainingControl {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override ContextMenu ContextMenu {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override Cursor Cursor {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public bool EditMode {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public new virtual bool Enabled {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override Font Font {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override Color ForeColor {
			get { 
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public bool HasAboutBox {
			get { 
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[DefaultValue(null)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		[RefreshProperties(RefreshProperties.All)]
		public AxHost.State OcxState {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		[Localizable(true)]
		public new virtual bool RightToLeft {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}

			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		public override ISite Site {
			set {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public override string Text {
			get {
				return text;
			}

			set {
				text = value;
			}
		}
		#endregion	// Protected Constructors
		
		#region Protected Instance Properties
		protected override CreateParams CreateParams {
			get {
				throw new NotImplementedException("COM/ActiveX support is not implemented");
			}
		}
		
		protected override Size DefaultSize {
			get {
				return new Size (75, 23);
			}
		}
		#endregion	// Protected Instance Properties

		#region Protected Static Methods
		[CLSCompliant(false)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static Color GetColorFromOleColor(uint color){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static Font GetFontFromIFont(object font){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static Font GetFontFromIFontDisp(object font){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static object GetIFontDispFromFont(Font font){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static object GetIFontFromFont(Font font){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static object GetIPictureDispFromPicture(Image image){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static object GetIPictureFromCursor(Cursor cursor){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static object GetIPictureFromPicture(Image image){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static double GetOADateFromTime(DateTime time){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[CLSCompliant(false)]
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static uint GetOleColorFromColor(Color color){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static Image GetPictureFromIPicture(object picture){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static Image GetPictureFromIPictureDisp(object picture){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected static DateTime GetTimeFromOADate(double date){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}
		#endregion	// Protected Static Methods

		#region Public Instance Methods
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public void BeginInit() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		public void DoVerb(int verb){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public virtual void EndInit() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public object GetOcx() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		public bool HasPropertyPages() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public void InvokeEditMode(){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		public void MakeDirty(){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		public override bool PreProcessMessage(ref Message msg) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		public void ShowAboutBox() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		public void ShowPropertyPages() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		public void ShowPropertyPages(Control control) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		#endregion	// Public Instance Methods

		#region Protected Instance Methods
		protected virtual void AttachInterfaces() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void CreateHandle() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected virtual void CreateSink(){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void DestroyHandle() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected virtual void DetachSink(){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		protected override void Dispose(bool disposing) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override bool IsInputChar(char charCode) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void OnBackColorChanged(EventArgs e) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void OnFontChanged(EventArgs e) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void OnForeColorChanged(EventArgs e) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void OnHandleCreated(EventArgs e) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		protected virtual void OnInPlaceActive() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected override void OnLostFocus(EventArgs e) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override bool ProcessDialogKey(Keys keyData) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		protected override bool ProcessMnemonic(char charCode) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected bool PropsValid(){
			throw new NotImplementedException("COM/ActiveX support is not implemented"); 
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseDown(short button, short shift, int x, int y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseDown(short button, short shift, float x, float y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseDown(object o1, object o2, object o3, object o4){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseMove(short button, short shift, int x, int y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseMove(short button, short shift, float x, float y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseMove(object o1, object o2, object o3, object o4){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseUp(short button, short shift, int x, int y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseUp(short button, short shift, float x, float y){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		[EditorBrowsable(EditorBrowsableState.Advanced)]
		protected void RaiseOnMouseUp(object o1, object o2, object o3, object o4){
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}

		protected void SetAboutBoxDelegate(AxHost.AboutBoxDelegate d) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void SetVisibleCore(bool value) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		protected override void WndProc(ref Message m) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		#endregion	// Protected Instance Methods

		#region	Private Instance Methods
		[EditorBrowsable(EditorBrowsableState.Never)]
		private bool ShouldSerializeContainingControl() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		#endregion	// Protected Instance Methods

		#region Events
		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		BackColorChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		BackgroundImageChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		BindingContextChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event UICuesEventHandler		ChangeUICues;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		Click;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		ContextMenuChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		CursorChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		DoubleClick;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event DragEventHandler		DragDrop;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event DragEventHandler		DragEnter;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		DragLeave;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event DragEventHandler		DragOver;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		EnabledChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		FontChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		ForeColorChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event GiveFeedbackEventHandler	GiveFeedback;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event HelpEventHandler		HelpRequested;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		ImeModeChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event KeyEventHandler		KeyDown;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event KeyPressEventHandler	KeyPress;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event KeyEventHandler		KeyUp;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event LayoutEventHandler		Layout;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event MouseEventHandler		MouseDown;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		MouseEnter;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		MouseHover;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		MouseLeave;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event MouseEventHandler		MouseMove;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event MouseEventHandler		MouseUp;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event MouseEventHandler		MouseWheel;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event PaintEventHandler		Paint;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event QueryAccessibilityHelpEventHandler	QueryAccessibilityHelp;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event QueryContinueDragEventHandler	QueryContinueDrag;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		RightToLeftChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		StyleChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		TabIndexChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		TabStopChanged;

		[Browsable(false)]
		[EditorBrowsable(EditorBrowsableState.Never)]
		public event EventHandler		TextChanged;
		#endregion	// Events

		#region Delegates
		[Serializable]
		protected delegate void AboutBoxDelegate();
		#endregion	// Delegates

		#region	Interfaces
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		AttributeCollection ICustomTypeDescriptor.GetAttributes() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		string ICustomTypeDescriptor.GetClassName() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		string ICustomTypeDescriptor.GetComponentName() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		TypeConverter ICustomTypeDescriptor.GetConverter() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		object ICustomTypeDescriptor.GetEditor(Type editorBaseType) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		EventDescriptorCollection ICustomTypeDescriptor.GetEvents() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		
		[EditorBrowsable(EditorBrowsableState.Advanced)]
		object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
			throw new NotImplementedException("COM/ActiveX support is not implemented");
		}
		#endregion	// Interfaces
	}
}