Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > How do i display a messagebox after the loading of MainWindowForm?
 

How do i display a messagebox after the loading of MainWindowForm?

C#:

I wrote a messagebox in the formload method. That Messagebox should be display after the my actual window form is load (displayed). How?
---Sri's
My Best Solutions  Thursday, September 10, 2009 4:05 PM

In C#, to get any particular event follow the below steps:

1.Open the properties of the form.
2.Select the event icon from the top icons
3.D-Click on Shown event.

Finally you will get :

private void Form2_Shown(object sender, System.EventArgs e)
{
// write the code here which will be running immediatly after loading the page
}


Hope this will help you..:)

Rohini Chavakula  Friday, September 11, 2009 8:29 AM

In C#, to get any particular event follow the below steps:

1.Open the properties of the form.
2.Select the event icon from the top icons
3.D-Click on Shown event.

Finally you will get :

private void Form2_Shown(object sender, System.EventArgs e)
{
// write the code here which will be running immediatly after loading the page
}


Hope this will help you..:)

Rohini Chavakula  Friday, September 11, 2009 8:29 AM
yah..this is what i required ! Tanx

---Sri's
My Best Solutions  Friday, September 11, 2009 1:52 PM

You can use google to search for other answers

Custom Search

More Threads

• C# dataGridView merge cells
• Typed dataset is not seen
• Why, o why does textBoxBlogID.Text return text from the next record in the bound DataTable !?!? Not the one on-screen?
• A list<string> as a datasource to a combobox in a datagrid ????????
• i want to do this thing but there is some problem
• Unable to connect vb2005 express beta 2 with SQL express/SQL Server 2000
• Dealing with dataGridView
• TableAdapter.Insert and Identity
• change text of dynamic lable control problem
• Can I extend methods of Double Class ?