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