欢迎来到易学考试网 易学考试官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-511)

单项选择题

You are developing a Windows Presentation Foundation (WPF) application to play audio files. You add MediaElement mediaElement1 and a Button control named btnPlayAudio to the design surface. The MediaElement co.. audio file. The LoadedBehavior attribute is set to Manual.
You add the following code to the main Window.

You set the command of the button to MediaCommands.Play.
You need to ensure that the application will play the audio file when the button is pressed.
What should you add to constructor of the main window ?()

    A.
    B.
    C.
    D.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题