【问题标题】:windows phone emulator showing chrome显示 chrome 的 windows phone 模拟器
【发布时间】:2012-09-17 12:09:51
【问题描述】:

如何删除 Windows phone Emulator chrome?我的 windows phone 模拟器在模拟器的右上角显示 chrome。我想删除它。如何删除?

我想删除右上角的数字。

【问题讨论】:

  • 不确定我是否关注?你想删除什么?也许截图可以说明您的问题?
  • 看图让你了解

标签: windows-phone-7.1 windows-phone-7-emulator


【解决方案1】:

这些数字用于调试时的诊断。在您的 App.xaml.cs 中会有一个块(在构造函数中):

// Show graphics profiling information while debugging.
if (System.Diagnostics.Debugger.IsAttached)
{
    // Display the current frame rate counters.
    Application.Current.Host.Settings.EnableFrameRateCounter = true;

评论留置权或将其设置为 false 将在调试时删除计数器。在任何一种情况下,在调试器之外调用您的应用程序时都不会显示这些信息。

【讨论】:

    猜你喜欢
    • 2018-06-03
    • 1970-01-01
    • 2012-03-08
    • 1970-01-01
    • 1970-01-01
    • 2013-10-08
    • 1970-01-01
    • 2023-03-07
    • 2023-03-19
    相关资源
    最近更新 更多