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.Window1)(target)); return; case 2: this.NotifyIcon = ((WPFTaskbarNotifier.NotifyIcon)(target)); #line 20 "..\..\Window1.xaml" this.NotifyIcon.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.NotifyIcon_DoubleClick); #line default #line hidden return; case 3: #line 23 "..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconOpen_Click); #line default #line hidden return; case 4: #line 26 "..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconExit_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.Window1)(target)); return; case 2: this.NotifyIcon = ((WPFTaskbarNotifier.NotifyIcon)(target)); #line 20 "..\..\..\Window1.xaml" this.NotifyIcon.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.NotifyIcon_DoubleClick); #line default #line hidden return; case 3: #line 23 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconOpen_Click); #line default #line hidden return; case 4: #line 24 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconConfigure_Click); #line default #line hidden return; case 5: #line 26 "..\..\..\Window1.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NotifyIconExit_Click); #line default #line hidden return; case 6: this.TitleTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.MessageTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 51 "..\..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click); #line default #line hidden return; case 9: #line 52 "..\..\..\Window1.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearAll_Click); #line default #line hidden return; } this._contentLoaded = true; }