protected void GetClinicOfficeUserInfo(object obj) { if (this.InvokeRequired) { this.BeginInvoke(new Action <object>(GetClinicOfficeUserInfo), new object[] { null }); } else { panel1.Controls.Clear(); _waitCtl.SetMessage("获取诊区科室和用户信息...", 0); panel1.Controls.Add(_waitCtl); UserClinicOfficeInfoHandler handler = new UserClinicOfficeInfoHandler(GetInfosSelectHospital); handler.BeginInvoke(_user.HisCookie, new AsyncCallback(GetUserInfoOperateCallBack), null); } }
protected void GetClinicOfficeUserInfo(object obj) { if (this.InvokeRequired) { this.BeginInvoke(new Action<object>(GetClinicOfficeUserInfo), new object[] { null }); } else { panel1.Controls.Clear(); _waitCtl.SetMessage("获取诊区科室和用户信息...", 0); panel1.Controls.Add(_waitCtl); UserClinicOfficeInfoHandler handler = new UserClinicOfficeInfoHandler(GetInfosSelectHospital); handler.BeginInvoke(_user.HisCookie, new AsyncCallback(GetUserInfoOperateCallBack), null); } }