Com.Aote.ObjectTools.GeneralObject.OnIsInitChanged C# (CSharp) 메소드

OnIsInitChanged() 개인적인 정적인 메소드

private static OnIsInitChanged ( DependencyObject dp, System.Windows.DependencyPropertyChangedEventArgs args ) : void
dp System.Windows.DependencyObject
args System.Windows.DependencyPropertyChangedEventArgs
리턴 void
        private static void OnIsInitChanged(DependencyObject dp, DependencyPropertyChangedEventArgs args)
        {
            GeneralObject go = (GeneralObject)dp;
            //如果指明Path改变时,不加载数据,则只有当外界要求,加载数据时,才加载
            if (go.IsInit)
            {
                go.New();
            }
        }