摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
暂无 阅读全文
摘要:
组件EventLogusing System.Diagnostics;private void button6_Click(object sender, EventArgs e) { if (EventLog.SourceExists("source1")) { EventLog.DeleteEventSource("source1"); EventLog.CreateEventSource("s... 阅读全文
摘要:
ErrorProvider实际上并不是一个控件,而是一个组件。当把该组件拖放到设计器上时,它会显示在设计器下方的组件栏中。当存在一个错误条件时,ErrorProvider可以在控件的旁边显示一个图标。假定有一个TextBox控件要验证正数。如果用户试图输入字符时,就必须通知用户所允许的值,需要改变输入的值。有效值的检查在文本框的Validating事件中进行。如果验证失败,就调用SetError方... 阅读全文
摘要:
暂无 阅读全文