Ejemplo n.º 1
0
        public static void OniIndexChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            CanvasWithPhoto c        = (CanvasWithPhoto)sender;
            int             newValue = (int)e.NewValue;
            int             oldValue = (int)e.OldValue;

            c.Index = (int)e.NewValue;
            c.OnIndexChanged(oldValue, newValue);
        }
Ejemplo n.º 2
0
        private void CanvasWithPhoto_IndexChanged(object sender, RoutedPropertyChangedEventArgs <int> e)
        {
            CanvasWithPhoto c = (CanvasWithPhoto)sender;

            UpdataRadioBtn(c.Index);
        }