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
    How to use "session_start" (VIP replies)
    microsoft.public.dotnet.general
    Hi, I'm a newbie. I was trying to figure out how to use the Session start method? The reference books I'm reading say that a session STARTS when "session start" is called. But ... in their sample code... I never see that explicitly called. Is it supposed to be called from the Global.asa file (still not sure what that is...) Is "session start" a server side scripting thing? Or a client side scripti...
    how to use asp.net page to send an email? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    how to use asp.net page to send an email? Posted via Newsfeed.Com Unlimited Uncensored Secure Usenet News http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups 19 East/West Coast Specialized Servers Total Privacy via Encryption
    How to use control 'Invoke()' from second thread - 'Catch 22' (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I seem to run into a Catch 22 problem updating forms from a second thread. I have only been able to get the Invoke() function to work when the form was displayed using Application.Run(TheForm). When using ShowDialog() to display the form the Invoke() function does not return until the form closes. However, The application loses focus if I use Application.Run(TheNextForm) after the first one is clo...
    How to use control 'Invoke()' from second thread - 'Catch 22' (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I seem to run into a Catch 22 problem updating forms from a second thread. I have only been able to get the Invoke() function to work when the form was displayed using Application.Run(TheForm). When using ShowDialog() to display the form the Invoke() function does not return until the form closes. However, The application loses focus if I use Application.Run(TheNextForm) after the first one is clo...
    How to use enumerable (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I'm still very new to vb.net. I created a class, TableList, that inherits collections.base. I'd like to do a "for each" in another class that instantiates a TableList. I think I need to implement IEnumerable. The things that I know that I don't know are: If I implement IEnumerable are there any particular methods that I have to create i my TableList Class. When I do my "for each", it will be s...
    how to use old INPUT tags (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I want to see posted values from old school INPUT tags, but when I do this: form id "Form1" method "post" runat "server" input type text id "test1" value "hello" asp:Button ID "btnSubmit" Text "Submit" Runat "server" /asp:Button /form in the btnSubmit Clicked callback I do not see a key for "test1" in the Request.Forms collection as I would expect. How/where can I see such submitted values? I do n...
    How to use QBColor in VB.NET? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, In VB6, on every click on Command1, to change the Form background color dynamically, I use: Private Sub Command1 Click() Me.BackColor QBColor(Rnd * 14) End Sub How can I achieve the same in .NET? When I am using QBColor() function in .NET, it is giving the the following error: Value of type 'Integer' cannot be converted to 'System.Drawing.Color'. Regards, Kamlesh
    How to use ResXResourceReader (VIP replies)
    microsoft.public.dotnet.internationalization
    Hi all, I am getting an error myApp.WebForm1.ResXResourceReader' denotes a 'field' where a 'class' was expected I am trying to read file with .resx and to view its key and value pairs from a asp.net page. What would be the problem in refrencing the ResXResourceReader class. Code using System; using System.Collections; using System.Resources; using System.Diagnostics; public class WebForm1 : System...
    How to use shell32.dll functions (VIP replies)
    microsoft.public.dotnet.languages.vb
    I've referenced the shell32.dll but can't seen to use it. Could someone give an example of using any function in it? Something like: Dim ShellQAs New Shell32.ShellClass Dim shellFolder As Shell32.Folder ShellQ.NameSpace(Shell32.ShellSpecialFolderConstants.ssfDESKTOPDIRECTORY) Thanks for any help
    How to use SQLBinary? (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a varbinary field in my table. (It has the potential of being rather large.) I need to read this value, change it and write it back. I have gotten as far as using the GetSQLBinary method of the SqlDataReader. What I don't know is what do I actually have at that point. I would assume that somewhere this information is going to be presented as an array of something or perhaps as a BitArray? H...
    How to xml serialize arraylist of objects? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I would like to serialize an arraylist of objects to xml so I can store the xml in a database column. How would I code the serializing and deserializing? Below is a (overly) simple, incomplete example of what I'd want to accomplish. Thanks Brad Example ' This object will be used in an arraylist Public Class MyObject Private name as string Public Property Name as string Get Return name as string En...
    How would I find out to which control a given control is docked against... (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys...
    How would I find out to which control a given control is docked against... (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys...
    How would I find out to which control a given control is docked against... (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys...
    How would I find out to which control a given control is docked against... (VIP replies)
    microsoft.public.dotnet.general
    Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys...
    How would I find out to which control a given control is docked against... (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, Is there a way to find to which control the current control is docked against? For example, let's say I have panel1 and panel2 docked to left within a form. The panel1 is the first one on the left and the panel2 is the second one docked against panel1. I want to be able to find out to which control/form the specified panel. I wish, Microsoft had provided a feature similar to the following. Sys...
    How-To Dynamically Create Nested DataTables (VIP replies)
    microsoft.public.dotnet.xml
    I can create this: ?xml version "1.0" standalone "yes" ? ConfigOpt record Field 1 Text # 1 /Field 1 Field 2 Text # 2 /Field 2 /record /ConfigOpt I want to create this: ?xml version "1.0" standalone "yes" ? ConfigOpt settings record Field 1 Text # 1 /Field 1 Field 2 Text # 2 /Field 2 /record record Field 1 Text # 3 /Field 1 Field 2 Text # 4 /Field 2 /record record Field 1 Text # 5 /Field 1 Field 2 ...
    Howto discard changes and revert? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I have a form bound to a specific row in a table in a dataset. I am trying to implement Save and Discard buttons. I have the Save button working using the DataRowView.EndEdit method. For the Discard button I call DataRowView.CancelEdit. The changes really are canceled, but the user input is still there. I can't figure out how to get the Textbox to revert to the previous value. What's the trick? He...
    HowTo Get Window Handle or Control object for Edit part of ComboBox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I'm trying to get Control object of Edit part of ComboBox. WinSpy shows that edit window is a child of combo, but HasChildren property of combo returns false and components collection is empty. I also tried to get the Control object with FromHandle method(using window handle got from Spy) but it returns null. I found that Edit part of Combo is kind of "Edit" class and usual .NET edit control i...
    Howto? Create a multithreaded class library (VIP replies)
    microsoft.public.dotnet.general
    Is there anyone who can point me to a good tutorial on how to create a multithreaded class library? Class A is a controller that starts up a number of threads of code in Class B. Class B raises events back to Class A. I want the code in the eventhandlers of Class A to run on the thread that created the object. In a Windows.Forms control this is easy by calling Control.BeginInvoke, but how do I do ...
    Html i think (VIP replies)
    ASPFriends.com 'ngfx-io' list
    Moved from [aspngfreeforall] to [ngfx io] by Marcie Jones marciejones@yahoo.com !DOCTYPE HTML PUBLIC " //W3C//DTD HTML 3.2//EN" HTML HEAD META HTTP EQUIV 3D"Content Type" CONTENT 3D"text/html; charset 3Dus ascii" META NAME 3D"Generator" CONTENT 3D"MS Exchange Server version 5.5.2652.35" TITLE Html i think /TITLE /HEAD BODY P FONT SIZE 3D2 Hi all, /FONT /P P FONT SIZE 3D2 I have some code that retr...
    Html InputFile control regarding (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi! I'm working on ASP.NET using C#. I'm using Html InputFile Control in webform to download file.I've two buttons,namely,"Import" and "Show summary".I'll hav to click "Show Summary" to see the details of the file to be downloaded before clicking "Import" button.But when I click "Show Summary",the filepath in inputFile control is lost,as result I'm unable to download the file(on clicking "Import")...
    HTMLInputFile control and validation. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Newbee to aspx needs direction. We are using an INPUT type "file" tag to upload a file. We also have a text field for the user to enter a description for the file which the user must enter. Server side validation was being done for the description field having length and if not an appropriate message was written back to the client. However, in the process, the filename the user enters is not persi...
    HTTP download of assemblies (VIP replies)
    microsoft.public.dotnet.distributed_apps
    I am trying to instantiate a windows form from a webform. I have a command button on my web form with the following code in the on click. Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim frmTemp As Form Dim SimpAsm As [Assembly] SimpAsm [Assembly].LoadFrom ("http://jgrundy1/autodeploy/ClassLibrary1.dll") frmTemp CType(SimpAsm.CreateIns...
    http file uploads using HttpWebResponse (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I am trying to implement an http file upload solution from a c# windows application to an asp.net page (I would have prefered FTP but HTTP support is built in so I'm using that). I need to be able to resume uploads so I'm looking for functionality a little more low level than that provided by the WebClient class. The server will be IIS on windows 2003 server and the client will be a c# applica...
    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