Exemplo n.º 1
0
        private void RoseClick(object sender, RoutedEventArgs e)
        {
            NightingaleRose rdc = new NightingaleRose();

            this.GrdMain.Children.Clear();
            this.GrdMain.Children.Add(rdc);
            rdc.SetData(CrData());
        }
Exemplo n.º 2
0
        private void RoseSortClick(object sender, RoutedEventArgs e)
        {
            NightingaleRose rdc = new NightingaleRose();

            this.GrdMain.Children.Clear();
            this.GrdMain.Children.Add(rdc);
            rdc.SetData(CrData().OrderByDescending(o => o.DataValue).ToList());
        }