摘要:
C#获取插入U盘盘符 阅读全文
摘要:
using System;
using System.Text;
using System.Runtime.InteropServices;
class CloseCD
{
//API声明
[DllImport( "winmm.dll", EntryPoint="mciSendStringA", CharSet=CharSet.Ansi )]
protected static extern int mciSendString( string lpstrCommand, StringBuilder lpstrReturnString, int uReturnLength, IntPtr hwndCallback );
public static void Main()
{
int ret = mciSendString( "set cdaudio door open", null, 0, IntPtr.Zero );//打开光区
Console.ReadLine();
ret = mciSendSt 阅读全文
摘要:
那一天
我不得已上路
为不安分的心
为自尊的生存
为自我的证明
路上的心酸
阅读全文
摘要:
Text Representation
文本表示
Any text that we work with has to be represented in some manner in the memory, before it is edited. There are only a few alternative representations used in editors, which are divided into two categories:
任何用来工作的文档在编辑之前,都必须以某种格式在内存中表示。与编辑器中的格式几乎完全不同,这是两个不同范畴中的表示。
阅读全文
摘要:
【原文】
In this chapter, we will look at the various issues concerned with managing documents in the SharpDevelop IDE. In this chapter's context, the term 'document management' means handling the internal representation of the text to be edited. The efficient management of text is important to ensure that the users can use the IDE conveniently. A bad text representation will slow down the editor's user interface and alienate the users.
在这一章,我们将会看到在 SharpDevelop IDE 中与管理文档有关的各种议题。以 阅读全文
摘要:
最近开始学习.Net,遇到了一个比较不错的开源的IDE SharpDevelop。这个开发工具是使用C#开发的,比较吸引我的一点就是它是采用了和Eclipse类似的插件技术来实现整个系统的。而这个插件系统是我最感兴趣的地方,因此开始了一段代码的研究。在本篇之后,我会陆续把我研究的心得写下来。由于是在网吧上网,有诸多不便,因此可能会拖比较长的时间。 阅读全文
摘要:
母亲用身体护住婴儿 手机留下感人遗言 阅读全文
摘要:
孩子快抓紧妈妈的手
去天堂的路太黑了
妈妈怕你碰了头
快
抓紧妈妈的手
让妈妈陪你走
妈妈
阅读全文