Пример #1
0
 //----------------------------------------------------------
 // RecvFileComplete Handler - indicates we received a file
 //----------------------------------------------------------
 public void OnRecvFile(RecvFileInfo info)
 {
     MessageBox.Show(String.Format("Received file '{0}' from {1}",
                                   info.FileName, info.DeviceName),
                     "FILE ALERT!", MessageBoxButtons.OK,
                     MessageBoxIcon.Exclamation,
                     MessageBoxDefaultButton.Button1);
 }
Пример #2
0
 //----------------------------------------------------------
 // RecvFileComplete Handler - indicates we received a file
 //----------------------------------------------------------
 public void OnRecvFile(RecvFileInfo info)
 {
     MessageBox.Show(String.Format("Received file '{0}' from {1}",
                                   info.FileName, info.DeviceName),
                     "FILE ALERT!", MessageBoxButtons.OK,
                     MessageBoxIcon.Exclamation,
                     MessageBoxDefaultButton.Button1);
 }