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; }
public static void OnHtmlChanged(DependencyObject s, DependencyPropertyChangedEventArgs e) { HtmlTextBlock sender = (HtmlTextBlock)s; sender.Parse((string)e.NewValue); }