using Calen.Monitor.MonitorApp;
using Calen.Monitor.MonitorShow;
using Calen.Net.NetApp;
在CS文件中引入这些命名空间就行了
或者直接
Calen.Monitor.MonitorApp.自定义类名 对象名 = new Calen.Monitor.MonitorApp.自定义类名();
using Calen.Monitor.MonitorShow;
using Calen.Net.NetApp;
在CS文件中引入这些命名空间就行了
或者直接
Calen.Monitor.MonitorApp.自定义类名 对象名 = new Calen.Monitor.MonitorApp.自定义类名();
如果把代码直接放过去,用using也行,或者在使用时直接在类的前面写全名称空间就行了.
要不要using都可以,using其实就是引用,相同的功效。不过,using只能给当前文件添加引用,而在“引用”中加入的话,就对整个项目了。还有就是楼上的那种
Calen.Monitor.MonitorApp.自定义类名 对象名 = new Calen.Monitor.MonitorApp.自定义类名();