Example #1
0
        private void btnSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FlowMap canvas = this.ActiveMdiChild as FlowMap;

            if (canvas != null)
            {
                canvas.Save();
            }
        }
Example #2
0
 private void btnSaveAll_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     foreach (Form f in this.MdiChildren)
     {
         FlowMap w = f as FlowMap;
         if (w != null)
         {
             w.Save();
         }
     }
 }