public SMConnection(MNPage doc) : base() { Page = doc; ConnectionStyle = SMConnectionStyle.DirectLine; Source = null; Target = null; }
public void Load(RSFileReader br) { byte tag; while ((tag = br.ReadByte()) != 0) { switch (tag) { case 10: /*Source = new SMControlLoadingPlaceholder() { controlId = br.ReadInt32() }; * Target = new SMControlLoadingPlaceholder() { controlId = br.ReadInt32() };*/ SourceId = br.ReadInt64(); TargetId = br.ReadInt64(); ConnectionStyle = (SMConnectionStyle)br.ReadInt32(); break; } } }