是不是要什么高深的技术,才能做一个DVD播放器?我一直想用C#,自己做一个DVD的播放器。请问这个如何实现?谢谢!
解决方案 »
- CellFormatting 不统计Visible=false的单元格么?
- DataGridView 按Delete删除正在编辑单元格内容
- 加密狗的作用及使用
- c#生成XML文件中的声明<xml version="1.0" encoding="UTF-8">没有显示出来
- 存储数据,数据名称和数据类型可以动态添加,c#winform中用什么比较好,datatable排除在外
- 如何写一个可以序列化的接口 谢谢~
- 高手进!帮帮我,谢谢(IE显示 .eml文件问题)。
- 制作安装程序
- 什么错误?
- 如何得到datagrid中某一单元格控件的句柄
- GET方式,i如何利用httpwebresponse获取新浪页面的cookie
- 使用checkbox在datagridview里选择同时删除多行的问题
dvd,flash,vcd都有
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;namespace WindowsApplication50
{
public partial class 播放DVD文件 : Form
{
public 播放DVD文件()
{
InitializeComponent();
} private void button2_Click(object sender, System.EventArgs e)
{//播放DVD文件
try
{
this.axMSWebDVD1.Play();
}
catch (Exception Err)
{
MessageBox.Show("播放错误:" + Err.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
private void button4_Click(object sender, System.EventArgs e)
{//暂停
this.axMSWebDVD1.Pause();
}
private void button5_Click(object sender, System.EventArgs e)
{//停止播放
this.axMSWebDVD1.Stop();
}
private void button3_Click(object sender, System.EventArgs e)
{//光驱
this.axMSWebDVD1.Eject();
} private void 播放DVD文件_Load(object sender, EventArgs e)
{
//选择‘工具箱’—‘组件’,右击,选择‘添加/移除项’—‘COM组件‘把“MSWebDVD”这个控件加入到控件列表中,就可以使用了。
}
}
}