473,473 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

help me to solve Form _ Activated event in c#.net

10 New Member
hi, Form_Activated( ) event is not working.just i want to display a message box when the form is activated. nobody inform the right solution for this. anybody from this help me to solve my problem.

form1_Activated( )
{
Mesagebox.Show("hello");
}

is not working.
Jan 30 '08 #1
1 1184
dip_developer
648 Recognized Expert Contributor
hi, Form_Activated( ) event is not working.just i want to display a message box when the form is activated. nobody inform the right solution for this. anybody from this help me to solve my problem.

form1_Activated( )
{
Mesagebox.Show("hello");
}

is not working.
are you using .net 2005..???
the code will be

Expand|Select|Wrap|Line Numbers
  1.  
  2.  private void Form1_Activated(object sender, EventArgs e)
  3.         {
  4.             MessageBox.Show("hi");
  5.         }
  6.  
  7.  
Jan 30 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: LarryR | last post by:
I am trying to get a small form (using ShowDialog) to display over my main for as soon as the main for is displayed. I can't seem to find an accesible property or event that I can use to tell when...
4
by: Randy | last post by:
Hello all, I have a form with a text field (textBox1) on it. Apparently, textBox1.Focus() doesn't work when the form is initializing. I put this in the Constructor and also in the Load event for...
10
by: Phil | last post by:
Hello Can anybody tell me which events are fired immediately after a form is displayed i.e. appears on screen? Ta Phil
4
by: Grant Schenck | last post by:
I have a C# form application. Once my main window is showing I want to pop-up a login type dialog. What event would I trap to affect this? I tried handling the form load but the main form window...
3
by: Cc | last post by:
does event onload mean form already loaded or before loaded? I make a form and I inherit that form on another form, when I run, it execute the process on the parent form without showing the form on...
10
by: B-Dog | last post by:
I want to run something once my form in completely loaded and drawn but running at the end of form load doesn't do I guess cause of the large dataset fill and the form isn't fully loaded. Where...
2
by: thomasp | last post by:
Using VB 2005 Beta. I have a form containing a DataGirdView. The cell enter, cell validating, row enter, row validating events have a good bit of code that gets excuted for each of these...
3
by: Dennis | last post by:
I thought that the Load Event fired first and the Activated event fired next when a control is shown. For example Dim myForm as New Form1 myForm.Show I put a breakpoint in the load event...
4
by: teejayem | last post by:
I have a VB application with one main form. I also have a second form that has the ShowInTaskbar property set to False. If i click another application in the taskbar (for example:- Outlook)...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.