Exemplo n.º 1
0
 void m_networkAnimation_NetworkUnavailable(object sender, NetworkStatusChangedEventArgs e)
 {
     m_notifyIcon.Icon = m_netIconImage.IconDown();
     if (e.StatusChanged)
     {
         m_notifyIcon.ShowBalloonTip(5000,
                                     Application.ProductName, "You are not connected to a network.", ToolTipIcon.Warning);
     }
 }
Exemplo n.º 2
0
 void m_networkAnimation_NetworkAvailable(object sender, NetworkStatusChangedEventArgs e)
 {
     m_notifyIcon.Icon = m_netIconImage.IconNet();
     if (e.StatusChanged)
     {
         m_notifyIcon.ShowBalloonTip(1000,
                                     Application.ProductName, "You are now connected.", ToolTipIcon.Info);
     }
 }