private void cmdSend_Click(object sender, System.EventArgs e) { if (_jid != null) { sid = fm.Send(_jid, lblFileName.Text, txtDescription.Text); } else { foreach (var item in _arrjid) { sid = fm.Send(_jid, lblFileName.Text, txtDescription.Text); } } cmdSend.Enabled = cmdChooseFile.Enabled = false; }
private void cmdSend_Click(object sender, System.EventArgs e) { sid = fm.Send(_jid, lblFileName.Text, txtDescription.Text); cmdSend.Enabled = cmdChooseFile.Enabled = false; }