private System.IAsyncResult OnBeginSetMatrixEntity(object[] inValues, System.AsyncCallback callback, object asyncState) { string conferenceName = ((string)(inValues[0])); string sharer = ((string)(inValues[1])); ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut conferenceMatrixOutPut = ((ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut)(inValues[2])); return(this.BeginSetMatrixEntity(conferenceName, sharer, conferenceMatrixOutPut, callback, asyncState)); }
public void SetMatrixEntityAsync(string conferenceName, string sharer, ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut conferenceMatrixOutPut, object userState) { if ((this.onBeginSetMatrixEntityDelegate == null)) { this.onBeginSetMatrixEntityDelegate = new BeginOperationDelegate(this.OnBeginSetMatrixEntity); } if ((this.onEndSetMatrixEntityDelegate == null)) { this.onEndSetMatrixEntityDelegate = new EndOperationDelegate(this.OnEndSetMatrixEntity); } if ((this.onSetMatrixEntityCompletedDelegate == null)) { this.onSetMatrixEntityCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetMatrixEntityCompleted); } base.InvokeAsync(this.onBeginSetMatrixEntityDelegate, new object[] { conferenceName, sharer, conferenceMatrixOutPut }, this.onEndSetMatrixEntityDelegate, this.onSetMatrixEntityCompletedDelegate, userState); }
/// <summary> /// 投影座位1 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void btnSetting_Click(object sender, RoutedEventArgs e) { try { Button btn = (sender as Button); string UserName = Convert.ToString(btn.Content); ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut outputType = ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut.OutPut1; if (this.IsLargeScreen) { outputType = ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut.OutPut1; } else { outputType = ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut.OutPut2; } //矩阵应用 ModelManage.ConferenceMatrix.MatrixSetting(Constant.ConferenceName, UserName, outputType, new Action <bool>((successed) => { })); studiom.MatrixChangeType matrixChangeType = studiom.MatrixChangeType.OneToOne; if (btn.Tag != null) { if (this.IsLargeScreen) { matrixChangeType = GetSeatMatrixChangeType(Convert.ToInt32(btn.Tag), 0); } else { matrixChangeType = GetSeatMatrixChangeType(Convert.ToInt32(btn.Tag), 1); } } this.MaxtriChangeCenter(matrixChangeType); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } }
public void SetMatrixEntityAsync(string conferenceName, string sharer, ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut conferenceMatrixOutPut) { this.SetMatrixEntityAsync(conferenceName, sharer, conferenceMatrixOutPut, null); }
public System.IAsyncResult BeginSetMatrixEntity(string conferenceName, string sharer, ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut conferenceMatrixOutPut, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSetMatrixEntity(conferenceName, sharer, conferenceMatrixOutPut, callback, asyncState)); }
public void SetMatrixEntity(string conferenceName, string sharer, ConferenceModel.ConferenceMatrixWebservice.ConferenceMatrixOutPut conferenceMatrixOutPut) { base.Channel.SetMatrixEntity(conferenceName, sharer, conferenceMatrixOutPut); }