コード例 #1
0
 void Device_IPodConnected(SharePodLib.IPod iPodin)
 {
     if (MessageBox.Show("iPod/iPhone detected ! Do you want to connected to it ?", "iPod/iPhone detected", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
     {
         this.iPod          = iPodin;
         NI.BalloonTipIcon  = ToolTipIcon.Info;
         NI.BalloonTipText  = "Device connected.";
         NI.BalloonTipTitle = "Device connected";
         NI.ShowBalloonTip(3);
         //statusIpod.Text = iPod.DeviceInfo.SerialNumber.ToString();
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: psymon75/MyPodManager
 void Device_IPodConnected(SharePodLib.IPod iPodin)
 {
     if (MessageBox.Show("iPod/iPhone detected ! Do you want to connected to it ?", "iPod/iPhone detected", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
     {
         this.iPod = iPodin;
         NI.BalloonTipIcon = ToolTipIcon.Info;
         NI.BalloonTipText = "Device connected.";
         NI.BalloonTipTitle = "Device connected";
         NI.ShowBalloonTip(3);
         //statusIpod.Text = iPod.DeviceInfo.SerialNumber.ToString();
     }
 }
コード例 #3
0
ファイル: Form1.cs プロジェクト: psymon75/MyPodManager
 void Device_IPodDisconnected(EventArgs args)
 {
     MessageBox.Show("iPod/iPhone disconnected !", "iPod/iPhone disconnected", MessageBoxButtons.OK, MessageBoxIcon.Information);
     iPod = null;
 }
コード例 #4
0
 void Device_IPodDisconnected(EventArgs args)
 {
     MessageBox.Show("iPod/iPhone disconnected !", "iPod/iPhone disconnected", MessageBoxButtons.OK, MessageBoxIcon.Information);
     iPod = null;
 }