Exemplo n.º 1
0
        private static void OnStateChangeCallBack(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            System.Data.Entity.EntityState s = (System.Data.Entity.EntityState)e.NewValue;
            toolBar toolBar = sender as toolBar;

            toolBar.OnStatePropertyChanged(s);
        }
Exemplo n.º 2
0
        private static void OnStatusChangeCallBack(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            string  s       = (string)e.NewValue;
            toolBar toolBar = sender as toolBar;

            toolBar.OnStatusPropertyChanged(s);
        }