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
    Iterating custom controls (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Here's a simple problem that's eating my lunch: I need to write a base class method in ASP.NET that will iterate the page and find all controls of a certain type. The type is a custom web control that I created. The controls are never found in Page.Controls instead, using the debugger, I see them right off of 'this'. As in 'this.myControl1'. 'this' doesn't support iteration, so how can I find cust...
    Its this correct? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello, I have 2 inherited dropdownlist. the first have autopostback true and the second false in the first dropdown class i have this method. class DD1:DropDownList { private void DropDown1 SelectedIndexChanged(object sender, EventArgs e) { ViewState.Add("DD1", int.Parse(this.SelectedItem.Value)); } } the second dropdown control class DD2:DropDownList protected override Onload() { if(ViewState["DD...
    Javascript (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have moved the following to the parent page for the menu control and I still can't see the Javascript appearing. This is what I am doing: protected override void OnPreRender (System.EventArgs e) { Page.RegisterClientScriptBlock ("menuscript", " script language \"javascript\" src \"default.js\" /script \n"); } I can use the ControlAt and write the script block as a literal control but would like ...
    JavaScript Add.Addtribute to an ASP.NET Button (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I need to attach the following 2 little scripts to an ASP.NET Button. I am having an issue with running both of the Attributes.Add. I can only get on to work at once. I have also tried to put them both/either in the page load, but cannot get it to work. TIA, Steve Wofford www.IntraRELY.com SUEDO Code: User clicks btnPrint Sc. 1 btnPrint.Attributes.Add("OnClick", "javascript:return confirm('Are you...
    Javascript closes IE (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have the following javascript in my html: script language "javascript" function setfocus() { if (document.body.style.cursor "default") { document.body.style.cursor "wait"; document.Form1.txtPartno.focus(); document.Form1.txtPartno.select(); } else { document.body.style.cursor "default"; document.Form1.txtPartno.focus(); document.Form1.txtPartno.select(); } } /script In my codebehind I have: Me.b...
    JavaScript file (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a JS file, where I have show clock function to call. I calling her like this body onload "show clock()" , but nothing happens. The clock don't appear. In your opinion what should I do? Use "RegisterClientScriptBlock" and/or "RegisterStartupScript".? If yes, how can I use them? Thank's (if you try to help me) Hope this help you (if I try to help you) ruca
    JavaScript file (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a JS file, where I have show clock function to call. I calling her like this body onload "show clock()" , but nothing happens. The clock don't appear. In your opinion what should I do? Use "RegisterClientScriptBlock" and/or "RegisterStartupScript".? If yes, how can I use them? Thank's (if you try to help me) Hope this help you (if I try to help you) ruca
    JavaScript file (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a JS file, where I have show clock function to call. I calling her like this body onload "show clock()" , but nothing happens. The clock don't appear. In your opinion what should I do? Use "RegisterClientScriptBlock" and/or "RegisterStartupScript".? If yes, how can I use them? Thank's (if you try to help me) Hope this help you (if I try to help you) ruca
    Jit debugging problem (VIP replies)
    microsoft.public.vsnet.debugging
    I have a multi project solution. The start up project contains a MainForm an a DialogForm (called by the MainForm). I run the project from the IDE (VS NET 2003) Whenever there is an unhandled exception in the DialogForm a dialog appears telling me that I have not set JitDebugging to TRUE (which I have, both in the machine.config and app.config files), and asking me to either Continue or Exit. Ther...
    Joining 2 Tables from 2 Different Databases (VIP replies)
    microsoft.public.dotnet.framework.adonet
    How do I create a join between these two tables and populate it into a datagrid? I am a newbie to ASP.NET and I need to figure out how to create a JOIN between two tables which belong in 2 different databases. I am using MS Access 2000 for both databases and my development application is Visual Studio.NET 2003. I have created two OleDbConnections and two OleDbDataAdapters. I also, have created a D...
    Jumping to another routine (VIP replies)
    microsoft.public.dotnet.languages.vb
    When I exit my app a confirmation message box pops up. If the user chooses "No", what is the code I need to jump to another sub routine (So the save file message box pops up). I already have all of the message box routine. Thank you, John
    Keep data in servercontrol between navigation (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, Please sorry my poor English. I have 3 aspx webforms. Each page has 2 hyperlinks objets to go on the other pages. In all the webforms, there are textbox, ddlists, button and a datagrid. I want the data in each webpage to be saved and not losed while i'm surfing between those pages(like tab navigation). Presently, I use session variable and query post to keep the data. Example : hplink.navig...
    Keep PPC on with mouse_event fails on PPC2003 (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi! I've found some code using the mouse event function to prevent the PocketPC from falling asleep: Private Declare Sub mouse event Lib "coredll.dll" ( ByVal dwFlags As Int32, ByVal dx As Int32, ByVal dy As Int32, ByVal dwData As Int32, ByVal dwExtraInfo As Int32) Private Sub oTimer Tick( ByVal sender As Object, ByVal e As System.EventArgs ) Handles oTimer.Tick mouse event(&H1, 0, 0, 0, 0) End Su...
    Keyboard processing in a user control (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, I have a User Control that I use on a dialog to select the position to print a label on a report. The control basically consists of a box representing each position on the page of labels, with the selected item coloured to highlight it. Each label position is represented by a Panel control that is created and positioned dynamically by my control. The Panel controls all have a Click handler so ...
    KeyDown Events (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I have a form with a label on top and 2 panels (panel1 and panel2). Panel 2 is within panel1 and panel1 is placed on the form just below the label. On panel2, I have a series of labels and combo boxes, side by side...something like this: label 1 comboBox1 label 2 comboBox2 . . . . These labels and comboBoxes are defined as arrays and are generated at runtime. I am trying to add a KeyDown event to ...
    KeyDown in Panel? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    How can I get a panel to be able to record keystrokes (through a KeyDown event or some other such event)? Apparently, the Panel has a KeyDown event that is somewhat hidden, but even if you use it, it doesn't fire when a key is pressed. I've tried setting the TabStop property to true, to give the panel focus, and still nothing. I've even tried extending the control, and adding my own overriden even...
    Label control border color (VIP replies)
    microsoft.public.dotnet.languages.vb
    Is there a quick and easy way to change the color of a label controls border from the default black to white? Thank you, John
    Label control in a user control... (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I have a Label control in user control. I want the click event of the Label to fire when the usercontrol is in a Form.. Here is what I did.. 1) I made the Label a public component of the user control, built a DLL 2) Include the Usercontrol in a windows form.. 3) In the form.. here is what I did Private ilk As New TestPrj.UserControl1 AddHandler ilk.Label1.Click, AddressOf lblLabe1 ClickEvent Priva...
    Large screen fonts with controls on panels/usercontrols (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi! We sometimes create UI items dynamically, e.g. we create a panel and place some controls on it. This works fine when using the default font size (as chosen in Control Panel Display Advanced). When executing the application on a computer set to use large screen fonts (120 dpi), the controls are positioned correctly considering the changed sizing mode. but the panel stays at its initial size. So...
    Launch "Windows Security" windows from Process.Start (VIP replies)
    microsoft.public.dotnet.languages.vb
    I would like to provide a menu item that the users can click that launches the same "Windows Security" window that doing a Ctrl Alt Delete launches, but thru a Process.Start. Is this possible, and what is the name of the ..exe and it's location? Thanks, Dean Slindee
    LDAP to Domain Controller (VIP replies)
    microsoft.public.dotnet.framework.webservices
    Hi, i am new on VB .net and i want to list all Active Directory Users in a WebInterface. It is no problem in Windows Applications to list users, but in Web Application i allay get the following error Server Error in '/IP Phone Admin' Application. The specified domain either does not exist or could not be contacted Description: An unhandled exception occurred during the execution of the current web...
    leading space in dropdownlist (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am populating a droplist control from a query. each line of content in the dropdownlist gets "trimmed" automatically . how can I force a leading space to a line in a dropdown list ??
    left, mid and right in vb.net (VIP replies)
    microsoft.public.dotnet.languages.vb
    How do I use left, mid and right in vb.net? regards reidarT
    LIKE operator fails with multiple occurance of string in pattern? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm working on a VB.Net application that needs to do quite a bit of string pattern matching, and am having problems using the "LIKE" operator to match the same string twice in the pattern. For example, in the following code: Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim theString As String theString "1234 TEST 5432 TEST ABCD" If the...
    linestyle and linecaps (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I was wondering whether we can set linestyle and linecaps in CF using P/invoke to call WinCE dll. Thank you in advance.
    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