Ejemplo n.º 1
0
        private static void OnVisibilityChanged(DependencyObject target, DependencyPropertyChangedEventArgs e)
        {
            NotifyIcon control = (NotifyIcon)target;

            control.notifyIcon.Visible = control.Visibility == Visibility.Visible;
        }
Ejemplo n.º 2
0
        private static void OnTextChanged(DependencyObject target, DependencyPropertyChangedEventArgs e)
        {
            NotifyIcon control = (NotifyIcon)target;

            control.notifyIcon.Text = control.Text;
        }