* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / AxHost.cs
index 98fe10b90ae74d0db06259253730fd2ff0074ce1..97cfc44f1c93997593a0c0b6f60e7a850c93e60d 100644 (file)
@@ -112,11 +112,14 @@ namespace System.Windows.Forms {
                        [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");
+                                       //throw new NotImplementedException("COM/ActiveX support is not implemented");
+                               }
+
+                               private State(SerializationInfo info, StreamingContext context) {
                                }
 
                                void ISerializable.GetObjectData(SerializationInfo si,StreamingContext context) {
-                                       throw new NotImplementedException("COM/ActiveX support is not implemented");
+                                       //throw new NotImplementedException("COM/ActiveX support is not implemented");
                                }
                        }
                        #endregion      // AxHost.State Class
@@ -429,7 +432,7 @@ namespace System.Windows.Forms {
                }
 
                [EditorBrowsable(EditorBrowsableState.Advanced)]
-               public virtual void EndInit() {
+               public void EndInit() {
                        throw new NotImplementedException("COM/ActiveX support is not implemented");
                }
 
@@ -744,6 +747,7 @@ namespace System.Windows.Forms {
                [EditorBrowsable(EditorBrowsableState.Never)]
                public event EventHandler               StyleChanged;
 
+#if !NET_2_0
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public event EventHandler               TabIndexChanged;
@@ -751,6 +755,7 @@ namespace System.Windows.Forms {
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]
                public event EventHandler               TabStopChanged;
+#endif
 
                [Browsable(false)]
                [EditorBrowsable(EditorBrowsableState.Never)]