Hello my fellow Daniwebaholics!

I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net.
I know a little C#, but not enough to be able to convert complex syntax from one to the other.

Here is the code in C#:

p.Location = new System.Drawing.Point(((Panel)PanelContainer[PanelContainer.Count - 1]).Left, ((Panel)PanelContainer[PanelContainer.Count - 1]).Bottom + 5);

Where PanelContainer is an arrayList.

Any help would be GREATLY appreciated.

Thank you,

Recommended Answers

I've posted this link a few times before here in DaniWeb: Convert C# to VB.NET
See if it helps you.

Jump to Post

All 2 Replies

It will not convert it, but I managed to convert it by hand.

Thank you for the reference site.

That will come in handy in the future.

+1 for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.