删除文本文档中的文本。 [英] Remove text in the text document.

查看:87
本文介绍了删除文本文档中的文本。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中单击按钮时,状态将保存在文本文档中。



当我再次单击按钮时,状态将保存在文本文档中以及之前的状态。



现在我想删除文本文档中的先前状态。



我正在使用C#窗体。





任何人都可以帮我解决这个问题。

< br $>


谢谢,

Karthik。

In my application when a button is click the status is saved in the text document.

When i click button one moretime the status is saved in the text document along with the previous status.

Now i want to remove the previous status in the text document.

I am using C# windows forms.


Can anyone help me to solve this problem.


Thanks,
Karthik.

推荐答案

请参阅: http://msdn.microsoft.com/en- us / library / system.windows.forms.textboxbase.clear(v = vs.110).aspx [ ^ ]。



您对公共方法和财产的总数有任何线索吗?在整个.NET FCL?如果您打算就每个属性问一个单独的问题,那么您也无需费心去寻找它。



-SA


这篇关于删除文本文档中的文本。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆