void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThisControl = ((WPFTaskbarNotifierExample.ExampleTaskbarNotifier)(target)); return; case 2: this.NotifyIcon = ((WPFTaskbarNotifier.NotifyIcon)(target)); #line 38 "..\..\..\ExampleTaskbarNotifier.xaml" this.NotifyIcon.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.NotifyIcon_DoubleClick); #line default #line hidden return; case 3: #line 41 "..\..\..\ExampleTaskbarNotifier.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconOpen_Click); #line default #line hidden return; case 4: #line 44 "..\..\..\ExampleTaskbarNotifier.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconExit_Click); #line default #line hidden return; case 5: this.TitleText = ((System.Windows.Controls.Label)(target)); return; case 6: #line 71 "..\..\..\ExampleTaskbarNotifier.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HideButton_Click); #line default #line hidden return; case 7: #line 133 "..\..\..\ExampleTaskbarNotifier.xaml" ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.Item_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ThisControl = ((WPFTaskbarNotifierExample.ExampleTaskbarNotifier)(target)); return; case 3: #line 52 "..\..\ExampleTaskbarNotifier.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HideButton_Click); #line default #line hidden return; case 4: this.ItemsList = ((System.Windows.Controls.ItemsControl)(target)); return; } this._contentLoaded = true; }