N
Nick Z.
Please take a minute to take a look at this
//here is a simple interface
public interface ISomeInterface
{
string Name
{
get;
}
}
//here is a class that implements the interface and inherits UserControl
public class SomeClass : System.Windows.Forms.UserControl,ISomeInterface
{
//now here is the problem
//I need to implement the Name property of the ISomeInterface
//However, UserConrol class already implements the Name property
//is there any way to implement a new property name maybe Name1
//and specifically point out that Name1 implements
//ISomeInterface.Name
}
Thanks in advance,
Nick Z.
//here is a simple interface
public interface ISomeInterface
{
string Name
{
get;
}
}
//here is a class that implements the interface and inherits UserControl
public class SomeClass : System.Windows.Forms.UserControl,ISomeInterface
{
//now here is the problem
//I need to implement the Name property of the ISomeInterface
//However, UserConrol class already implements the Name property
//is there any way to implement a new property name maybe Name1
//and specifically point out that Name1 implements
//ISomeInterface.Name
}
Thanks in advance,
Nick Z.