hello..i am new to VB.net i know VB

i created a button on the form

private void button1_Click(object sender, EventArgs e)
        {
             MessageBox.Show("neha");
        }

i am not getting display .I just get a blank form when i choose start debugging

Recommended Answers

All 2 Replies

That isn't VB.NET code you are using C# for the button_click event.

i am not getting display

What do you mean? Do you see an empty form (without a button) or nothing shows up at all?

ya i was still in csharp..sorry

Be a part of the DaniWeb community

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