public void Execute(object parameter) { if (string.IsNullOrEmpty(this.ConsultationViewModel.REPLYCONTENT)) { ComfirmWindow.ConfirmationBox("警告", "回复内容不能为空", Utility.GetResourceStr("CONFIRMBUTTON")); return; } if (this.WaitingHandler != null) { this.WaitingHandler(this, null); } SMT.Saas.Tools.FlowWFService.ServiceClient client = new ServiceClient(); client.ReplyConsultationCompleted += new EventHandler<AsyncCompletedEventArgs>(client_ReplyConsultationCompleted); client.ReplyConsultationAsync(this.ConsultationViewModel.FlowConsultation, this.ConsultationViewModel.SubmmitData); client.CloseAsync(); }