示例#1
0
        public override void SaveXML(FileStream stream)
        {
            SerializationHelper sh = new SerializationHelper();
             sh.dataBlock = this.graphControl.GetScopeData();
             sh.graph = new Graph.Graph(gd);

             sh.SaveXML(stream);
        }
示例#2
0
        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;
 }
示例#4
0
 public FileAnalogVizForm(SerializationHelper sh)
     : base()
 {
     ga = new GraphAnalog(sh.graph);
      dataBlock = sh.dataBlock;
 }
示例#5
0
 public FileDigitalVizForm(SerializationHelper sh)
     : base()
 {
     gd        = new GraphDigital(sh.graph);
     dataBlock = sh.dataBlock;
 }