/// <summary> /// 画面を連結して動画を再生 /// </summary> void MoviePlay_Join() { int i = _main.joinDisplay_no; if (_main.dispList[i]._moviePath == string.Empty) { return; } _movieDisplay[0] = new MoviePlay(_main, this, i); _movieDisplay[0].Left = _main.joinDisplay_pos[0]; _movieDisplay[0].Top = _main.joinDisplay_pos[1]; _movieDisplay[0].Width = _main.joinDisplay_size[0]; _movieDisplay[0].Height = _main.joinDisplay_size[1]; _movieDisplay[0].SetMovie(); _moviePlayCnt = 1; _movieDisplay[i].Show(); //AddLog("[" + i + "] MovieDisplayJoin Show"); }
/// <summary> /// 動画をそれぞれ指定した画面で再生 /// </summary> void MoviePlay_Single() { for (int i = 0; i < _main._dispCnt; i++) { if (_main.dispList[i]._moviePath == string.Empty) { continue; } _movieDisplay[_moviePlayCnt] = new MoviePlay(_main, this, i); _movieDisplay[_moviePlayCnt].Left = _main.dispList[i]._pos[0]; _movieDisplay[_moviePlayCnt].Top = _main.dispList[i]._pos[1]; _movieDisplay[_moviePlayCnt].Width = _main.dispList[i]._size[0]; _movieDisplay[_moviePlayCnt].Height = _main.dispList[i]._size[1]; _movieDisplay[_moviePlayCnt].SetMovie(); _moviePlayCnt++; } for (int i = 0; i < _moviePlayCnt; i++) { _movieDisplay[i].Show(); //AddLog("[" + i + "] MovieDisplaySingle Show"); } }