Windows Media Player COM(ActiveX)组件
2021-02-18 14:19
标签:repeat tom loop creat open margin vertica att media Windows Media Player COM(ActiveX)组件 标签:repeat tom loop creat open margin vertica att media 原文地址:https://www.cnblogs.com/basstk/p/8340976.htmlimport win.ui;
import fsys.dlg;
/*DSG{{*/
var winform = ..win.form(text="AAuto Form";right=322;bottom=157)
winform.add(
static={cls="static";left=5;top=5;right=314;bottom=153;db=1;dl=1;dr=1;dt=1;edge=1;transparent=1;z=1}
)
/*}}*/
//创建控件
var wmplay = winform.static.createEmbed("{6BF52A52-394A-11d3-B153-00C04F79FAA6}");
var filepath=fsys.dlg.open("mp3音乐|*.mp3","打开");
wmplay._object.Url = filepath;
winform.show()
win.loopMessage();
import
win.ui;
import
fsys.dlg;
/*DSG{{*/
var
winform = ..win.form(text=
"AAuto Form"
;right=322;bottom=157)
winform.add(
static={cls=
"static"
;left=5;top=5;right=314;bottom=153;db=1;dl=1;dr=1;dt=1;edge=1;transparent=1;z=1}
)
/*}}*/
//创建控件
var
wmplay = winform.static.createEmbed(
"{6BF52A52-394A-11d3-B153-00C04F79FAA6}"
);
var
filepath=fsys.dlg.open(
"mp3音乐|*.mp3"
,
"打开"
);
wmplay._object.Url = filepath;
winform.show()
win.loopMessage();
下一篇:C# 增加 删除 更新 方法
文章标题:Windows Media Player COM(ActiveX)组件
文章链接:http://soscw.com/index.php/essay/57083.html