Beispiel #1
0
        private static void OnControlsAreEnabledChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Add_Instance add_Instance = o as Add_Instance;

            if (add_Instance != null)
            {
                add_Instance.OnControlsAreEnabledChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }
Beispiel #2
0
        private static void OnStatusMessage1Changed(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            Add_Instance add_Instance = o as Add_Instance;

            if (add_Instance != null)
            {
                add_Instance.OnStatusMessage1Changed((string)e.OldValue, (string)e.NewValue);
            }
        }
Beispiel #3
0
        private static object OnCoerceControlsAreEnabled(DependencyObject o, object value)
        {
            Add_Instance add_Instance = o as Add_Instance;

            if (add_Instance != null)
            {
                return(add_Instance.OnCoerceControlsAreEnabled((bool)value));
            }
            else
            {
                return(value);
            }
        }
Beispiel #4
0
        private static object OnCoerceStatusMessage1(DependencyObject o, object value)
        {
            Add_Instance add_Instance = o as Add_Instance;

            if (add_Instance != null)
            {
                return(add_Instance.OnCoerceStatusMessage1((string)value));
            }
            else
            {
                return(value);
            }
        }