示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cbxFunc = ((System.Windows.Controls.ComboBox)(target));
     
     #line 8 "..\..\Help.xaml"
     this.cbxFunc.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxFunc_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblHelp = ((HtmlTextBlock.HtmlTextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        public static void OnHtmlChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
        {
            HtmlTextBlock sender = (HtmlTextBlock)s;

            sender.Parse((string)e.NewValue);
        }