怎么样实现回车移动到下个控件的功能?
在内嵌编辑控件的DevExpress XtraBar中实现回车移动到下个控件的功能,如果下一个控件是Button,则执行Click代码.如下图:
代码:
usingSystem;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Text;
usingSystem.Windows.Forms;
usingDevExpress.XtraBars;
usingDevExpress.XtraBars.ViewInfo;
usingDevExpress.XtraEditors;
usingDevExpress.XtraEditors.Controls;
usingDevExpress.XtraEditors.Repository;
usingDevExpress.Utils;
构造函数
工具栏回车移动光标
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Text;
usingSystem.Windows.Forms;
usingDevExpress.XtraBars;
usingDevExpress.XtraBars.ViewInfo;
usingDevExpress.XtraEditors;
usingDevExpress.XtraEditors.Controls;
usingDevExpress.XtraEditors.Repository;
usingDevExpress.Utils;
构造函数
工具栏回车移动光标
本文地址:http://www.45fan.com/a/question/73114.html