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
    inconsistent toString behavior (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I'm seeing something that seems extremely strange to me. All I'm doing is overriding the toString method in one of my classes, so that instances will display the way I'd like in Combo boxes and the like. But instead of calling the overridden method of the subclass, it looks like Object.toString is being called instead toString returns "MyProjectName.MyClassName". So that's strange and mysterio...
    incrementing Time and Date values via command button (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hi. I have some code (below) which cycles through each item in a date/time string showing each one, day then month then year etc.... in turn in a text box, following the click event of a button(cmdYSelect). Is it possibbe to get each of these items to increase/decrease by 1 with a click of another button? Private Sub cmdYSelect Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Hand...
    Index (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hey guys, i have 5 buttons created on runtime, in vb 6.0, each button had a unique index, how is done in vb.net? bellow is the code: Private Sub Form1 Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer 0 Dim myPic(10) as pictureBox Dim yAxis As Integer 9 For i 0 To 1 MyPic(i) New PictureBox MyPic(i).Width 130 MyPic(i).Height 40 'Mypic(i).Font New ...
    Index 0 is not non-negative (VIP replies)
    microsoft.public.dotnet.languages.csharp
    When I run the following code: public void FillEquipment() { DataView eq CreateEquipmentDataSource(); equipDescLabel.Text eq[0].Row["Description"].ToString(); } I get the following error: Server Error in '/FiveYearPlan' Application. Index 0 is not non negative and below total rows count. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
    Individual CheckBox Web Controls ..HELP (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I'm using three checkbox web controls in C# .NET and one button, and one label Is there a way to "group" these individual checkbox web controls? If so, do I use a for loop, hashtable, array, etc. What I'm looking for is how to determine what checkbox was selected from the three checkbox web controls and have the selected checkbox(es) display in a label. I don't want to use the following: if (Check...
    Inheritance and Array's (VIP replies)
    microsoft.public.dotnet.general
    Hello...Maybe I am not understanding how object arrays are created but this problem has bothered me for some time now Take a quick look at the code and then my 'problem' below: #CODE# Public Class CustomerInfo Dim billto() As BillTo Public Overloads ReadOnly Property Billing() As BillTo() Get Return billto End Get End Property Public Overloads ReadOnly Property Billing(ByVal index As Integer) As B...
    inheritance trouble - how to detect run-time or design-time in code (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, in VS.NET 2003 in an asp.net project I have several forms. They have some common functionality and so I created a new class, let's say clsMyFormBase which inherits from System.Web.UI.Page. This class has a few properties and methods that are common in all my forms. Next in all forms I changed the inheritance from System.Web.UI.Page to clsMyFormBase. One method of the clsMyFormBase class (le...
    Inheritanse, insertions and not only that (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi All, I post this message in three newsgroups, maybe somebody can say something helpful. The ASP.NET C# Web app consists of two parts the Mobile part (PDA) and the regular desktop browser (2000/XP) part. The business logic of both parts is absolutely the same. I don't want to make a full copy of the business logic in both parts but it seems to me that I don't have any choice. What's done now. I ...
    Inheritanse, insertions and not only that (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    Hi All, I post this message in three newsgroups, maybe somebody can say something helpful. The ASP.NET C# Web app consists of two parts the Mobile part (PDA) and the regular desktop browser (2000/XP) part. The business logic of both parts is absolutely the same. I don't want to make a full copy of the business logic in both parts but it seems to me that I don't have any choice. What's done now. I ...
    Inheritanse, insertions and not only that (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi All, I post this message in three newsgroups, maybe somebody can say something helpful. The ASP.NET C# Web app consists of two parts the Mobile part (PDA) and the regular desktop browser (2000/XP) part. The business logic of both parts is absolutely the same. I don't want to make a full copy of the business logic in both parts but it seems to me that I don't have any choice. What's done now. I ...
    Inherited DataGridTextBoxColumn not firing the Paint events (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi all, I searched with google but without success: I've a inherited datagrid, in it I've a inherited DataGridTextBoxColumn with all the events Paint overloaded to make the rows with different cell (I copied the code somewhere) but I didn't manage to trap the event. So I tried this code for test but always with no success ! Public Class GridEx Inherits System.Windows.Forms.DataGrid ..... Public Cl...
    Inherited Form (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, i have this weird problem with Inherited Forms. I have a Form with some standard functionality from which I inherit other forms. Whenever I modify the Base Form, the designer does not open the inherited Form in designmode anymore. It gives the following error message: An error ocurred while loading the document. Fix the error, and then try loading the document again. The error message follows:...
    Inherited NumericUpDown: Setting Background Color (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi all, I am trying to set the background color of an inherited NumericUpDown control using the OnEnter and OnLeave events. I have tried the following overriding the BackColor attribute and setting this.BackColor attribute. I have also tried overriding OnEnter and OnLeave events as well as implementing MyNumericUpdown Enter and MyNumericUpDown Leave events. Also, I have tried combinations of event...
    Inheriting a Form (VIP replies)
    microsoft.public.dotnet.languages.vb
    I created a form, BaseForm, with a button as sort of a base class for some future windows. I added a button and put a simple MsgBox in the click event that says "Hi from base" and I set the button's modifier property to "Protected." Created DerivedForm inherited from BaseForm. Was able to go in and add a MsgBox to the Click event for the button (as expected) that says "Hi from derived". When I run...
    Inherits= on HelloWorld Custom Control keeps reverting to default (VIP replies)
    ASPFriends.com 'aspngibuyspy' list
    I am trying to follow the example for the Hello World Portal Module, but using the Visual Studio version of the C# Portal. When I create a new user control the Inherits line looks like the following %@ Control Language "c#" AutoEventWireup "false" Codebehind "HelloWorld.ascx.cs" Inherits "ASPNetPortal.DesktopModules.HelloWorld"% I then change the Inherits value as per the example as follows %@ Con...
    Init method firing early (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Hi, Looks like I've misunderstood something about controls lifecycles. I have an OnInit method override in my control: protected override void OnInit(EventArgs e) { base.OnInit (e); //some stuff } The control is then added to an ASPX page and an event handler is assigned in the Page's OnInit override (as it's usually done by VS.NET, in the InitilizeComponent method). The problem is that my event h...
    Initial Flicker on Fade Out (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Greetings, Having a bit of a problem with a fade out on a form. I'm using a timer which is enabled via a button and then this timer tick then takes the opacity down to nothing and then eventually closing the application. However, what is happening is that when the button is clicked that enables the timer and thus the first tick, the form goes all black and then then repaints to the original form a...
    Initializing Global Info (VIP replies)
    ASPFriends.com 'aspngarchitecture' list
    Hello all, I am new to the world of ASP.NET and wanted some advice. Right now, I have an application where a section of files include a common "setup" file that performs a series of functions that determines where the user is, if they are logged in, etc. It then sets up a series of variables and classes for the pages to use. I have been reading a lot on code behind functionality, custom server con...
    Initializing webform through PageInit() in HttpModule, Httphandler (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    i need help so that i can initialize page thorugh http module or handler i know it is possible through handler using ProcessRequest but im aint configure the things out. i need some thing like this Initialises form fill's datagrid through dataset using commandfactory/command load form please help Moid Iqbal
    Inject <STYLE> element into <HEAD>? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    anyone know of some way for a control to add a STYLE element into the HEAD section? I would think that MS would have thought of the equivalent of a Page.RegisterHead method like RegisterStartupScript or RegisterStartupScript
    Inline editing of HyperLinkColumn (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Is there any way to get the datagrid to allow inline editing of a HyperLinkColumn? So far I can only make it work with BoundColumns. Brett
    Input mask (VIP replies)
    microsoft.public.dotnet.languages.vb
    Seasons Greetings to All! I want to create a input mask for a textbox containing a field in a access database. The field would be xxx xx xxxx . I cant figure out where to start... Help?
    Input string was not in a correct format (Paging) (VIP replies)
    microsoft.public.dotnet.languages.csharp
    { Line 47: sqlConnection1.Open(); Line 48: myReader currentSqlCommand.ExecuteReader(); Line 49: Line 50: DataGrid1.AllowCustomPaging true; It hangs on line 48 with the subject error. I have a feeling it's because of the line below : cmdNext.Parameters["@productid"].Value ""; Like do i have to somehow convert it to an int somewhere? Code extract private void Page Load(object sender, System.EventArg...
    Inputbox Focus (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, Is it possible to have set focus automatically when using an Inputbox? At present, I call the inputbox function and the user has to click in the box before they type. Thanks in advance. Regards, David.
    InputPanel - Please Help (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, I am trying to get the input panel to work with my app, but each time I try an exception is thrown (no useful info included in the exception.). However whenever I try to run the code on http://samples.gotdotnet.com/quickstart/CompactFramework/doc/inputpanel.aspx or the code included for chapter 4 of the .net compact framework core reference (ms press), everything works fine. I have looked at t...
    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