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
    Cursor won't stay as I set it (WaitCursor) (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I have an application where the login to the server could take 30 40 seconds. I have a main form with a "Login" button on it and a handler: private void btnLogin Click(object sender, System.EventArgs e) { Cursor.Current Cursors.WaitCursor; log.Debug("About to open session"); session Session.Open("username", "password", "instance", "server"); log.Debug("Opened session"); btnAdapters.Enabled tru...
    custom color in requiredFieldValidator (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I've a simple webform with a requiredFieldValidator. I want to change the default error message color from red to a custom color. Here i've a problem: When i use this: asp:requiredFieldValidator ForeColor "blue" runat "server" controlToValidate "achternaam" errorMessage "achternaam"/ It works fine. But i don't want to use "Blue" but a custom color. So i create a color object myself: Dim MyColo...
    Custom ComboBox Problems (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi All, I am extending the combobox to create a control that selects an item based on the text the user is typing into the text area of the control. I have an issue that occurs only when i drop down the combo box as the users typing. When the on leave event is fired the value in the selected index is correct, but if i check the value after that it is set to the previous value. if i select item one...
    Custom compound WebControl accessing elements on postback...? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a custom WebControl that creates an array of textboxes (naming them dynamically), for example: INPUT id "c0r0" type "text" runat server value "Item A" INPUT id "c1r0" type "text" runat server value "100" br Now let's say the user changed the value of c1r0 to from '100' to '200' and clicks an 'Update' button. In the Page Load postback, none of the controls are accessible. How can I access th...
    Custom DataGrid nightmare. (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am fairly new to VB.NET, and I am rewriting an application I wrote a while back, also in VB.NET. I aplied some new things I learned. Anyway, here is my problem....... I have a custom DataGrid with a buttonRow that does a delete function for me. Microsoft support helped me back then to get this done. Here is part of the code that creates the dataGrid: Dim ButtonColStyle As DataGridButtonColumn Bu...
    Custom deserialization and CollectionBase (VIP replies)
    microsoft.public.dotnet.framework
    Hello, I'm writing a custom container class using CollectionBase and I'm having some trouble with implementing the ISerializable interface so I can have some custom handling on serialization. The problem is, in the deserialization constructor, I can't set the InnerList property of the CollectionBase class as its a read only property. Any ideas?
    Custom Exceptions in COM+ (VIP replies)
    microsoft.public.dotnet.framework.interop
    We are using a custom exception for our error handling in COM . We have implemented the serialization new constructor and the GetObjectData() function so that serialization can occur with our class (and seems to work). However when our custom exception is thrown by our COM component it always seems to be caught on the client side as a TargetInvocationException with our custom exception as the inne...
    Custom format on Clipboard (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am trying to Copy and paste using a custom format but I canot retrieve the data. In the main Form's class I have declared: Dim myDocmanFormat as DataFormats.Format then in the New Sub of the main form I have: myDocmanFormat DataFormats.GetFormat("DocmanFormat") In the Copy sub I have: Dim thisDataObject As New DataObject Dim thisData As DocmanData CType(thisNode.Tag, DocmanData).Clone thisDataOb...
    Custom Principal (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    For some odd reason, despite the fact that I assign my own custom IPrincipal to the HttpContext.User property in an HttpApplication.AuthenticateRequest event handler inside of an IHttpModule, when I check the Page.User property, it's a WindowsPrincipal and not my custom Iprincipal. Why would this be? .... using System; using System.Web; using System.Security.Principal; namespace ImpersonationSampl...
    Custom Progress Bar Show Dialog (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm trying to build a custom progress bar that will run as some subs are running in the background but when I open the custom form with the progress bar on it using the showdialog, none of the subs run until the form is closed but I need the form to be on top so the users can't click anywhere else till the tasks are complete. How would I go about doing this? I need to open this form, runs some sub...
    Custom Range Validator how-to? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Would appreciate some help, as I am blanking on the best way to do this. I want to have a Range Validator for a textbox where the Minimum and Maximum values are based on what is entered in a different textbox. So, for instance, if the value in the other textbox is X, then the range validator would check to ensure that the value being validated is between 20 50% of X. What is the easiest way to do ...
    custom user logging tracking (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I would like to log specific web user requests and other specific actions to a file in XML format to analyze site usage and track users.I would appreciate it if anyone can suggest or point me to any resource on how to do this, especially keeping in mind the issue of mutiple users simultaneously writing to the same log file. Thanks in advance.
    customErrors (VIP replies)
    ASPFriends.com 'aspngconfig' list
    Copied from [aspngfreeforall] to [aspngconfig] by Marcie Jones marciejones@yahoo.com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. NextPartTM 000 f08eab3e e4d8 4d9d ae61 3cf1e96512fe Content Type: multipart/alternative; boundary " NextPart 001 01C1E650.AD04A720" NextPart 001 01C1E650.AD04A720 Content Type: te...
    CustomValidator control BUG (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    If this is intended behavior the documentation is rotten! One customvalidator in an error state with one or more other noncustom validators in a like state will cause unexpected behavior. One would think that this customVal would act like the other val controls but this doesn't occur. The customVal will only report its error if all the other val controls are not reporting errors whether or not one...
    Cut Copy Paste Undo (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm trying to come up with a way to create a contextmenu that will do all the "standard" functions (cut, copy, paste, undo, etc). There seems to be a lot of information out there but nothing seems to work for me. A few people refer to txt.copy() txt.paste(), etc. I'm not sure if those are old functions, but they do not work for me. I've tried textbox1.selectall() that works in selecting all the te...
    Cut/Copy/Paste Forms Designer (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    I'm creating a custom forms designer by using IDesignerHost to host components. Adding components from a toolbox works fine and as expected. I'm trying to add other actions though like Cut, Copy and Paste (and Undo/Redo too). I've already implemented Delete by just using StandardCommands.Delete. However, StandardCommands.Cut, etc do nothing. How do I cut, copy and paste controls? Thanks.
    Cystal Reports in C# (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I am trying to add a Crystal Report Viewer to my C# app and configure it in code. I have the book ""Professional Crystal Reports for Visual Studio.NET" but all the code is in VB. I am trying to translate the following example to C# but having no luck. Is anybody out there bi lingual? Private Sub Form1 Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim myReport...
    DAAB - run SP (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I am learning how to use DAAB. I need to execute a stored procedure and return the result as a stream. Can someone help, please?
    Data Bind and View State (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have the simplest web page (using code behind): body %# MyText % two buttons button1 and button2 /body My code behind web page is very simple too: public class WebForm3 : System.Web.UI.Page { protected System.Web.UI.WebControls.Button Button2; protected System.Web.UI.WebControls.Button Button1; protected string MyText; private void Page Load(object sender, System.EventArgs e) { //DataBind(); // ...
    data binding (VIP replies)
    microsoft.public.dotnet.general
    hi i have a combo box which i populate with all tables from northwind database and when the user selects an item from the combo, i want to populate the datagrid with data from that table. private void FillComboBox() { DataSet allTablesDataSet new DataSet("AllTables"); string sqlString; this.tableComboBox.Items.Clear(); sqlString "Select * from sysobjects where type 'u'"; this.sqlDataAdapter new Sq...
    Data Binding to a object... (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm not sure if I'm going down the correct route... I have a class which exposes a number of properties of an object (in this case the object represents a customer). Can I then use this object to databind to text boxes etc? I can't use a dataset as the object has loads of derived logic, for example updating one property may actually update several database fields for example. Hope I've explained t...
    Data Binding with ADO.NET and ASP.NET (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have several apps that use a roll your own approach, but I am embarking on a project which will not allow that with the time constraints. I have gened up a little app to try the databinding approach. Simply it is a page to maintain the Territories table in Northwind (SQL Server). I have two SqlDataAdaptors one for the list of Territories on for the individual Territories row (uses parameter to s...
    data grid visual basic .net (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    hello, i have in my form datagrid obtain a list of orders i want to select mulitple rows in the grid in order to invoke on them delete action my question is how i can know in the code behind which rows i have selected? i looked for a property in the grid like selection bookmark and i did not find thank you, dani
    Data Grid will not display (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Thanks for the Help in Advance!! I am a beginner in VB.Net. I am trying to create a form which is displayed in a email for our customers to fill in a Request for quote. I would like them to type data into fields and have it added to the Datagrid. I am constantly getting the error Column 'OALen' does not belong to table . Any Ideas? Public tblJobItems As New DataTable Private Sub Page Load(ByVal se...
    Data Provider Problem (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hello Everyone: I am trying to develop a fairly complex application using Visual Studio, (2003) the .net framework 1.1, and Oracle 9i as the database. I'm using VB.NET We found problems with the OLEDB Data Provider that were serious, and so we took the time to switch our code to the OracleClient Data Provider. I have written a test program that queries on column from an Oracle table. The column is...
    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