类型'TX_Text_Control_Words.FormMain'已经定义了一个名为'InitializeComponent'的成员,其成员具有相同的参数类型 [英] Type 'TX_Text_Control_Words.FormMain' already defines a member called 'InitializeComponent' with the same parameter types

查看:549
本文介绍了类型'TX_Text_Control_Words.FormMain'已经定义了一个名为'InitializeComponent'的成员,其成员具有相同的参数类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

类型'TX_Text_Control_Words.FormMain'已经定义了一个名为'InitializeComponent'的成员,其参数类型相同

Type 'TX_Text_Control_Words.FormMain' already defines a member called 'InitializeComponent' with the same parameter types

推荐答案

你有一个重复的'InitializeComponent方法,可能是结果从旧版本的Visual Studio复制并粘贴到解决方案代码中。



搜索'IntializeComponent,并查找在Designer外定义的方法。 cs Class。
You have a duplicate 'InitializeComponent method, probably the result of your copying and pasting into your solution code from an older version of Visual Studio.

Do a search on 'IntializeComponent, and look for the method defined outside a Designer.cs Class.


这篇关于类型'TX_Text_Control_Words.FormMain'已经定义了一个名为'InitializeComponent'的成员,其成员具有相同的参数类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆