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
    Newbie question (VIP replies)
    microsoft.public.vsnet.general
    Hello all, I'm a C# asp.net web developer, and I'm currently developing a windows app. In asp.net you can read a row from a datagrid using the selected index changed event handler after the user selected a particular row. I was wondering if there is anything similar in the windows.form.datagrid control? Has anyone done this in the past that could possibly show me some code? Any help will be apprec...
    Newbie question (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi All, I am developing an application which does not require user interaction; but has timed events. I chose a console application and created a timer object as follows: Private porttimer As New System.Windows.Forms.Timer The handler for the tick event of the timer was defined as follows: Private Sub porttimer Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles porttimer.Tick...
    Newbie Question (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi. I am new to programming in VB.net, and am making my first application. But I have no clue what I'm doing. Somehow I managed to get most of the errors fixed, but I have six left with the same problem: Identifier Expected. Here's an example: Public Sub (V Click)(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles V.Click NotaciousVersion.DefInstance.Show() End Sub Al...
    Newbie Question - Date Difference (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am in need to figure out of dateA dateB aNumber Is there a method in the .Net Framework that will do this for me? I have changed the dates in a text box to the date type using CDate method I appreciate the help. John
    Newbie Question; How do i add an eventhandler to all my textfields? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I want to do this: AddHandler txtSupplierName.KeyPress, AddressOf EnterHandler To all my txtXX textbox fields?? I have an inkling i'll have to define my own textBox class, is that right? Any pointers? Rgds, Dan
    Newbie Questions (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm currently working my way through "MS VB.NET Step by Step", by Michael Halvorson, and I have a couple of questions. 1) In the book, they're explaining the following line of code, used in an encryption algorythm: msgbox(Asc("A") XOR 50) would display 115, and msgbox(115 XOR 50) would display 65 (the asc value of the letter A) The Studio's help description for the XOR operator used in this fashio...
    Newbie, using SQL provider for Configuration Management block.. (VIP replies)
    microsoft.public.dotnet.distributed_apps
    This is probably a stupid question, but I can't seem to figure this one out. I have installed the Configuration Management Block, and am trying to use the SQLProvider for storing/retrieving my config data. I looked at the quickstart example, and unfortunately, all the "read" operations are specific to the custom configuration handler, not the "out of the box" stuff, which is unfortunate. Following...
    Newbie-Simple Forms in Vb.Net Question (VIP replies)
    ASPFriends.com 'winforms-vb' list
    I maybe missing somthing but this seems a simple request I can't get to work in VB.Net. I would like to have a project where on the main form you click a button to open a second form. Then on the second form click a button which populates data in a text field on form 1. In VB6 I could do this with simple code in the on click event like form1.textbox1.text "Hello" That does not seem to work in VB.N...
    Newbie: Can Buttons on Form never have focus? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I have a simple problem. I have a Form with two buttons. If i click the up or down arrow keys, the buttons get focused. I don't want the buttons to ever have focus, similar to the Windows Accessories Calculator. I've been searching around this forum, and from what i understand i have to override the button's "KeyPress" function so that it just returns. Is that the right thing to do? Thanks, al...
    Newbie: click event on ListBox item(s) (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello, how can i check for something like this ? I can't seem to find anything relevant (method/property). What i want to do is after I fill up a listbox with elements (file names coming from OpenFileDialog), i want to aloow the user to remove some of them simply by clicking on them. I managed to fill up the listbox but i am stack on the second part. Any hints would be appreciated. Thanx In advanc...
    newbie: web browser ctl (VIP replies)
    microsoft.public.dotnet.framework.interop
    I must use the ax web browser control in a windows forms c# application; this application should show some locally generated HTML pages with some text and tables, and react to browser events such as hovering the mouse onto some elements, clicking some elements, etc. In response to some of these events the application should slightly change the appearance of some elements in the page being viewed (...
    newbie: XmlTextWriter + xsd (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello! IDE: VS 2003 .Net OS: XP Pro I'm experimenting with C# for the purpose to learn it... I've made a test program that create a simple xml file using XmlTextWriter. Now I want to extend that logic so the xml file references a xsd file... I know that if XmlTextWriter begin to write data to a xml file that already contains data, the contents is truncated, so everything must be created again thro...
    Newbie:Extending an Image Button (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi, I'm trying to extend the image button webcontrol to allow it to have an on/off status rendering a different image for each state. Problem is when i drag it into the design view it just says error creating control. Here's my code so far for the control: using System; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; namespace UIControls { /// summary /// Summary...
    next record in dataset is not changing...pls help (VIP replies)
    microsoft.public.dotnet.languages.vb
    i have created an sqldataadapter using a wizard and added the necessary textboxes in my form and done some navigational button like previous and next button to browse the record. now i made some changes to my record in my textboxes to find out if the record is save to the database. i can save the first record of the dataset but when i click the next button to browse to another record and make some...
    next record in dataset is not changing...pls help (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    i have created an sqldataadapter using a wizard and added the necessary textboxes in my form and done some navigational button like previous and next button to browse the record. now i made some changes to my record in my textboxes to find out if the record is save to the database. i can save the first record of the dataset but when i click the next button to browse to another record and make some...
    next record in dataset is not changing...pls help (VIP replies)
    microsoft.public.dotnet.framework.adonet
    i have created an sqldataadapter using a wizard and added the necessary textboxes in my form and done some navigational button like previous and next button to browse the record. now i made some changes to my record in my textboxes to find out if the record is save to the database. i can save the first record of the dataset but when i click the next button to browse to another record and make some...
    No Brain Problem! (VIP replies)
    microsoft.public.dotnet.framework
    Have a very simple problem that I'm having a tough time explaining/solving. The problem is that I get different results when I print "?" a variable when using Enterprise Services (ES) than when ES is not included. The code for the 3 classes is below: Class #1 STARBatchParms.vb This class simply contains the structure that I want to pass from my form to my class: Public Structure BATCH PARMS Public...
    No button click event (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a simple page with a text box and a button. The code for the button will insert the text into SQL Server. When I click the button no code gets invoked (not even a page load). Other pages work just fine, I have deleted the button several times and reinserted it with no luck. VS2003/XP Pro/ VB Code (Codebehind): Private Sub btnAddNewCategory Click(ByVal sender As System.Object, ByVal e As Sys...
    no bytes returned on raw socket;trying to implement ping (VIP replies)
    microsoft.public.dotnet.framework
    Hi all, I hope this is the correct group, if not, please let me know. I am trying to implement ping. I found some excellent code that builds a raw socket from scratch and it works great against localhost but nothing external. The complete code is below but I seem to timeout trying to receive bytes. When I look to see how many bytes I have in the buffer, I don't have any. Any ideas would be greatly...
    No events are fired in child control (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I have developed a custom web control that may contain any child controls. Now I have a problem that even though I register an event handler on a child control, the event handler does not fire when it should. Do I need to handle event registrations of child controls specially? Casper
    no hit when checking checked checkboxes in datagrid (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I try to loop through a datagrid to see if the checkbox in the datagrid is selected using this code.. code Public Function GetSelectedRows(ByVal dg As DataGrid) As System.Collections.ArrayList Dim al As New ArrayList Dim cm As CurrencyManager Me.BindingContext(dg.DataSource, dg.DataMember) Dim dv As DataView CType(cm.List, DataView) Dim i As Integer For i 0 To dv.Count 1 If dg.IsSelected(i) The...
    No Option to Bind Textbox (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a form with some text boxes. In the form load event I create a data adapter and a dataset. When I try to write the code to add a binding to the textbox, the DataBindings option is not there? I thought I needed to write code like: txtFirstName.DataBindings.Add("Text", dsMyDataset, "MyTable.FName") Wayne
    No output with RegisterClientScriptBlock (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    In my webcontrol, I register some javascript once. If I do it like below, the script is output. private const string HintJavascriptResourceName "CsiteWeb.Hint.js"; private const string HintStartupScriptName "Csite.Web.Hint.js"; private void RegisterScript() { if (Page.IsStartupScriptRegistered(HintStartupScriptName)) { return; } using (Stream rs System.Reflection.Assembly.GetCallingAssembly(). Get...
    no permission to read AD in subdomain ? (VIP replies)
    microsoft.public.dotnet.framework.sdk
    Hi together, I have some vb.net code to read AD information with DirectoryservicesEntry object. The accplication runs fine on Win2k stations It runs on winNT4 stations only when reading data in the domain where the workstaion is. However, when I try to read data from a subdomain, a runtime error occurs. For example, when the entry.Path is set to .....dc domain,dc com, it works on NT4 workstations,...
    NoCache not working. Tried everything (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello everyone. If I hit the back button on my data entry form I can still get the cached page. I have tried % pStr "private, no cache, must revalidate" Response.ExpiresAbsolute #2000 01 01# Response.AddHeader "pragma", "no cache" Response.AddHeader "cache control", pStr % and Response.Buffer True Response.ExpiresAbsolute Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires 0 Response.CacheCo...
    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