Error when opening designer on inherited form

前端 未结 2 1033
天命终不由人
天命终不由人 2021-02-10 01:27

I am having trouble opening an inherited form in a Windows CE application. This is a project that I am taking over from a ex-employee, but there is compiled versions running on

2条回答
  •  野性不改
    2021-02-10 01:56

    I had a same problem. I solved my problem by add base() to child form constructor.

    public partial class FormChildren : ParentForm
    {
        public FormChildren() : base()
        {
            InitializeComponent();
        }
    }
    

    This Answers is good:

    Windows Form inheritance

提交回复
热议问题