Error when opening designer on inherited form

前端 未结 2 1817
灰色年华
灰色年华 2021-02-10 01:09

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:49

    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

提交回复
热议问题