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
    bulk insert - form collections for novice (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    HI There, I am making the transition from asp to asp .net, I am currenty writing an application that requires a bulk insert from a webform into SQL server, normally I would just create rows of html textboxes and then use the Request.Form.Count property to collect each field. What I would like to know is what is a good way of doing this in asp.net? Do I need to create an array of textboxes or can I...
    Button and Label differences (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I'm trying to use the code found in this newsgroup post: http://groups.google.com/groups?hl en&lr &ie UTF 8&c2coff 1&threadm %23JZYO4XRDHA.4024%40tk2msftngp13.phx.gbl&rnum 1&prev /groups%3Fq%3DC%2523%2520find%2520appropriate%2520font%2520size%26hl%3Den%26lr%3D%26ie%3DUTF 8%26c2coff%3D1%26sa%3DN%26tab%3Dwg WHen i use it an attempt to have my usercontrol inherit from a System.Windows.Forms.Label the...
    Button Behavior (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I am working on my first web app and I am confused by the default behavior of Button control. When I try to use it to execute some code it takes one click to get focus and a second click to actually execute the event. I don't see my users liking this. Any help is greatly appreciated.
    Button click event handler in the custom control - not working (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as...
    Button Click Event Handling (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I would like to have a custom event handler attached to th click event of a button: btnTmp.Click new CustomeEventHandler(EventHandler); I have tried searching for an example of this, but have not had any luck can anyone help? Mark
    Button Click handler to Spawn Window (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I am looking for a button click event handler that will open a new window and transfer control to it. This will be similar to target blank processing for a hyperlink control but using a button control in its place. What was the source of your information? Thom Little www.tlaNET.net Thom Little Associates, Ltd.
    Button control (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a button in my webform.aspx And I have a htm document or page. What I want is that when I click on the button I want to display the htm page. In other words it is just a back button Need help thanks in advance Justnew Posted via http://www.mcse.ms View this thread: http://www.mcse.ms/message347224.html
    button control and cancel submit (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I use Attribute.Add to call a javascript function client side from an asp:button control. The javascript function opens a window. My problem is that the submit event fires after the javascript code executes. When I view the source in "running documents" I see that the button is declared as "type submit", even when I provide a commandName, which I thought changed a submit button into a command butt...
    Button in custom webcontrol - event handler not called (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as...
    Button in custom webcontrol - event handler not working (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as...
    Button Question. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, i have a form in an ASP.net / VB with 2 buttons: code form action "" class "tableForm" runat "server" asp:Button ID "Ybt" runat "server" OnClick "Go" Text "Yes" / asp:Button ID "Nbt" runat "server" OnClick "Go" Text "No" / /form /code and then i have this VB script: code script runat "server" Sub goToPage(sender As Object, e As System.EventArgs) Response.Redirect("pageYes.aspx") End Sub /sc...
    Button_click (VIP replies)
    microsoft.public.dotnet.languages.vb
    HEllo. In Event Button1 click i have some code. And I would like to call this event from other part of code. For example Private Sub MenuItem2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click call button1 click BUT this is bad, how can I call It? End Sub Thank YOu.
    Buttons in Datagrids (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Anyone know if it is possible to have a button inside a datagird that will launch a new window? I have a button on my webform that does this currently and it works fine. I took that code and put a button into the datagrid template and wanted it to do the same thing per line and pass that line information into the window it launches, however, it is not working. so far the only code I have on the bu...
    Buttons on form always disabled (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I'll try this one again now that my subscription registration is finally in order. buttons on form disabled I 'borrowed' a fairly comprehensive scheme of turning bound dataform buttons enabled and disabled from ADO.NET core reference chapter 13. It worked for 15 or so forms, but finally failed on the authors form. The close button which I left out of the scheme was also disabled. The property valu...
    Byte array data column (VIP replies)
    microsoft.public.dotnet.framework.adonet
    How can i keep array of byte in my Data Table, is it possible to do that. I reason i need that is beacuse i wish to keep a table of records with one column which has BLOB data during run time is there anyway i can do it?
    C# Aplpication talking to Excel Add-In (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have the following requirements: Build a stand alone C# application that asks the user to click in a cell in an Excel spreadsheet, and then displays the address of that cell in the C# application. It seems simple enough, but the problem I'm encountering is as follows: In order for the user to select the cell from Excel, they must first click once on the Excel window to give it focus and then the...
    C# CFC Issue - The IASyncResult object was not returned from the corresponding asynchronous method on this class (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I have a simple question: Why a simple socket with IAsyncResult works fine on PC but not on Pocket PC. I have an exception given by EndReceive( ar ); Okay, I know that I can pass the socket as parameter of the IAsyncResult, but here is not the question: Why this code runs fine on PC but I have an exception on Pocket PC. Here the code: using System; using System.Drawing; using System.Collections; u...
    C# class not implementing VB.NET interface (VIP replies)
    microsoft.public.dotnet.general
    OK...I must be missing something...can someone tell me what I'm not doing properly.... First, create an assembly with a single interface in VB.NET as follows Public Interface IDog Function Bark(ByVal lVolume As Long) As String End Interface Pretty simple... Now...in a second (C#) assembly...create a class that implements that interface...like so... using System; using DogInterface; namespace CSImp...
    c# code (VIP replies)
    microsoft.public.dotnet.languages.csharp
    hi i was going thru some samples and i couldnt understand what this line means public delegate void DataListItemEventHandler(object sender, DataListItemEventArgs args); what is a delegate and what are delegates used for? thnx
    C# code works but VB.NET shows a precompile error (VIP replies)
    microsoft.public.dotnet.framework
    I have the following code in C#, and it works fine. After porting the code to VB.NET, I get a precompile error in the IDE. Does anyone know why this could be happening? protected delegate void MulticastDelegate(object sender, EventArgs e); virtual public void Subscribe(object tag, EventHandler eventHandler, bool loose) { //... other code above omitted // create the delegate for this event handler ...
    C# Insert Command Parameter Error Message (VIP replies)
    microsoft.public.dotnet.general
    I am trying to insert some data into a sql server 2000 database using c#.net. I am getting the following error message: SQL Error 8178: Prepared Statement ..... expects @Param1, which was not supplied. Here is the code snippet where all the work takes place: private void btnSave Click(object sender, System.EventArgs e) { int time 0; sqlInsertCommand1.CommandType CommandType.Text; sqlInsertCommand1...
    C# Threading (VIP replies)
    microsoft.public.dotnet.general
    Under my button click event, I have code that will call another method that takes 3 4 seconds. I want to be call that method and be free to do something else. I know this can be done with threading, but I just can't seem to get it right. Below is what I have so far. The Join statement is what is holding up the code. Any suggesstions? Thanks. private void btnSend Click(object sender, System.EventAr...
    C# to VB.NET (VIP replies)
    microsoft.public.dotnet.languages.vb
    I found some code that does exactlty what I need, but it is in C#. Could somebody please help me convert it, I don't know C#. Steve
    C#, Threads, Events, and DataGrids/DataSets (VIP replies)
    microsoft.public.dotnet.general
    I am trying to run a thread off of a form, and every once in a while the thread will raise an event for the form to read. When the form gets the event, the form will place the event into a dataset and display it on a datagrid that is on the form. The problem is that the thread will slowly take over all of the processor time. After about 8 events, the form will not even respond anymore. Here is the...
    C#-client using MS Word ? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, everything works apart from the last line : (( rng.Value2.ToString() An exception is thrown : "Old format or invalid type library" It gets compiled though (so he recognizes the property 'Value2'). So I suppose I'm using a incompatible type lib. I'm using Excel 2002 : Excel 10.0 Object Library Any ideas ? Maybe ... using another way to retrieve the value of a cell ? thnx Chris "Arne Janning" sp...
    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