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 access an event of a custom control? Thank you! (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    Hi, I have some troubles with events in a custom control. Consider the following custom control: Imports System.Web.UI.WebControls Imports System.Web.UI Imports System.ComponentModel Imports System.Drawing ToolboxData(" {0}:CustomButton runat server /{0}:CustomButton ") Public Class CustomButton Inherits System.Web.UI.WebControls.WebControl Public Event Click As EventHandler Private Function inDes...
    How to access code inside methods (VIP replies)
    microsoft.public.dotnet.framework
    Hi, I need to make a tool that looks into a class or set of classes (could be a whole assembly) and be able to find out the classes and interfaces that are referenced inside the methods, so that I can create a dependency graph. I though maybe using Reflection or a class like CSharpCodeProvider, would allow me access to the implementation of methods. Am I looking at the wrong place? If source code ...
    How to Access Data Using Query? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi All, I am new to VB.Net and am having a problem with the below code. I am trying to fill in a datagrid with the below query but it keeps giving me error where the *'s are located below. I have an OleDbDataAdapter, OleDbConnection and DataSet on my form. This is the actual error: An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll Thanks Mathew Private S...
    How to access page code behind from User Control code behind (VIP replies)
    microsoft.public.dotnet.general
    In the code behind of a System.Web.UI.UserControl, I want to kick off a Save() function I've written in the code behind of the System.Web.UI.Page the user control sits on. How can I do that?
    How to access Panel Control (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have a simple C# windows app with 3 forms(frmMain, frmTest1 and frmTest2). The frmMain form has a toolbar control docked to top, groupBox control docked to the left and a panel control dock style with Fill. frmTest1 have lots of textboxes, buttons, etc. controls on it. frmTest2 is same as frmTest1 with lots of controls. When I click a button on the toolbar or groupbox control, I load frmTest1 co...
    How to access web control from code behind page? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a web control I made called header.ascx. It has its own properties and methods I defined. But I cannot figure out how to access this control from my code behind page. I can create the web control just fine and script with it as needed from the webform1.aspx page itself just fine, like this: %@ Page language "c#" Codebehind "WebForm1.aspx.cs" AutoEventWireup "false" Inherits "mysite.WebForm1...
    How to access web control from code behind page? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a web control I made called header.ascx. It has its own properties and methods I defined. But I cannot figure out how to access this control from my code behind page. I can create the web control just fine and script with it as needed from the webform1.aspx page itself just fine, like this: %@ Page language "c#" Codebehind "WebForm1.aspx.cs" AutoEventWireup "false" Inherits "mysite.WebForm1...
    How to add an event handler at run time? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I have created an array of buttons at run time and need to associate them a click event. I have added the following routine as the event: public void UpdateClick(Object sender, EventArgs e) { lblError.Visible true; lblError.Text "It worked"; } Below I have included the line of code used to hook up the button with the event: btnUpdate[intElement1].Click new System.EventHandler(UpdateClick); The cod...
    How to add array of TabControls at runtime ? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I am currently using TabControl on a form with another TabControl,panel,Grid & label controls inside it. Can i add an array of TabControl with all the inner controls(TabControl,panel,Grid & label) at runtime ? As all the controls are added dynamicallly, how to attach events to these controls ? Earlier in VB6, we were able to do the same with control array. Is there a way to do this in VB.Net ? ...
    how to add two value in combobox using datagrid? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    i have successfully added a combobox to my datagrid by setting their datasource from one of my table. here's my code... Dim grdColStyle6 As New DataGridComboBoxColumn() With grdColStyle6 .MappingName "MajorID" 'must be from the grid table... .HeaderText "Major" .Width 120 .ColumnComboBox.DataSource DsStudentCourse1.Tables("Major").DefaultView 'dv; .ColumnComboBox.DisplayMember "Major" .ColumnCombo...
    how to add two value in combobox using datagrid? (VIP replies)
    microsoft.public.dotnet.languages.vb
    i have successfully added a combobox to my datagrid by setting their datasource from one of my table. here's my code... Dim grdColStyle6 As New DataGridComboBoxColumn() With grdColStyle6 .MappingName "MajorID" 'must be from the grid table... .HeaderText "Major" .Width 120 .ColumnComboBox.DataSource DsStudentCourse1.Tables("Major").DefaultView 'dv; .ColumnComboBox.DisplayMember "Major" .ColumnCombo...
    How to address functions on HTML page from code behind page? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Is there a way to address functions that are inside of a script tag on the HTML(.aspx) page from the code behind (.aspx.cs) page? I want to be able to place a function inside of script tags on the .aspx page such as this SCRIPT language "JScript" function openDetails() { window.open("http://localhost/details.aspx"," blank", "fullscreen yes, toolbar no, menu no"); } /SCRIPT and I want to be able to...
    How to built an own simple usercontrol? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I try to built an own usercontrol for the compact framework. In a lot of microsoft documents the windows control library is used. But in the release version of VS .Net 2003 this project type is missing. I'm searching for the easiest way to create a simple usercontrol for the compact framework. It should be useable in designtime, too. Can anybody help me? Perhaps you can give me an example. Thousan...
    How to call a function (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    I have a situation from a button click I call thsi function Submit3 ServerClick(object sender, System.EventArgs e) I would like to call also from my on load function. Submit3 ServerClick() this does work. How Can I do both the button click and the on load event function Dennis H. West West Design dotnetDeveloper http://www.aspalliance.com/dotnetsolutions westdh@home.com
    How to call an Event ? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, How can I call an event from an action. Example, I want to call the datagrid.Double.click event when a button is pressed. Stan.
    How To Call Function ... (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi , I have 3 files , middle.aspx file include the header.aspx and footer.aspx files . in each of the include files there is a function and from some reason the call to the Footer() function from the Header.aspx file works fine But The Call From The Footer.aspx file to the Header() function doesn't work bcz of some Compiler Error Message: BC30188: Declaration expected Please Advise . Here is the c...
    How to call Server side Function from client side function ? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi everybody I want to solve the following problem : I have some panels on a web page. User select which one is visible or hidden. When a panel is visible and user clicks on the web page but outside of that panel then I want to call a function to hide visible panel(s). I am calling server functions by the following code but does not work ? Sub Server Function(sender as Object, e as EventArgs) 'Cle...
    How to capture Minimized event of a form? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    It seems no such event for a form? thanks
    How to change and image? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, i know how to hide a table according to a condition: table runat "server" visible ' %# dataSetBibliotecas.FieldValue("Titulo", Container) "" % '... Now I am trying to change the image file as follows: Show the image "yes.gif" if the value of a dynamic field is equal to "YES"; Show the image "no.gif" if the value of a dynamic field is equal to "NO". Do you think this is possible? Can you hel...
    How to change row height in a DataGrid (VIP replies)
    microsoft.public.dotnet.languages.vb
    How to change row height in a DataGrid I have DataGrid that is filled with data from a table in a DataSet. The content of the cells is text of more than one line (as a note field). What I want is to set the height of the row based on the number of lines in it. The row height of each row in the table may be different from each other. Is there a way to do this? TIRislaa
    How to change the size of a modal browser window? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am using the following JavaScript to diplay a modal window: window.showModalDialog('Open/QicWebError.aspx', " & "' blank', 'height 380, width 520, " & "location no, menubar no, titlebar no, toolbar no', true); But the problem is that I can't set the size of the window. The settings I use in the script doesn't seem to work and I can't make it resizeable either. Please help.
    how to check for eof in a textfile? (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    How do I in vb.net check if the file is at the end if I am using a stream reader? David Everything in this e mail and any attachments relating to the official business of Isonet ZA is proprietary to the company. It is confidential, legally privileged and protected by law. Isonet ZA does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being...
    how to check wether a user is idle (VIP replies)
    microsoft.public.dotnet.general
    Hi, I'm creating an app. in C# that shows a popup, but it only should if the user is really working on the computer. It shouldn't popup if e.g. the screensaver is running. I the user is working again, it then should popup. But how do I check the amount of user idle time?
    How to choose what control will receive action (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Dear Friends, I have the following code that creates dynamic controls at my form. My dificult is how to correct this code to put distinct AddHandler to each button and how to choose what label will receive text when Button1 is clickedor Button2 is clicked. I want to make possible to change text on Label1 when Button1 is clicked and change text on Label2 when Button2 is clicked .. and so on... Rega...
    how to close a vbnet winform when it's completely loaded (VIP replies)
    microsoft.public.dotnet.general
    Hi. I have a MDIchild form called Form1. In Form1 Load code, the form populates a Listview control based on a datareader, but I want to close the form inmediately and return to the parent form, if there was a problem connecting to the database and populating the Listview control. I've tried something like this: Protected Overrides Sub OnActivated(ByVal e As System.EventArgs) MyBase.OnActivated(e) ...
    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