摘要:
用户自定义控件View Code public partial class GirdViewUserControl : DevExpress.XtraEditors.XtraUserControl { public event EventHandler MyKeyDown; public event EventHandler MyDoubleClick; public GirdViewUserControl() { InitializeComponent(); MyGridView.At... 阅读全文
摘要:
private void textEdit1_KeyDown(object sender, KeyEventArgs e) { string path = Application.StartupPath + "\\" + this.textEdit2.Text.Trim(); if (e.KeyCode == Keys.Enter) { if (!File.Exists(path)) { XtraMessageBox... 阅读全文