示例#1
0
        internal void Initialize()
        {
            if (!initialized)
            {
                if (!Server.OfflineMode)
                {
                    //Looking for a better place to do this
                    PropertyRoute.SetFindImplementationsCallback(Navigator.FindImplementations);
                }

                EventManager.RegisterClassHandler(typeof(TextBox), TextBox.GotFocusEvent, new RoutedEventHandler(TextBox_GotFocus));


                TaskNormalWindow += TaskSetIconNormalWindow;

                TaskNormalWindow += TaskSetLabelNormalWindow;

                if (Initializing != null)
                {
                    Initializing();
                }

                initialized = true;
            }
        }
示例#2
0
 static Schema()
 {
     PropertyRoute.SetFindImplementationsCallback(pr => Schema.Current.FindImplementations(pr));
     ModifiableEntity.SetIsRetrievingFunc(() => EntityCache.HasRetriever);
 }