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
    Get current Line and char offsett in vs.net (VIP replies)
    microsoft.public.vsnet.ide
    I need to know how get retrieve the current Line and character offset for the active code document in visual studio.net for example if i wanted to keep track of exactly what point the caret is at inside a document. Basically I want to keep track of every character the user typins into the code document as they type it. Here is some ~example~ code to give you an idea of what I am trying to do. Priv...
    get data from query? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi How do I get data from an MS Access QUERY rather than a table? Below works OK for a table ... Dim myFeedersTable As DataTable myFeedersDS.Tables("Network Data Feeder") Tried a few things, but no go. Thanks Graeme
    Get ID/Value in one Sub handling multiple SelectedIndexChanged events? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Please pardon my ignorance if this is an obvious question to you more experienced .Netters! I'm sure it only has to do with referencing the right class (or containing object?), but I've been unsuccessful thus far. I have a single subroutine that handles multiple SelectedIndexChanged events: Private Sub SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlEmpl...
    Get reference to open instance of excel doesn't work (VIP replies)
    microsoft.public.dotnet.framework.interop
    Can anyone tell me why I get this error when try to instantiate an instance of excel? I have tried this in a test WinForms app and it works fine, its only not working from the web app. Exception Details: System.Runtime.InteropServices.COMException: Operation unavailable Source Error: Line 63: Excel.Application excel; Line 64: // Get a reference to Excel.Application from ROT (Running Object Table)....
    get selected column (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    hello ng, how can I get the selected column index from a datagrid? thanxs simon g.
    Get the component's form (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    Hi, I have a component witch have to execute some tasks when the form is loading but i can't tell my component to do this because i don't know how to eventhandler the load event form. Can you help me ? Regards Nelson FANECO France
    Get The Outlook Sender address (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi there, I'm using c# to retrieve mail messages from outlook. However, i have a problem of getting the sender's e mail address. At present i can get the sender's name but not e mail address. below is the code i'm using. can somebody please explain how to get the sender's address? Thanks James private void button1 Click(object sender, System.EventArgs e) { Outlook.Application oApp new Outlook.Appl...
    Get the same selected date from the calendar two consecutive times (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    When I click any date in System.Web.UI.WebControls.Calendar (C# WebForm), the SelectionChanged event handler fires. If I next click on the same date again, this event handler does not fire, so I can't get the selected date directly from the calendar on two successive attempts. How can I get this same selected date from the calendar on two successive attempts. Storing the value obtained on the firs...
    Get the same selected date from the calendar two consecutive times (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    When I click any date in System.Web.UI.WebControls.Calendar (C# WebForm), the SelectionChanged event handler fires. If I next click on the same date again, this event handler does not fire, so I can't get the selected date directly from the calendar on two successive attempts. How can I get this same selected date from the calendar on two successive attempts. Storing the value obtained on the firs...
    Get top number of rows in the Dataview (VIP replies)
    microsoft.public.dotnet.framework.adonet
    How can I get the top 100 rows of a Dataset. I tried setting the RowFilter of a dataview "TOP 100" but that does not work. Is there any other way to do this? I need to bind the top 100 records to a grid that is why i tried the DataView object. thanks...
    Get True Type Fonts (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I'm trying to populate a dropdownlist with all the available True Type Fonts on the webserver. Anyone know how to do this?
    get url (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Please, I have dropdownlist on my webform. I would like to get web page on certain url adress automaticly when I select an item in dropdown list. I have put AutoPostBack property of dropdownlist to true. I only know how to reach some web page using hyperlink.NavigateUrl . Is there any way to get url adress by using normal buttons or, like in this case, list controls, instead using hyperlink ? Than...
    Get value from Datagrid? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello I've managed to list data from a database and present with a datagrid like this: ProductID Productname 65 A 34 B 11 C problem now is that when I doubleclick on a row i need to pass the value for selected ProductID to a function that shows a form like this ProductID [ 65 ] (textbox) Productname [ A ] (textbox) now how do i get value 65 if i doubleclick anywhere on that row so i can populate a...
    get which panel clicked in statusbar? (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    How does one find out which panel was clicked ? Have a couple of raised panels and would like to know which was clicked to take corresponding action. Private Sub sbrBar Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles sbrBar.Click ??? End Sub Thks, GW
    GetDesignTimeHTML doesn't fire for PanelDesigner. (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I have a custom web control that inherits from System.Web.UI.WebControls.Panel What I want is for developers to be able to drag controls from the toolbox, into my control, and have them appear as they would on the finished page. My control renders a table around the outside of its child controls, and puts a special header row at the beginning of this table. for example: cc1:myctl id myctl1 runat s...
    GetHelpKeyword Problem (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Probably a stupid question, but I'm just learning C# and .Net. I'm trying to create a "What's This" button on my form next to input box the user is supposed to fill in. I have the question mark up top working, but am trying to make the form as user friendly as possible. The code segment is as follows for the button: private void button1 click(object sender, System.EventArgs e) { this.hpTimeTracker...
    GetHitTest + Vs.net Selection of Control (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    I have a case (custom Tab control that acutally works instead of the mess in ..net right now) where I need to handle a mouse click on the control (i.e. changing tabs) at design time. So I implimented a designer and overrode the GetHitTest() function. All is well, except if I return True from that function, the control isn't selected in vs.net as well. This causes problems because there is nowhere ...
    Geting error in MobileUserControl when redirecting (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    Im not able to find RedirectToMobilePage() method in MobileUserControl. How can i redirect via Command control in .ascx to other mobile page. When im using HttpContent.Current.Response() it redirects nowhere; When using : MobilePage pg new MabilePage(); pg.RedirectToMobilePage(url); the same result.
    getSystemPowerStatus (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Can anyone tells me that how can I get SystemPowerStatus from OpenNetCF ? I can find Stucture SystemPowerStatus from Win32.Core but I cannot find the getSystemPowerStatus. And I cant' use the BatteryMonitor an dBatteryLife since the device I have cannot detect battery life. It always says battery remaining is 0%. In fact, I tried use the coredll myself but it does not work, here is the code: Priva...
    Getting a subcontrol to work in a repeater (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Hi all, I have a component that contains the following code: asp:repeater id "MyRepeater" Runat "server" ItemTemplate asp:HyperLink Text ' %# DataBinder.Eval(Container.DataItem, "Name")% ' NavigateUrl ' %# DataBinder.Eval(Container.DataItem, "Path")% ' runat "server"/ MyTag:MyControl Name ' %# DataBinder.Eval(Container.DataItem, "Name")% ' Title ' %# DataBinder.Eval(Container.DataItem, "Title")% '...
    Getting a value out of StringDictionary (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi! I have a StringDictionary itialized as follows: private void frmICUCalculations Activated(object sender, System.EventArgs e) { StringDictionary dataDict new StringDictionary(); dataDict.Add("Item1", "2001" ); dataDict.Add( "Item2", "2002" ); dataDict.Add( "Item3", "2003" ); } Now, I want to 'extract' the Value associated with the Key, as follows: string myValue dataDict.Item( "Item3" ); This d...
    Getting compiler error C2653 and don't know why. (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi All, I am using Visual C .Net to create a windows forms application and I am getting the following errors when I do a MessageBox::Show in my Form1.cpp file: Form1.cpp(19): error C2653: 'MessageBoxA' : is not a class or namespace name Form1.cpp(19): error C2660: 'System::Windows::Forms::Control::Show' : function does not take 1 arguments If I move the MessageBox::Show line into the Form1.h file,...
    Getting compiler error C2653 and don't know why. (VIP replies)
    microsoft.public.dotnet.languages.vc
    Hi All, I am using Visual C .Net to create a windows forms application and I am getting the following errors when I do a MessageBox::Show in my Form1.cpp file: Form1.cpp(19): error C2653: 'MessageBoxA' : is not a class or namespace name Form1.cpp(19): error C2660: 'System::Windows::Forms::Control::Show' : function does not take 1 arguments If I move the MessageBox::Show line into the Form1.h file,...
    Getting file properties programatically (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi All, I'm trying to programatically (using c#) read the file properties (Title, Summary, Author, Comments etc.... The stuff that shows up on the Summary tab when you see the properties of a file). FileInfo and FileSystemInfo classes expose only the standard properties (create time, mod time etc..). Any pointers would be greatly appreciated. Thanks, Ram Thiru
    Getting id's of composite controls (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I can't seem to get the id of the child controls of my composite control. I can get the unique id but the id when I try to access it via the controls collection comes back null. Do I need to add a form tag within the control rather than on aspx parent page. Any ideas? Regards, Chris.
    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