int DevolveReaderInfo(string strSourceReaderBarcode, string strTargetReaderBarcode, out string strError) { strError = ""; stop.OnStop += new StopEventHandler(this.DoStop); stop.Initial("正在转移读者借阅信息 ..."); stop.BeginLoop(); this.Update(); this.MainForm.Update(); this.EnableControls(false); try { long lRet = Channel.DevolveReaderInfo( stop, strSourceReaderBarcode, strTargetReaderBarcode, out strError); if (lRet == -1) { return(-1); } return((int)lRet); } finally { this.EnableControls(true); stop.EndLoop(); stop.OnStop -= new StopEventHandler(this.DoStop); stop.Initial(""); } }