小编Jel*_*llo的帖子

我在visual studio 2010中选项卡时不想要空格

每当我在VS 2010中添加一个选项卡时,它会放置空格.我知道你可以通过进入VS 2008选项解决这个问题,但我无法弄清楚如何在VS 2010中解决这个问题.

tabs spaces visual-studio-2010

44
推荐指数
1
解决办法
2万
查看次数

如何在Android Eclipse开发中更改文件名

我正在关注Sams出版的这本书,"24小时自学Android应用程序开发,第2版".

我在第108页,它告诉我将"main.xml"布局文件更改为"splash.xml".我尝试点击包浏览器中的文件名,没有.我还尝试右键单击包浏览器中的文件名,并且没有重命名文件的选项.我想到的另一种方法是在Windows资源管理器中更改它.我是否必须在Windows资源管理器中更改它,还是有更好的方法?

eclipse filenames android

3
推荐指数
1
解决办法
7262
查看次数

C#中的简单XML读取不起作用

这是我正在尝试阅读的XML:

<events>

<event>
    <text>You tire has a hole.</text>
    <answer cost="50">patch it</answer>
    <answer cost="100">replace it</answer>
    <answer cost="0">use your spare tire</answer>
</event>

<event>
    <text>It's your friend's birthday, everyone's going out to a fancy restaurant.</text>
    <answer cost="60">go to the restaurant</answer>
    <answer cost="30">go to the restaurant, but order something really cheap</answer>
    <answer cost="0">don't go</answer>
</event>

<event>
    <text>Your winter coat's zipper is damaged. Replacing it is costly.</text>
    <answer cost="50">replace it</answer>
    <answer cost="0">leave it like that</answer>
</event>
Run Code Online (Sandbox Code Playgroud)

这是我正在尝试运行的代码:

    while (reader.Read())
            {
                if (reader.NodeType == XmlNodeType.Element && …
Run Code Online (Sandbox Code Playgroud)

c# xml

2
推荐指数
1
解决办法
616
查看次数

标签 统计

android ×1

c# ×1

eclipse ×1

filenames ×1

spaces ×1

tabs ×1

visual-studio-2010 ×1

xml ×1