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 code JavaScript events from HyperLinkColumn (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I have defined a simple grid with a hyperlink column as follows: asp:HyperLinkColumn HeaderText "Description" DataNavigateUrlField "BillTypeID" DataNavigateUrlFormatString "BillTypeDetail.aspx?BillTypeID {0}" DataTextFormatString "{0:c}" DataTextField "Description" /asp:HyperLinkColumn Which shows the Description and navigates to the detail page by passing the id. Now, I want to tidy up the GU...
    How to conditionally set focus to control in ASP.NET (VIP replies)
    microsoft.public.dotnet.framework
    I see several articles on using javascript to set focus to a control. I need to conditionally set focus to any of several controls, depending on what just happened on the server side. What can I do on the server side to send a message to to the javascript so it can set an appropriate focus?
    How to connect Click-Event with a user-control? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I have a previously selfcreated user control which contains a picturebox and some additional code. I place this user control on a new form and i want it to fire a Click Event when a user clicks it. But it doesnt fire anything on clicking! I read something about user controls being special with events but i dont get to the point yet... Thanks in advance for your help, Jan
    how to convert object to Forms.Label type ? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I'm developping a windowsForms app in C# As i created a lot of labels programmaticaly in the form Load() ispecify the following to manage the event in the same way for all of my labels: So in this sub i wanted to call another form with a specific contructor which set specific values from with the settings of the caller (obviously a Label) My code is the following: private void ChangeSettings(objec...
    How to create a context menu at design time for my own control? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi again, I want to create a context menu at design time for my own control. How can i do this? Thanks to all! Javier Álvarez. Madrid. SPAIN.
    How to create a form instance at hidden state? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello, In my VB.Net application I create a new instance of my form like : NewForm new MyNewForm() But with this line, this new form is automatically shown. I want it to be hidden at the start... Adding a line after this line like : NewForm.Hide() or NewForm.Visible false didn't help. Putting this line to this new form's load event didn't help either. Sub Form Load() Me.Hide() End Sub How can I ach...
    How to create an event that is triggered by a prameter? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am extending the datagrid by adding 3 parameters that can be set both during design time and run time. How can I develop an event that is executed at run time based on the value of the parameter?
    How to create controls at runtime (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi, i'm trying to create some htmlinputfile controls at runtime in my page, based on a integer variable (for example 5) This is simple for the html code, but i don't know how to manage them in the codebehind file, i've tryed to put them all in an array protected HtmlInputFile[] filesUp new HtmlInputFile[total]; but this doesn't work, so i can't get a reference to the controls in the code... Please...
    How To Create Custom Aspx Error Reporting Page (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html error page. All six steps in the article work just fine. Then at the end of the article, there is a little comment about redirecting errors to an aspx page (instead of an html page): "Note The page that is specif...
    How to create Dynamic Controls (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi Every one Having tuff time creating web controls Dynamically. All i am trying to do is read a table and generate a list of ASP TEXT Box. So how do i create this Control dynamically and where do i add the EventHandler to it. Thanks RSB
    How to create metafile in ASP.NET? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    In .NET Windows forms I can create a metafile using this code: Graphics grph aControl.CreateGraphics(); IntPtr ipHDC grph.GetHdc(); Metafile mf new Metafile(aImgFilePath, ipHDC, EmfType.EmfOnly); grph.ReleaseHdc(ipHDC); grph.Dispose(); grph Graphics.FromImage(mf); grph.DrawRectangle(aPen, 10, 10, 100, 120); grph.Dispose(); But how to create metafile in ASP.NET, where are neither WinForms controls ...
    How to create on/off rolloverimage button with non-image text (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    It's a pain to create each button with 2 images: button on.gif button off.gif I am looking for a control that have on/off two states, preferred as BACKGROUND images and with button text on it. Any hint?
    how to create Thread? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have an mdi form and I am trying to call a procedure "myTest" in the parent from the childform. I am experimenting using a thread, but the thread is not releasing the childform. I place a breakpoint in "myTest" on the parent form and I have a msgbox("Done here!") on the childform. The program stops at the breakpoint in "myTest" but does not continue to the msgbox until after I have finished with...
    How to debug System.MissingMethodException errors? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    What is the process for debugging a System.MissingMethodException error? I am using vb.net in the Compact Framework. Mine appears in a Mousedown event, but if I wrap a Try/Catch in that code, a System.MissingMethodException error then appears at the Application.Run(New Form1) level., with a green triangle pointing to this line when debugging. There is no code that "triggers" the error in this case...
    How to define an array of IPAddress-es (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Dear Readers, I am attempting to define an array of IPAddress es in C#. I wish to have a array of address so I can try in order to connect to them in a loop to handle unavailable hosts. Todate since I do not know how to define an array of IPAddress es. I have been defining variable like: IPAddress ipAddress1 IPAddress.Parse( "10.1.1.1" ); IPAddress ipAddress2 IPAddress.Parse( "11.1.1.1" ); Then de...
    How to delete checked row/s in a datagrig (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I've got this code (see below) that lets me check rows in a datagrid. I want to delete the checked rows in the datagrid, not in the database. How can I delete the checked rows? I've also tried using e.Item.ItemIndex, but it deletes the whole datagrid instead of the selected row. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using ...
    how to detect if an assembly is running in winform/webform? (VIP replies)
    microsoft.public.dotnet.framework
    I am trying to create an assembly with general purpose function to use in all of my projects. One function should be called when an error is catch so that it can log the error, send an email and pop up a messagebox, but messagebox does nto work in web form. Is there any function that allows to check if an assembly is running in webform and is there something similar to the messagebox for webform (...
    How to detect if changers to a form has been saved or not (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I have forms with multiple controls, I need to know if the changes have been Saved or not. So to prompt the user if s/he tries to close the form without saving. IS there an elegant approach to this problem? Thanks Al
    How to determine single click vs. double click? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have a windows forms application that needs to do one thing for a single click and another thing for a double click event. However, the forms click event gets fired whenever a double click event occurs and I don't want to perform the single click event plus the double click whenever the user double clicks on the form. What is the best (standard) way to handle this? IMHO it seems like there shoul...
    How to determine which cell was clicked in as ASP.NET DataGrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I created an ASP.NET Datagrid where a single row can be selected by clicking anywhere on the row (according to http://msdn.microsoft.com/library/default.asp?url /library/en us/dv vstechart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl.asp, Selecting Rows by Clicking Anywhere). Private Sub DataGrid1 ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItem...
    How to disable the second click (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hello I have the following problem: an app Win CE with many screens, each screen is a Control, only the Main screen is a Form. When I double click a button on the Main screen, it takes it like a click on the Main screen a click on the button on the second screen and it opens also a third screen (instead of remaining in the second one). I try to disable the button on the Main screen during loading ...
    how to display data in textboxes ? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    i'm trying to display the data into the textboxes when the user enters the appropriate id in the search textfield, however, it keeps on displaying an error message such as the following on my pocket pc An unhandled exception of type 'System.ArgumentNullException' occurred in System.Windows.Forms.dll Additional information: ArgumentNullException... My codes are such as below.My web services was ok....
    how to do AddHandler (VIP replies)
    microsoft.public.dotnet.distributed_apps
    hi, i am having a vb.net window form, that form is having a timer. in each interval the it reads data from sql server back end, continously. and display on it. some times the form may not respond, and after few seconds, responds.... i know i should go for multithreading in vb.net where to start, and how to write for asynchoronous programming inorder to slove my problem help me, thanks
    How to do in UIP (VIP replies)
    microsoft.public.dotnet.distributed_apps
    If I have a form that shows a list view of vendors, user selects a vendor by double clicking. Now I have a vendor ID and want to navagate to a new form that has the vendor detail. Question is how do I get this vendor ID to the new form in the UIP. grs
    How to do you updating properties on the design-time surface? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi, I've just delving into the world of ASP.Net Web Custom Controls I have a firm grounding in Visual Basic and Active Server Pages. I am currently designing a simple Web Custom Control that will act as a Header for a page. So far I have manage to make the control work and render it at design time. However I want to make it re usable by attaching custom properties to it, such as; Header Title and ...
    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