System.EventArgs Class
Information   Base Types   Related Resources

EventArgs is the base class for classes containing event data.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (890)Discussions (11139)MembersRotorChanges
    Discussions

    Page: 1234567891011121314151617181920
    2122232425262728293031323334353637383940
    4142434445464748495051525354555657585960
    6162636465666768697071727374757677787980
    81828384858687888990919293949596979899100
    101102103104105106107108109110111112113114115116117118119120
    121122123124125126127128129130131132133134135136137138139140
    141142143144145146147148149150151152153154155156157158159160
    161162163164165166167168169170171172173174175176177178179180
    181182183184185186187188189190191192193194195196197198199200
    201202203204205206207208209210211212213214215216217218219220
    221222223224225226227228229230231232233234235236237238239240
    241242243244245246247248249250251252253254255256257258259260
    261262263264265266267268269270271272273274275276277278279280
    281282283284285286287288289290291292293294295296297298299300
    301302303304305306307308309310311312313314315316317318319320
    321322323324325326327328329330331332333334335336337338339340
    341342343344345346347348349350351352353354355356357358359360
    361362363364365366367368369370371372373374375376377378379380
    381382383384385386387388389390391392393394395396397398399400
    401402403404405406407408409410411412413414415416417418419420
    421422423424425426427428429430431432433434435436437438439440
    441442443444445446
    Accessing ControlDesigner from control? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I'm trying to do the following: public class MyControlDesigner : System.Web.UI.Design.ControlDesigner { private string m html ""; public string Html { get { return m html; } set { m html value; } } public override string GetDesignTimeHtml() { return m html; } } [DesignerAttribute(typeof(MyControlDesigner), typeof(IDesigner))] public class MyControl : System.Web.UI.WebControls.WebControl { override...
    Accessing embedded Mediaplayer in excel worksheet (VIP replies)
    microsoft.public.dotnet.framework.interop
    hi, I am trying to access from c# a embedded Windows media player object in a worksheet, i have included 2 references wmplib and mediaplayer and i am trying to set the url via automation, i have tried variation on the following ... object o Marshal.CreateWrapperOfType(mWorksheet.OLEObjects("Player"), typeof(MediaPlayerClass)); MediaPlayerClass p (MediaPlayerClass)Marshal.CreateWrapperOfType(mWorks...
    Accessing form data (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have 3 ASP.NET forms written in C#, I also have 3 frames (left, top and bottom) one for each form. My question is if I have data on one form in the bottom frame how do I access this data when I click on the button which is on the top frame? I want to save the data from the bottom frame to the database when a user clicks on the Update button. Does anyone have an example on how to do this? | | Top...
    Accessing Friend Variables (VIP replies)
    microsoft.public.dotnet.languages.vb
    Ok, this is probably a no brainer for most of you but its escaping me and I can't even seem to find the answer in any documentation. How do you access a friend variable of one class, from another class in the same project? Thanks Blake
    Accessing Parent Page Members from a User Control (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    If I create a User Control (.ascx) and from the code of that control, I want to access the members of the .asPx (Page) in which the control will be contained, how do I do this from C#? I have created some objects as members of the MyPage class which all of the ASPXs on my site inherit from. I want my ASCX user controls on those pages to be able to access the same member ofbjects. But I can't figur...
    Accessing posted back data in a composite control (VIP replies)
    ASPFriends.com 'aspngcontrolscs' list
    Building a custom control that has a number of text boxes and a button. When the user clicks the button, the page is relaoded (assuming the control is put in a WebForm) and the event handler I wrote in the custom control is fired. In essence, I do something like: ... protected override void CreateChildControls() { // create children (a.k.a., a ton of textboxes) ... // create button Button btnTmp n...
    Accessing SIM card from C# (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi All, the following article talks about how to get info from the SIM card. I downloaded the sample, used the Phone.cs in an application, and everytime i try to access the card i get "Can't read the service provider" here's the code i am using: using Microsoft.Wireless; //application inits etc private void button1 Click(object sender, System.EventArgs e) { string szOwnerNumber ""; try { szOwnerNu...
    Accessing User Controls from the code-behind (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Has anyone done this in C# (see link below)? As I'm have problems converting it. Cheers, Siôn Artical found @: http://www.123aspx.com/redir.aspx?res 30051 When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The result is that you can't directly access the user control from the code behind and p...
    Accessing User Controls from the code-behind (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Has anyone done this in C# (see link below)? As I'm have problems converting it. Cheers, Siôn Artical found @: http://www.123aspx.com/redir.aspx?res 30051 When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The result is that you can't directly access the user control from the code behind and p...
    Accessing UserControl properties and methods (VIP replies)
    ASPFriends.com 'aspngstart' list
    I have created a simple UserControl containing two properties and a method. When I include the UC into the web application, if I have it typed as System.Web.UI.HtmlControls.HtmlGenericControl then I can't access the properties and method of the specific type. Compiler won't let me explicitly cast to the specific type of the UC. If I type the UC to it's specific type the processing can't seem to fi...
    Activate Control (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    .
    Activate event of multiple child in MDI (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Create two mdi child forms to a MDI form use the activated event to modify the text of both children (i.e. change title) start the application guess what the activated event of either form will execute if that form is activated first but the other forms a ctivated event will never fire Stopping and restarting the app will allow the other forms activated event to fire proeventing the activated even...
    Activator.CreateInstance and events (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    HI folks, I am creating controls via Activator.CreateInstance and adding them to the page dynamically. This all works well except that the controls no longer receive the typical lifecycle events. The constructor gets called as well as the render however the onInit, onLoad onPrerender events never get called. Any ideas? Thanks Tom
    Active Directory Objects - Object reference not set to an instance of an object. (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Whilst creating a class to search Active Directory domains and retrieve user details, I ran into the following error: Object reference not set to an instance of an object. Here's the error log: Source Error: Line 79: StringBuilder summary new StringBuilder(); Line 80: Line 81: System.DirectoryServices.SearchResultCollection results System.DirectoryServices.SearchResultCollection(); Line 82: search...
    Active User Counter (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    Does any one have a way to measure active users. Dennis H. West West Design dotnetDeveloper http://www.aspalliance.com/dotnetsolutions westdh@home.com
    ActiveControl - Cut Copy Paste - Improvement (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I'm trying to create what I thought was a simple Cut, Copy, Paste, Undo Contextmenu that I could use. The menu is easy to create but the functions seem very difficult to pull off in the CompactFramework. Correct me in I'm wrong but it would be a lot easier if I could call the activecontrol but from what I've read that is not available. So I've come up with the following crude code. It works but th...
    ActiveX DLL COM object (VIP replies)
    microsoft.public.dotnet.languages.csharp
    When using regular, non .NET asp, I would write an ActiveX DLL COM object in Visual Basic 6 to do all the work on the server. Now I am using ASP.NET with C# and want to do the same. Which C# template do I use? Where can I find information, tutorials, etc on this? Thanks! http://www.vbmark.com/ A good place to start.
    Add <div> to Body? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I would like to wrap all of the HTML inside of my body tag inside a div with in my code behind. I do not want to touch the .aspx page template at all. I know how to make the body tag runat server and give it an id so I can find it from the code behind, but after that I want to add the div . One problem I see is that I just add the div to the body , all of the other controls (including the aspx for...
    Add a CheckAll Checkbox in Datagrid's header (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    its easy to do in asp.net with javascript but i donno how to add a checkall checkbox in a vb's datagrid thx in advance norton
    Add confirmation to a LinkButton (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a LinkButton that performs a permananet operation, so I want to get confirmation when the user clicks it. How do I add a client side confirmation? I want to run this javascript: return confirm('Are you sure you want to delete all?'); But I can't figure out the syntax to make it work in the OnClick event handler. Help! Brett
    Add control in loop (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, I am creating a label and populating it with HTML. I also need to add a new textbox for each row. I am having a problem adding the control in the loop. Any help with this would be appreciated. Sub Page Load(Sender As Object, E As EventArgs) .... Do While spQstName.Read Dim tbxQstName As New Textbox() tbxQstName.ID "textbox" & spQstName("strQuestionNo") lblQuestion.Text & " tr td & Controls....
    Add control to a placeholder (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    hi, I want to add controls (hyperlinks) dynamically in code into a placeholder. I manage to add them but they appear in the same line and I want to show each hyperlink in a diferente line (like a left menu). How can I do this??? Thanks CC
    Add Control without touching ASPX? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I have a server control that is declared in the top of the .aspx page. I want to use the control in many, many pages, but do not want to hand modify every .aspx page template. How can I specify that a control be added/used in the codebehind ..aspx.cs only and *not* touch the .aspx page? Thanks.
    Add EventHandler at Runtime (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I have a class library that is called from a form that adds controls to the form at runtime. I am currently working on creating a PictureBox control at runtime and am having problems trying to hook up code to the click event of the PictureBox. The form will contain the code for the click event and I need to add this event to the PictureBox control at runtime from the class library. myPictureBox.Cl...
    Add EventHandler in JScript (VIP replies)
    microsoft.public.dotnet.languages.jscript
    In C#, we can code as this: C Back.Click new System.EventHandler(C BackClicked); C Back: Button C BackClicked: a method How can we do the same in JScript?
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com