private void NoMasterDataToSave(object Sender, Ict.Common.TNoMasterDataToSaveEventArgs e)
        {
            TTypedDataTable ChildDTWhoseDataGotSaved;
            bool            UCSaveResult;

            // Save the changes in the user control
            UCSaveResult = ucoValues.SaveChanges(out ChildDTWhoseDataGotSaved);

            e.SubmitChangesResult             = UCSaveResult ? TSubmitChangesResult.scrOK : TSubmitChangesResult.scrError;
            e.ChildDataTableWhoseDataGotSaved = ChildDTWhoseDataGotSaved;

            FDataSavedInNoMasterDataToSaveEvent = true;
        }
Beispiel #2
0
 /// <summary>
 /// todoComment
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void OnNoMasterDataToSave(System.Object sender, TNoMasterDataToSaveEventArgs e)
 {
     if (NoMasterDataToSave != null)
     {
         NoMasterDataToSave(this, e);
     }
 }