Beispiel #1
0
 private void btnSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (ActiveMdiChild != null)
     {
         frmUpdateProjectFile form = ActiveMdiChild as frmUpdateProjectFile;
         form.Save();
     }
 }
Beispiel #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();
         }
     }
 }