Example #1
0
        private void btnPerform_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (!ValidateRead())
                {
                    return;
                }
                List <ReadLiquidationEntity> lstReadLiquidation  = lstRead.SelectedItems.Cast <ReadLiquidationEntity>().ToList();
                CReadLiquidation             objCReadLiquidation = new CReadLiquidation(lstCommonLiquidation, lstReadLiquidation[0].Read_Date.ToString());
                objCReadLiquidation.Owner = MessageBox.parentOwner;
                objCReadLiquidation.ShowDialog();
                FillData();
            }

            catch (Exception Ex)
            {
                ExceptionManager.Publish(Ex);
            }
        }
        private void btnPerform_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (!ValidateRead()) return;
                List<ReadLiquidationEntity> lstReadLiquidation  = lstRead.SelectedItems.Cast<ReadLiquidationEntity>().ToList();
                CReadLiquidation objCReadLiquidation = new CReadLiquidation(lstCommonLiquidation, lstReadLiquidation[0].Read_Date.ToString());
                objCReadLiquidation.Owner = MessageBox.parentOwner;
                objCReadLiquidation.ShowDialog();
                FillData();
            }

            catch (Exception Ex)
            {
                ExceptionManager.Publish(Ex);
            }
        }