The call is ambiguous between the following methods: Identical.NameSpace.InitializeComponent() and Identical.NameSpace.InitializeComponent()

前端 未结 12 1693
野趣味
野趣味 2021-01-17 12:09

Ok, I suspect this might be a Visual Studio thing, but there must be some reason for this. I created from the list of default items a ListBox (Right Click on project, or fol

12条回答
  •  天命终不由人
    2021-01-17 12:36

    I think InitializeComponent() is declared in two different locations in the same class.

    Try to find both class definitions using CTR+F and then resolve solve the ambiguity.

提交回复
热议问题