예제 #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            Parameters par = (Parameters)e.Parameter;

            this.PayDaysDAO = par.PayDaysDAO;
            PayDaysDAO.Items.CollectionChanged   += Items_CollectionChanged;
            this.NonSelectedVisibility.Visibility =
                PayDaysDAO.NonSelectedItems.Count == 0 ?
                Visibility.Collapsed :
                Visibility.Visible;
        }
예제 #2
0
 public Parameters(PayDaysDAO payDaysDAO)
 {
     PayDaysDAO = payDaysDAO;
 }