Exemple #1
0
 //===========================================================
 //		ISerializable
 //===========================================================
 private FontManager(Serial::SerializationInfo info, Serial::StreamingContext context)
 {
     this.f        = null;
     this.fontname = (string)info.GetValue("fontname", typeof(string));
     this._size    = info.GetSingle("_size");
     this.style    = (Gdi::FontStyle)info.GetValue("style", typeof(Gdi::FontStyle));
 }
Exemple #2
0
 MatrixR8(Serial::SerializationInfo info, Serial::StreamingContext context)
     : this((Rational[, ])info.GetValue("vals", typeof(Rational[, ])))
 {
 }