void nd_OnConnectedBroadbandGsm(object sender, NetworkDetectorEventArgs e)
 {
     listBox1.Items.Insert(0, "OnConnectedBroadbandGsm " + System.DateTime.Now.ToString("T") + " >>>>>>>>");
 }
 void nd_OnZuneConnected(object sender, NetworkDetectorEventArgs e)
 {
     listBox1.Items.Insert(0, "OnZuneConnected ->Nettype:" + e.NetType.ToString());
 }
 void nd_OnAsyncGetNetworkTypeCompleted(object sender, NetworkDetectorEventArgs e)
 {
     listBox1.Items.Insert(0, "OnAsyncGetNetworkTypeCompleted " + System.DateTime.Now.ToString("T") + " >>>>>>>>");
 }
 void nd_OnLostNetworkType(object sender, NetworkDetectorEventArgs e)
 {
     listBox1.Items.Insert(0, "OnLostNetworkType ->previous Nettype:" + e.NetType.ToString());
 }
 protected void RaiseNotify(EventHandler<NetworkDetectorEventArgs> handler, NetworkDetectorEventArgs e)
 {
     if (handler != null)
     {
         handler(this, e);
     }
 }