Esempio n. 1
0
 private void chkReport_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         chkReport.IsEnabled = false;
         pnlReadLiquidationContent.Children.Clear();
         CReadLiquidationReport objReadLiquidationReport = new CReadLiquidationReport();
         pnlReadLiquidationContent.Children.Add(objReadLiquidationReport);
         objReadLiquidationReport.Margin = new Thickness(0);
     }
     finally
     {
         chkReport.IsEnabled = true;
     }
 }
 private void chkReport_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         chkReport.IsEnabled = false;
         pnlReadLiquidationContent.Children.Clear();
         CReadLiquidationReport objReadLiquidationReport = new CReadLiquidationReport();
         pnlReadLiquidationContent.Children.Add(objReadLiquidationReport);
         objReadLiquidationReport.Margin = new Thickness(0);
     }
     finally
     {
         chkReport.IsEnabled = true;
     }
 }