c# - The type of namespace name 'Control' could not be found (are you missing a using directive or assembly reference?) -
Using genetics, trying to set up an extension method in Net 3.0 and I get an error message, the above description on line:
Do I have a director or assembly reference Am using Thanks What I'm trying to do is set this up (down) as an extender function: I'm missing a reference to System.core.dll ... it drives me crazy! Choose this for the technology you are using: < Strong> Windows Forms: This is located in WPF: (probably not this one, because there is no relevant This < Code> PresentationFramework.dll in Web Control: It is located in
Use the system Tax; Using System.Collections.Generic; Using System.Web; Using System.Web.UI; Namespace System.Rentime Compiler Services {Public Static Class Control Helper {Public Static T Search Control & Lt; T & gt; (This control manger, string control name) where T: has been found {T found = parent.Fund Controll (control name) as T; If (found! = Null) returns; Foreign Hair (Control Child. Control in Parents Control) {found = hair control. FIDC control (control name) as T; Break if (found! = Null); } Returns; }}}
System.Windows.Forms.dll
in the System.Windows.Forms
namespace. control
property in WPF squares) System.Windows.Controls is located in
namespaces. System.Web.dll
in the system. Web. UI
Namespace.
Comments
Post a Comment