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
    Deserialize from MemoryStream cause Exception (VIP replies)
    microsoft.public.dotnet.general
    Hi: I try serielaze/deserialize a object using a MemoryStream in C#, but this cause the exception "The root element its missing", when I try do it whit a FileStream the exception not occur. I need serialize in memory with XML (no write to a file), store this information in a database and recover after to deserialize this XML. The code for this (extract) it's: THE CLASS: [Serializable] public class...
    Deserialize to DataSet - DataType ? acts like bug. (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I read in a earlier post that I can get the column of a grid to sort by datetime if the column type was set as Date. I deserialize my XML and one attribute of the XSD has type as dateTime but upon inspection and behavior in the grid the data type is string. If I preview the dataset with the GUI in VISSTUDIO it shows my datatype to be dateTime ... If I try to rest the datatype I get this error Addi...
    Designer is having a hard time with dynamic properties (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    Hi, everyone, While trying to be a nice guy and putting my connection string in a dynamic property, VS.NET 2003 decided to test my limits... So I created a minimal test case for your enjoyment. Attached are 2 source files with the code. Basically all I did was add a usercontrol UserControl1, which has a TextBox with its Text property coming from the app.config file. When I open UC1 in the Designer...
    Designtime Property Setting outside propertylist (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I have this custom control (derived from a TextBox) with a property. I find it bothersome to go through the (long) property list to set a simple, (for me most important) property in the property list. So, I created a custom designer, and when I right click the control I get a popup menu, where I can select my value. Works fine. But, if I use the popupmenu click handle to set the property, it d...
    DesignTime question (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have a user control (control 1) wich holds other user control (control 2) In control 1 there is: if(!DesignMode) {cont new control 2; }so in design mode I can not see the user control 2 inside, this works fine untill I add control 1 to form or other control. In this case the constrain !DesignMode returns true (control 1 thinks that this is run time). How to make condition (without messing with e...
    Desparate - ASAP - P/Invoke probs (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Major problems w/ deadline tonight! :( I've created a DLL with the SmartPhone SDK. I've created a .NET CF app and try to p/invoke a function in the DLL. I always get System.MissingMethodException. I've copied the DLL to both my application's folder and in the \windows folder on the PocketPC. Here's my DLL code (actually, this is all auto generated by the SDK) #ifdef MYSTUFF EXPORTS #define MYSTUFF...
    Detect change of focus on form? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I need to control something (visibility of toolbar buttons) when the cursor moves between fields on a form (using VB .net). How do I detect that the focus has moved? Thanks, Paul.
    Detect Form Closing (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have a main form that is open by using: Application.Run(New fFormCriteria) And then I have a form that runs invisible that is open by using: Dim myForm As New fVersionTimer The fFormCriteria form is the form that the user will close to exit the program. How do I detect the Form Closing event on frmVersionTimer? Is it possible? Derek Hart
    Detecting Control Changes (VIP replies)
    microsoft.public.dotnet.general
    I have an .aspx page which retrieves a record from the database and populates each field in a ASP:Textbox. I allow the users to change the contents of individual text boxes and they click on 'Save' button to save their changes. Quite often users do not click 'Save' and go to some other page. How can I programmatically detect that they have changed one or more text boxes and prompt them to click on...
    Detecting GAC assembly in use during uninstallation (VIP replies)
    microsoft.public.dotnet.framework
    Fellow Frameworkers, Our developer tools are a set of assemblies installed in the GAC. I use InstallShield 8.0 to create an MSI based installer that installs the assemblies just fine, thanks. My problem is that on uninstallation, an assembly currently in use by a running application (IIS, for example) is not detected. Instead, the uninstallation seems to complete successfully, but the assembly in ...
    Determine Left or Right mouse click on a treeview Item (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I am looking for my program to be notified when a user right clicks on a particular treenode. I have placed my code in the "click" event, and I am indeed notified when a user clicks on the node. however what I would like to do is be able to tell which mouse button was used (left or right) can anybody tell me if this is possibe please and point me in the direction of a solution to my problem. A...
    Determine the current event (VIP replies)
    microsoft.public.dotnet.general
    I am writing a VB.NET application in Visual Studio 2003. I have written a method that handles several events, such as closing a form and changing the visible status of a form. I have some code that applies to all these events, but I need to have specific code execute when the form closes. The properties for this method are sender (the originator) and e (event arguments). I know how to get typeof (...
    Determine what control fired the event (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hi guys, considering the following code below, how do I determine which control caused the sub to execute? Ray. Private Sub TwoButtons Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click End Sub
    determining a dropdownlist selected item without doing a postback (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I'm trying to find a way to determine the value of a dropdownlist without forcing a postback. The dropdown is actually a template column in a datagrid and I need to find out what the value is before posting back to the server. When the user selects an associated button column, I want to determine determine what the dropdownlist's selectedvalue is. What gets returned though is the initial value. If...
    Determining previous page (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    How can you determine (in server code) the name/address of the page before the current page? Thanks, Andre
    DialogResult (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Something tells me that there is a single method way of accomplishing this. When you click the button that is designated as the cancel button, the form automatically acts as if it has been dismissed, but for the OK, you have to put in its click handler: private void btnOK Click(object sender, System.EventArgs e) { DialogResult DialogResult.OK; Hide(); } Is there a better way of doing it?
    Dialogs in EVC++ dll not visible .... (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    My problem is that when I add a resource like a dialog in EVC 3.0 and I try to start the dialog from the CF C# the dialog does not start. the EVC dll code is a test function that computes a product and start the dialog. The function is computed correctly, but the form is not shown on the PDA extern "C" declspec(dllexport) int WINAPI MyFunc(int n1, int n2) { AFX MANAGE STATE(AfxGetStaticModuleState...
    Differnece between Events and Delegates (VIP replies)
    microsoft.public.dotnet.faqs
    Dear Guys Pls tell me the difference between Events and Delegates.. Thanx Gopal Prabhakaran
    Difficult Concurrency Exception (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I'm having a difficult DBConcurrency Exception. A form consistst of 2 textboxes and a checkbox, bound through a currency manager to the table 'DateType' columns ID, DateType and Active. The DataAdapter is daDT, the instance of the dataset is dsDT1. All the code for the form is below. There are Edit, Add, Delete, Update(end edit) SubmitChanges(update dataadapter), Cancel and Close buttons. The sche...
    Dim scope within an IF (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have two forms both derived by inheriting the same base form. I have a third form that needs to instantiate one of those two forms, set some Protected properties on the two forms, display the form, test a property of the from when it is closed and then dispose of the instantiated form. The third form has two radio buttons used to determine wich form to instantiate. The folllowing code fails to c...
    Dime doubt (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Thanks for all responses Please advice! Hi All, Clients are uploading large files to my Web Portal. I need to validate these files using a WS. Problem is file sizes are in the range of 5 20MB!!!! Q1. How do I send DIME attachments to the WebSvc from my Portal? TIA
    Directory Services error: The authentication mechanism is unknown (VIP replies)
    microsoft.public.dotnet.general
    Hello I am using the System.DirectoryServices namespace classes to access Active Directory. We connect using the LDAP://DOMAIN method. The code works on local dev boxes, and in staging, but doesn't work on a particular box in our production environment. When we try to connect and do a search, we get a "The authentication mechanism is unknown" error. I have searched on Google, Microsoft Support Kno...
    DirectoryServices Problem on Windows NT Workstation (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I m not sure if i m right int this group... My problem: I made a vb .net application that reads from AD via System.Directoryservices.Directoryentry. The appliocation enumerates group members. It works fine on W2k machines. It works on a WinNT 4 server, too, but it stops with a runtime error on any Windows 4.0 Workstation. The error is: System.Runtime.InteropServices.COMException 0x800500F. at ...
    Disable Linkbutton from Client-Side Javascript - help! (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hello, I have a datagrid, which contains data, as well as a linkbutton column and a button column. I have added attributes to the button like: button.attributes.add("OnClick", "javascript: funcname('" & linkbutton.UniqueID & "');") *NOTE: this code is taking place in the OnItemDataBound function, and after I have the valid reference to the correct linkbutton...... This should then run the client s...
    Disable x button of another program (VIP replies)
    microsoft.public.dotnet.framework.interop
    Hi all, I want to disable the x button of an old dos based program? I guess I will need a process running in the background ? thanks for any help Gerry
    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