Beispiel #1
0
 private void chkReadLiquidation_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         chkReadLiquidation.IsEnabled = false;
         pnlReadLiquidationContent.Children.Clear();
         CReadBasedLiquidation objReadBasedLiquidation = new CReadBasedLiquidation();
         pnlReadLiquidationContent.Children.Add(objReadBasedLiquidation);
         objReadBasedLiquidation.Margin = new Thickness(0);
     }
     finally
     {
         chkReadLiquidation.IsEnabled = true;
     }
 }
 private void chkReadLiquidation_Checked(object sender, RoutedEventArgs e)
 {
     try
     {
         chkReadLiquidation.IsEnabled = false;
         pnlReadLiquidationContent.Children.Clear();
         CReadBasedLiquidation objReadBasedLiquidation = new CReadBasedLiquidation();
         pnlReadLiquidationContent.Children.Add(objReadBasedLiquidation);
         objReadBasedLiquidation.Margin = new Thickness(0);
     }
     finally
     {
         chkReadLiquidation.IsEnabled = true;
     }
 }