void _host_ConnectedServer(object sender, ankoPlugin2.ReceiveContentStatusEventArgs e) { // 放送に接続したときに起きる Non Thread Safeのとき有 /* * if(this.InvokeRequired) { * Invoke(new Action<object, ankoPlugin2.ReceiveContentStatusEventArgs>(_host_ConnectedServer),sender, e); * return; * } * //*/ }
void _host_ReceiveContentStatus(object sender, ankoPlugin2.ReceiveContentStatusEventArgs e) { // 放送の情報を取得したときに起きる 放送テスト時間のときは1秒毎にこのイベントが起きるので注意! // 2.0.35.5以降1秒毎に起きるのかは知りません Non Thread Safeのとき有かも /* * if(this.InvokeRequired) { * Invoke(new Action<object, ankoPlugin2.ReceiveContentStatusEventArgs>(_host_ReceiveContentStatus)); * return; * } * //*/ }