S
stuart
Hi,
I am trying to convert a C# class that produces a "self describing menu" in
a console app.
the c# project defines the following class
internal class MenuAttribute : Attribute
{
public int MenuKey = 0;
public string MenuCaption = string.Empty;
public MenuAttribute( int k, string c )
{
MenuKey = k;
MenuCaption = c;
}
}
however there does not appear to be an equivalent of the internal keyword in
VB.
also the c# project then goes on to describe menu Items as
[MenuAttribute(6, "Test Sequence Controller Process Begin")]
private static void TestProcessBegin()
{
eMailExpress.Business.SequenceController.Begin();
}
Is there an equivalent of this syntax in vb.
I tried <menuattribte.... but the compiler did not like that.
any help is appreciated.
cheers
martin.
I am trying to convert a C# class that produces a "self describing menu" in
a console app.
the c# project defines the following class
internal class MenuAttribute : Attribute
{
public int MenuKey = 0;
public string MenuCaption = string.Empty;
public MenuAttribute( int k, string c )
{
MenuKey = k;
MenuCaption = c;
}
}
however there does not appear to be an equivalent of the internal keyword in
VB.
also the c# project then goes on to describe menu Items as
[MenuAttribute(6, "Test Sequence Controller Process Begin")]
private static void TestProcessBegin()
{
eMailExpress.Business.SequenceController.Begin();
}
Is there an equivalent of this syntax in vb.
I tried <menuattribte.... but the compiler did not like that.
any help is appreciated.
cheers
martin.