aardio调用devexpress内置的摄像头功能
By
admin
at 2022-11-09 • 0人收藏 • 673人看过
import win.ui; import fonts.fontAwesome /*DSG{{*/ var winform = win.form(text="aardio form";right=778;bottom=481) winform.add( custom={cls="custom";text='\uF05A 正在加载....';left=60;top=40;right=711;bottom=433;bgcolor=12639424;center=1;db=1;dl=1;dr=1;dt=1;font=LOGFONT(h=-40;name='FontAwesome');z=1} ) /*}}*/ winform.show(); import dotNet; import System.Windows.Forms; var GridViewdll = dotNet.load("\DevExpress.XtraEditors.v22.1.dll"); //绑定窗体 var cameraControl1 = GridViewdll.new("DevExpress.XtraEditors.Camera.CameraControl"); cameraControl1.VideoStretchMode = 3; System.Windows.Forms.CreateEmbed(cameraControl1,winform.custom); win.loopMessage();
登录后方可回帖