Error: No overload for 'ResizeForm' matches delegate 'EventHandler'

BenTam 1,621 Reputation points
2022-10-24T05:40:36.767+00:00

Dear All,

  1. I create a BaseForm.cs by choosing "New Item..." on the right-click menu. I use this way to create a "BaseForm". Should it be okay to include BaseForm in the project?
  2. After that I encounter the following error. Could anybody tell me how to fix the error?

253366-baseform.gif

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes

Accepted answer
  1. Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
    2022-10-24T07:21:52.737+00:00

    Hi @BenTam , Welcome to Microsoft Q&A.

    For the first question, you are creating a form called "Base Form", so it doesn't matter.

    The second question, please add resize form in the designer.

    253420-image.png

    Best Regards,
    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful