Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.notifyIcon = ((TaskbarNotification.TaskbarIcon)(target));
         return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.notifyIcon = ((TaskbarNotification.TaskbarIcon)(target));

            #line 20 "..\..\..\TaskbarWindow.xaml"
                this.notifyIcon.TrayLeftMouseDown += new System.Windows.RoutedEventHandler(this.MyNotifyIcon_TrayLeftMouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }