public static void SaveRound(REWRound rr, ProjFileStream pfs) { pfs.WriteString(rr.roundName); for (int i = 0; i < rr.WordsCount; i++) { pfs.WriteString(rr.words[i]); pfs.WriteBool(rr.states[i]); } }
private void WriteFont(Font fnt, Color cl, ProjFileStream pfs) { pfs.WriteString(fnt.Name); pfs.WriteFloat(fnt.Size); pfs.WriteInt((int)fnt.Style); pfs.WriteInt((int)fnt.Unit); pfs.WriteByte(fnt.GdiCharSet); pfs.WriteBool(fnt.GdiVerticalFont); pfs.WriteColor(cl); }