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
    Bug in B2 in RequiredFieldValidator with multiline input (VIP replies)
    ASPFriends.com 'aspngcs' list
    It appears that the RequiredFieldValidator will return false (Invalid) if the TextBox being Validated contains a NewLine (CRLF) character. The following .aspx code demonstrates the bug (code runs in both B1 and B2, B1 recognises that the field has a value even if it contains a newline character, Beta 2 does not). (Note this affects the Beta 2 (0818) ibuyspy portal Announcements module. The fix for...
    Bug in Compact Framework 1.0 SP2 (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hello, Ho do I report a bug in the Compact Framework 1.0 SP2 ? I have a sample application I put together that clearly show an inconsistency between SP1 and SP2. When loading an XML document with its XSD in service pack 2 NOT all of the dataset tables get populated. With service pack 1 the dataset is loaded properly. I would be happy to upload the application and explain more about this issue. Bes...
    Bug in DataGrid - ItemCommand event does not fire for ButtonColumn if ButtonType="PushButton" (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    We have a Datagrid which contains a template column with a button in it, as well as an actual button column. If either of the buttons are clicked, the ItemCommand event does not fire. If however, the ButtonType of the ButtonColumn is changed to "LinkButton" instead of "PushButton", the event fires normally! Why on earth is this happening? I presume this a bug in .NET? (We are using 1.1 final). asp...
    Bug in DateTimePicker.cs (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I appreciate having the managed DTP control, including source code. I found a bug to report. If you select day 31 in a 31 day month, then change the month to a month which has less than 31 days, the code crashes apparently try to leave the days at 31 in a month that doesn't have 31 days. Please help get this inoformation to the person who can fix it thanks. Robert Lalouche, ObTech rlalouche@obtech...
    Bug in printDialog1.ShowDialog()? (VIP replies)
    microsoft.public.dotnet.framework.drawing
    Everyone, I am using .NET Framework 1.1 and MS Development Environment 2003 and Windows XP I have noticed that when you display the generic printDialog.ShowDialog method and there are no printers setup on the machine the dialog prompts for the user to add a printer, which is good. The bad part is when the user clicks the 'No' button, the message is immediatly displayed again and will go away after...
    Bug in TabControl? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Being a .NET beginner, I'm having problems with the TabControl in the .NET Compact Framework. The TabControl seams to be messed up when I in run time remove TabPages form the control. The problem can be illustrated as follows: Using Dev Studio 2003 create a C# Smart Device Application (for Pocket PC) Add a TabControl to the form In the Form Load add the following code: private void Form1 Load(obje...
    Bug in timers.timer ? (VIP replies)
    microsoft.public.dotnet.framework
    Hi, Maybe Iâ m doing something wrong but I canâ t know what. Iâ m using timers in my applications to do things after n seconds after do any other thing. Symptoms: After a random time the Elapse event just stop to be raised. I tried to debug and found something curious: Although I specified AutoReset property to False, at some time in the Elapse event the Enabled property came at value of True!!! A...
    Bug in user control rendering? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I have a usercontrol defined as: P a id "sectionName" runat "server" /a asp:PlaceHolder id "detailsBody" runat "server" /asp:PlaceHolder br asp:HyperLink id "hrefTop" runat "server" NavigateUrl "#top" Top /asp:HyperLink /P In the cs code I have added some public properties and a public method, which set some of the control properties itself: public string AnchorName { get {return this.sectionN...
    BUG on BindingContext in framework V1.1 (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I've been trying to get an answer from french newsgroup but I did'nt succeed in this, so I'll try on this group and sorry for my poor english. The description of the bug : The CurrentChanged event from the BindinManager on a Winform never occurs with framework V1.1. and it is not possible from the bindings to know if the user has done some modifications. With framework V1.0 it was OK You can f...
    Bug with finalize (VIP replies)
    microsoft.public.dotnet.framework.clr
    I have a hot problem in my application. (Using .NET 2003) My form has an try catch finalize in is constructor (new function in VB.NET) My Form call a function from another class to load a combo box. My Form has a function "cmbLots SelectedIndexChanged" Changes in items of combobox cause the function "cmbLots SelectedIndexChanged" to be called. Problem append when I use a second instance of my form...
    Bug: handling value class events from another assembly (VIP replies)
    microsoft.public.dotnet.general
    This has occurred in MC , but since there is very little response on that NG, I am also reporting it here in the hope that someone can find me a workaround, and report it to MS. If a value class with an event is put into an assembly and a gc class in another assembly, which has an instance of the value class as a data member, attempts to attach its own event handler to the value class's event, eve...
    BUG: Response.Redirect causes premature session expiration when using cookieless sessions (.NET 1.1.4322) (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi gang, This one looks like a bug :o( As you may or may not know, setting session management in web.config to use cookieless sessions causes the ASP.NET runtime to munge a session ID into the URL, in the format http://yourapplicationpath/(Session.SessionID)/... which saves numerous headaches when it comes to storing state across page requests and sessions. It works very well for us our website at...
    BUG: Setting Server Control's InnerHtml forces Constructore to be called. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    While creating a shopping cart application I noticed a strange bug which resulted in the Constructor and everything being called twice. I was using Inherited classes ClassShowProducts inherited TemplatePage which inherited System.Web.UI.Page which I thought was the problem so I spent all day recoding everything so that ClassShowProducts was inherited from System.Web.UI.Page. Then I found out that ...
    Bug: static __event in Managed Extensions (VIP replies)
    microsoft.public.dotnet.framework
    So I read all about the abstraction advantages of using event instead of exposing a bare delegate, but this doesn't work in Managed Extensions for static events. The problem is that the instance constructor NULLs out the static event, which makes them useless unless you have a class with only static methods. Test code (with the resulting IL shown afterward): using namespace System; namespace TestS...
    BUG? DataGrid + Threading = An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi there, Could anyone confirm that the code below throws the following exception at the random number of rows added: "An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an object." '########Source Code Start########### Imports System.Threading Public Class Form1 Inherits System.Wind...
    BUG? Forms close when subform closes (VIP replies)
    microsoft.public.dotnet.general
    My application has a main form that looks like Windows Explorer. When an item in the list view is double clicked, a dialog box opens for that item. From that dialog box, the user may click a button that opens another dialog box. The that dialog box is closed, the first dialog box closes too... which is not the intended behavior. Is anyone else having this problem and are there any workarounds? I t...
    BUG? With A HTTPModule (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have come across a very strange bug while working with an HTTPModule. The bug appears to manifest itself when in the context BeginRequest making a call to context.Request.QueryString["SomeItem"] when no items are specified. Example code is try { if (context.Request.QueryString["AnyKey"]! null) { ... do some code with it; } } catch (Exception ex) { ... handle error here which never gets touched b...
    BUG?- Reflection.assembly.GetCallingAssembly returns different values when compiled for Debug or Release (VIP replies)
    microsoft.public.dotnet.framework
    I'm getting two different results when I call System.Reflection.Assembly.GetCallingAssembly when compiling in Release and debug modes. When i compile my application using the "Debug" configuration my call to GetCallingAssembly returns the assembly name of the project that contains my form and class(as expected). When i compile using the "Release" configuration GetCallingAssembly unexpectedly retur...
    BUG?: VB.Net - Inherited form. Known Issue? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, First, sorry for the crosspost, but it seemed appropriate... :) I've come accross what I consider to be a bug, but I don't know if it's already known or not. (VS .Net 2003 Pro VB.Net) Whilst playing with inherited forms, I created a simple base form containing a single button. I set this buttons' Click event to be public overridable and put "me.Close" in the code. I then built the project and ...
    BUG?: VB.Net - Inherited form. Known Issue? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, First, sorry for the crosspost, but it seemed appropriate... :) I've come accross what I consider to be a bug, but I don't know if it's already known or not. (VS .Net 2003 Pro VB.Net) Whilst playing with inherited forms, I created a simple base form containing a single button. I set this buttons' Click event to be public overridable and put "me.Close" in the code. I then built the project and ...
    Build error object reference? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have been getting the following error fro an event in an rpx.cs file. The error is as follows: An object reference is required for the nonstatic field, method, or property 'DataDynamics.ActiveReports.ActiveReport.Sections' Can someone point me in the right direction in terms of where I am going wrong. private void Detail Format(object sender, System.EventArgs eArgs) { if(((CheckBox)Test.Sections...
    Build new Access database from .NET application. (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hi all, I'm currently working on a new solution that entails extracting key data from MS SQL Server (2000) and essentially export a dataset to an Access database. I may have been overthinking this but here's what I'd like to do: I have an XML representation of the MDB structure I need to build each time called tblClosing.XSD 1. Once I obtain a valid set of data as approved from the user, the sourc...
    Building controls at runtime and responding to their events (VIP replies)
    microsoft.public.dotnet.languages.vb
    This app will fill a datatable from sql server at load time (and can clear and reload it again if the user requests it). The contents of the data table contain program names and program groups. For example Accounting ACT123 ACT456 ACT789 Production PRO123 PRO234 Shipping SHP432 SHP678 etc. The data from this datatable will be iterated through and for each entry, i.e., ACT789 under the Accounting m...
    Building Menu from DB (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi can someone please tell me how I dynamically create a menu like the one shown below from a database. I want to create a loop that loops through all the records in a table and builds a table similar to the menu shown below! I would be grateful if you could give me a ny assistance with this! Thanks. ...:: CODE ::.. Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) ...
    Building up a Page Using User Controls Dynamically Loaded at Runtime (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    Hello to all, My question is based on Scott Guthrie's example on "Building up a Page Using User Controls Dynamically Loaded at Runtime", (see article on http://www.dotnet101.com/articles/art020 DynamicUserControls.asp). I have tried to add controls by clicking on a link button, the code bel ow works fine if I do not need to enter any data in these new controls, otherwise the data is lost at each n...
    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