I need the code for VB. This is for (i think) c#.
anyone who can translate or know how to change the menucolour to vb.
private void menuItem1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e)
{
System.Drawing.Drawing2D.LinearGradientBrush brush =
new System.Drawing.Drawing2D.LinearGradientBrush(new Point(0,0), new Point(1300,0), Color.DarkGreen, Color.White);
e.Graphics.FillRectangle(brush, e.Bounds.Left, e.Bounds.Top, 1300, e.Bounds.Height);
brush.Dispose();
}
--
There are 10 types of people. Those who understand binary and those who dont.
Vedant Lath