예제 #1
0
        private HelpLineBehavior EnsureBehaviorExists(IHtmlEditor key)
        {
            HelpLineBehavior b = (HelpLineBehavior)behaviors[key];

            if (b == null)
            {
                b = new HelpLineBehavior(key as IHtmlEditor, EnsurePropertiesExists(key), this);
                behaviors[key] = b;
            }
            return(b);
        }
예제 #2
0
 internal void SetBehaviorReference(HelpLineBehavior behavior)
 {
     this.behavior = behavior;
 }