您当前的位置: 首页 > 

暂无认证

  • 0浏览

    0关注

    100401博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

[DevExpress]TreeListLookUpEdit带checkbox之经典运用

发布时间:2016-02-22 10:34:28 ,浏览量:0

上代码:

public partial class TreeListLookUpEdit : DevExpress.XtraEditors.XtraForm
    {

        private string _KeyName;
        public string KeyName
        {
            get { return lblKeyName.Text; }
            set { lblKeyName.Text = value; }
        }
        private string _KeyID;

        public string KeyID
        {
            get { return lblKeyID.Text; }
            set { lblKeyID.Text= value; }
        }
        public TreeListLookUpEdit()
        {
            InitializeComponent();
        }
        private void TreeListLookUpEdit_Load(object sender, EventArgs e)
        {
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (DesignMode) return;
            txtRole.Properties.TreeList.OptionsView.ShowCheckBoxes = true;
            txtRoleBind();
            DefaultChecked("3");
            GetSelectedRoleIDandName();
关注
打赏
1655516835
查看更多评论
立即登录/注册

微信扫码登录

0.0526s