//---------------------------------------------------------- // 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); }