Ejemplo n.º 1
0
 public bool SabeDiagram()
 {
     currentDiagram.bodi = txtDiagramBodi.Text;
     try
     {
         diagramWriter.WriteDiagram(currentDiagram);
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }
 public void SaveDiagram()
 {
     cdv.currentDiagram.bodi = cdv.txtDiagramBodi.Text;
     diagramWriter.WriteDiagram(cdv.currentDiagram);
 }