首页 新闻 会员 周边 捐助

有哪位大神帮我详细注释这段代码,感谢!这段代码没理解

0
[待解决问题]

if (btnStart.Tag.ToString() == "0")
{
if (_VedioAndController == null)
_VedioAndController = new IpCameraHelper(GetConfigValue("RoundVedioIp"), GetConfigValue("RoundVedioUserName"), GetConfigValue("RoundVedioPassWord"),
new Action<ImageEventArgs>((arg) =>
{
img.Source = arg.FrameReadyEventArgs.BitmapImage;
}));

_VedioAndController.StartProcessing();

btnStart.Content = "关闭";
btnStart.Tag = "1";
}
else
{
if (_VedioAndController != null)
_VedioAndController.StopProcessing();

btnStart.Content = "打开";
btnStart.Tag = "0";

CodeLee0106的主页 CodeLee0106 | 菜鸟二级 | 园豆:202
提问于:2016-12-04 19:16
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册