473,804 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form Activated Event in c#.Net

10 New Member
hello friends, there is no ( Form_Activated Event ) in C#.Net. but vb,vb.net have this event. is there any alternate for form Activated event.
Jan 23 '08 #1
2 2215
kenobewan
4,871 Recognized Expert Specialist
What are you trying to do?
Jan 23 '08 #2
Plater
7,872 Recognized Expert Expert
Did you look at the events for forms? I would guess no.
There very much IS an Activated event on forms in C#.
Quick pick of a few events:
Activated() occurs when the form is activated(bad description on msdn's part)
Load() happens when you first load a form
Enter() happens when the form becomes selected (has the focus)
Jan 23 '08 #3

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

Similar topics

2
8445
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 my main form has finished loading. Anyone have a suggestion? To reply by email please remove x's from email address.
4
2189
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 the form. textBox1 still doesn't get the focus when the form comes up. How do you do this? Thanks
1
20982
by: Kevin Carter | last post by:
Hi there...hoping somebody can help me out because I am almost ready to pull out my hair. My problem is as follows: In a method in my main form (non MDI app), I instantiate and .Show another form. As a result of the .Show, the form's Load event is called and I have a population routine fires off. Normally, all is well and good and the new form is active and gets displayed on top of the main
10
1920
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
3010
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 is not yet visible then. Thanks! Grant Schenck
3
11548
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 screen until it done. so does this mean onload mean before form load? if I want after form load what should I do?
10
4420
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 can I stick some code so that I can run it after the form in fully drawn and loaded? I was told there is no real way to know when it is "completely" loaded?
3
2740
by: Dennis | last post by:
I have the following code for showing a form: dim frm as new myForm frm.ShowDialog (The Form Load Event is fired then I hide the form using Me.Hide when the X in the UR corner is clicked). 'Do something in code frm.ShowDialog (The Form Load Event fires again)
2
9042
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 events. I have noticed that when the form loads, each of these events run 3 times, before the form is ready for interaction with the user. I would like to set a boolean variable to true when the form first starts loading and change it's value when the...
3
3982
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 and one in the activated event and the activated event fires first. I am trying to implement adding an event handler in the load event for the activated event then removing the handler
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10077
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9152
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5522
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3820
muto222
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.