示例#1
0
 private void btnSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (ActiveMdiChild != null)
     {
         frmUpdateProjectFile form = ActiveMdiChild as frmUpdateProjectFile;
         form.Save();
     }
 }
示例#2
0
 private void btnSaveAll_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     for (int i = 0; i < MdiChildren.Length; i++)
     {
         if (MdiChildren[i] is frmUpdateProjectFile)
         {
             frmUpdateProjectFile form = MdiChildren[i] as frmUpdateProjectFile;
             form.Save();
         }
     }
 }