public override void SaveXML(FileStream stream) { SerializationHelper sh = new SerializationHelper(); sh.dataBlock = this.graphControl.GetScopeData(); sh.graph = new Graph.Graph(gd); sh.SaveXML(stream); }
public override VizForm Clone() { SerializationHelper sh = new SerializationHelper(); sh.dataBlock = this.GetDataBlock(); sh.graph = new Graph.Graph(gd); FileDigitalVizForm avf = new FileDigitalVizForm(sh); avf.MdiParent = MdiParent; avf.Text = Text;// +Parent.childFormNumber++; avf.Init(); avf.Show(); return avf; }
public FileDigitalVizForm(SerializationHelper sh) : base() { gd = new GraphDigital(sh.graph); dataBlock = sh.dataBlock; }
public FileAnalogVizForm(SerializationHelper sh) : base() { ga = new GraphAnalog(sh.graph); dataBlock = sh.dataBlock; }