欢迎来到传世资源网!
加载中...
正在加载,请耐心等待...
本站为收藏、学习站,如有侵权,请联系管理员删除!

自定义表单设计器演示版源码

介绍 评论 失效链接反馈

 自定义表单设计器演示版源码自定义表单设计器演示版源码 C#文件解析和处理-第1张private Dictionary<string, ModelDesign> _modelHandlers = null;   //所有模板列表
        private ModelDesign _curModelDesign = null;                      //当前显示模板

        private void Form_ModelDesign_Load(object sender, EventArgs e)
        {
            try
            {
                _modelHandlers = new Dictionary<string, ModelDesign>();

                InitForm();

                //设置控件树点击事件
                this.ctl_ControlTree1.NodeMouseClickEvent =new ctl_ControlTree.ClickHandler(ctl_ControlTree1_NodeMouseClickEvent);

                //设置选项卡事件
                this.ctl_TabMenu1.TabChangedEvent = new ctl_TabMenu.ClickHandler(ctl_TabMenu1_TabChangedEvent);

                SingleList.Instance.MessageEvent = new SingleList.messageHandler(Instance_MessageEvent);

                ////设置模板列表显示
                this.ctl_ModelTree1.Parent = this.splitContainer1.Panel2;
                this.ctl_ModelTree1.BringToFront();
                this.ctl_ModelTree1.Visible = false;

                if (_curModelDesign == null) return;

                //设置属性编辑器
                this.ctl_PropertyGrid1.DesignEvent = new ctl_PropertyGrid.DesignHandler(ctl_PropertyGrid1_DesignEvent);
                this.ctl_PropertyGrid1.Parent = this.splitContainer1.Panel2;
                this.ctl_PropertyGrid1.BringToFront();
                this.ctl_PropertyGrid1.Visible = false;

            }
            catch (Exception ex)
            {
                TryCustomException.TransactException(ex);
            }
        }

下载声明:

本站资源均有第三方用户自行上传分享推荐,非本站自制,仅供玩家做交流学习之用!切勿用于商业用途!游戏作品版权归原作者享有,如有版权问题,请附带版权证明至邮件,本平台将应您的要求删除。
相关推荐:

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复