如何引用自己写的控件呢?谢了 using yournamespace;YourControlClass test = new YourControlClass(); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 For example:Your control cs file:----------------------------------------using...;...namespace yourcontrol_namespace{class yourcontrol{...}}-----------------------------------------Your file referencing the yourcontrol:-----------------------------------------using...;using yourcontrol_namespace //Important here!namespace mainprogram{class mainclass{...}} 谁帮我解释一下C#中的CreateObject()方法。 牛人请进,HashTable算法研究 C#对XML的操作 多线程 刷新界面 的方法讨论..........定时器刷界面 大虾们帮忙我注释一下好么?我菜鸟 看不懂这个函数(找出某节点下所有子节点的函数) 让datagrid中的某一行某一列(即某格子)或某一行只读,怎么做 (简单问题)SqlDataReader 如何根据字段的名字取得字段的值??(在线) C# Winform 中下拉列表框数据怎么动态变化 转换数据类型 【WPF】如何在一个窗口使用多个xaml文件? C#的运行环境的问题 急问题:关于给自定义的控件添加事件的问题!
----------------------------------------
using...;
...namespace yourcontrol_namespace
{
class yourcontrol
{
...
}
}
-----------------------------------------Your file referencing the yourcontrol:
-----------------------------------------
using...;
using yourcontrol_namespace //Important here!namespace mainprogram
{
class mainclass
{
...}
}