+2004-01-10 Ravindra <rkumar@novell.com>
+
+ * All Enums: Made serializable.
+
+ * Image.cs: Corrected signature of Dispose(bool) method.
+
+ * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
+ Corrected coding style mistakes of my previous commit.
+
+ * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
+
+ * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
+
+ * StringFormat.cs: Inherits MarshalByRefObject.
+
+ * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
+
2004-01-08 Ravindra <rkumar@novell.com>
+
* Pen.cs: Added isModifiable (bool) variable. It is required to
make Pens created by SystemPens.cs unmodifiable. All property
setters are modified for this.
if (isModifiable)
GDIPlus.GdipSetPenMode (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenBrushFill (nativeObject, value.nativeObject);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenColor (nativeObject, value.ToArgb ());
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
// Marshal.FreeHGlobal (tmp);
// }
// else
-// throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+// throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenDashCap (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenDashOffset (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
Marshal.FreeHGlobal (tmp);
}
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenDashStyle (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
// if (isModifiable)
// GDIPlus.GdipSetPenStartCap (nativeObject, value);
// else
-// throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+// throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
// if (isModifiable)
// GDIPlus.GdipSetPenEndCap (nativeObject, value);
// else
-// throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+// throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenLineJoin (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenMiterLimit (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenTransform (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipSetPenWidth (nativeObject, value);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
}
if (isModifiable)
GDIPlus.GdipDeletePen (nativeObject);
else
- throw new ArgumentException("You may not change this Pen because it does not belong to you.");
+ throw new ArgumentException ("You may not change this Pen because it does not belong to you.");
}
~Pen ()