private void chk_FillVault_Checked(object sender, RoutedEventArgs e) { try { pnlDropContent.Children.Clear(); CFillVault declaration = new CFillVault(); pnlDropContent.Children.Add(declaration); declaration.Margin = new Thickness(0); } catch (Exception Ex) { ExceptionManager.Publish(Ex); } }
private void chk_FillVault_Checked(object sender, RoutedEventArgs e) { try { pnlDropContent.Children.Clear(); CFillVault declaration = new CFillVault(); pnlDropContent.Children.Add(declaration); declaration.Margin = new Thickness(0); } catch(Exception Ex) { ExceptionManager.Publish(Ex); } }