这个是为啥捏?
private void responseGetTableInfo(GetTableInfoResponseMsg getTableInfoResponseMsg)
{
dgv1.DataSource = getTableInfoResponseMsg.ChessResultBeans; //这里是绑定数据的。
if (getTableInfoResponseMsg != null && getTableInfoResponseMsg.ChessResultBeans != null)
{
//播放声音
if (chkPlaySound.Checked && rdoOpen.Checked)
{
if (soundPlayer == null)
{
soundPlayer = new SoundPlayer();
soundPlayer.SoundLocation = Application.StartupPath + "\\299.wav";
soundPlayer.Load();
}
soundPlayer.Play();
}
}
}
private void responseGetTableInfo(GetTableInfoResponseMsg getTableInfoResponseMsg)
{
dgv1.DataSource = getTableInfoResponseMsg.ChessResultBeans; //这里是绑定数据的。
if (getTableInfoResponseMsg != null && getTableInfoResponseMsg.ChessResultBeans != null)
{
//播放声音
if (chkPlaySound.Checked && rdoOpen.Checked)
{
if (soundPlayer == null)
{
soundPlayer = new SoundPlayer();
soundPlayer.SoundLocation = Application.StartupPath + "\\299.wav";
soundPlayer.Load();
}
soundPlayer.Play();
}
}
}
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/