示例#1
0
        private static void OnSelectObjectChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ScorePropertyGrid propertyGrid = o as ScorePropertyGrid;

            if (propertyGrid != null)
            {
                propertyGrid.OnSelectObjectChanged((ScoreObject)e.OldValue, (ScoreObject)e.NewValue);
            }
        }
示例#2
0
        private static void OnNameColumnWidthChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ScorePropertyGrid propertyGrid = o as ScorePropertyGrid;

            if (propertyGrid != null)
            {
                propertyGrid.OnNameColumnWidthChanged((double)e.OldValue, (double)e.NewValue);
            }
        }