예제 #1
0
        public ErrorPanel()
        {
            InitializeComponent();

            DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(ErrorPanel_DataContextChanged);
        }
예제 #2
0
파일: MenuItem.cs 프로젝트: JaykeBird/ssui
 public static void DetachEnabledHandler(this System.Windows.Controls.MenuItem mi, System.Windows.DependencyPropertyChangedEventHandler eh)
 {
     mi.IsEnabledChanged -= eh;
 }