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
    Click in Image to open Link? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, i have an image with the following code: img src "image/panel.gif" width "20" height "80" onClick "fnLoadNewWindow('http://www.google.com');" When i click the image the Javascript Function fnLoadNewWindow opens a new window with google.com. The problem is that the mouse doesn't change when it's over the image to the icon that usually shows when the image is a link. What am i doing wrong her...
    click on hyperlink to call datagrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have the following simple dataForm sample, basically I can click on a button then return the datagrid.dataBind(). but I want to convert my button to a hyperlink, how do I do that? Is that possible? TD asp:button id "buttonLoad" accessKey "L" runat "server" Text "Load" /asp:button public void buttonLoad Click(object sender, System.EventArgs e) { try { this.LoadDataSet(); this.masterDataGrid.Selec...
    clicking on a text box (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, In the .Net compact framework, text boxes do not have a on click method enabled. I was wondering what methods people are using to replicate on click. I have a text box which i want to respond everytime on tap on it.
    client script in user control (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have web pages with common header. So I considering make it a web user control. But I have the following problems: The original pages have javascripts so it switch images when mouse is over it. like this: html head script LANGUAGE "JavaScript" ! function ... /script /header body onload "preloadimages();" A ONMOUSEOVER "changeImages('pic 05', 'images/pic 05 over.jpg', 'pic 13', 'images/pic 13 pic...
    Client side code and server controls. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Gang, I have an ASP.NET page with a series of datagrids on in it. I also have an html button control (on the same page) that runs client side script to display a modal dialog box (window.showModalDialog) . when this modal dialog returns, i want a couple of datagrids on the page to refresh their contents. does anyone know a good way to handle this?
    Client Side Confirmation (VIP replies)
    ASPFriends.com 'aspngreuse' list
    Moved from [aspngwebcontrols] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com Whenever I have a delete button that will delete some record or records I like to get a confirmation from the user before I actually perform the delete. In Classic ASP I just used some JavaScript on the client with a confirm command. If the user clicked OK then I redirected to a delete page. If the user c...
    Client Side Office Automation referencing ASP.net server controls (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am trying to write an aspx page that opens a populates a word document. As I understand it this Office automation should be done on the client side. However i can't get my Vbscript procedures referencing the ASP.NET dropdown list values There must be a simple way to do it, I have been 'looking' for an answer for a few days now and I'm only getting closer to my deadline. The page as I would like ...
    Client Side validation and Post to method in CodeBehind Class (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a client side Javascript which checks an OrderQuantityField against a hidden Textbox of the Minimum Order Quantity. I dont want to do validation on a postback. I would like to be able to have FormValidate Javascript function postback to my addToCart Method in my code behind function ValidateForm(myform) { if (myform.OrderQuantity.value 0) { alert("Form is Invalid 0 " myform.OrderQuantity.va...
    Client TimeZone (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Is there no way in ASP.NET to retrieve the client's timezone (or even local time, I'd settle for that) and passing it to the server? There must be a way of determining the timezone from which the web browser is coming from... mustn't there?
    Clipboard (VIP replies)
    microsoft.public.vsnet.general
    For some reason this is not copying to the clipboard, can someone tell be why? Private Sub MenuItem2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click Clipboard.SetDataObject(Net.Dns.GetHostByName(Net.Dns.GetHostByName("localhost").HostName).AddressList(0), True) End Sub
    Clipboard (VIP replies)
    microsoft.public.dotnet.languages.vb
    For some reason this is not copying to the clipboard, can someone tell be why? Private Sub MenuItem2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click Clipboard.SetDataObject(Net.Dns.GetHostByName(Net.Dns.GetHostByName("localhost").HostName).AddressList(0), True) End Sub
    CLOB, BLOB I'm confused... (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a table in a dataset with 4 columns. Except for the third, all columns are NVARCHAR2. The third is a CLOB. I read it can hold up to 4Gb. The column of the dataset is bound with a textbox, so the datalimit is 32kb. But when I store more then 4000 characters into the dataset and then write the row in to the oracle database (with an INSERT INTO sql line) , I get an error. "ORA 01704" I've read...
    Clone control in run-time? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Dear all, I would like to know how I can clone a control in run time. Let say I have a status bar on one form and I want to clone it to all other forms with original property values. I've tried to create a new instance on the target form and set the source object to the new instance, but failed. Thanks for your attention and kindly help! Regards, James Wong
    Closing a App (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hey group, Im trying to close a app (This is on a different machine to where it was compiled) but when i click on my Close button. I get the following exception: Im Using Application.Close in my code to end my App, it works ok if i use it in the IDE. Ta MCN ************** Exception Text ************** System.Security.SecurityException: Request for the permission of type System.Security.Permissions...
    Closing previous form (VIP replies)
    microsoft.public.dotnet.languages.vb
    In Visual Studio.Net I've created 2 forms for a Windows app using VB.Net lets say the forms are frmAlpha and frmBeta By default the app opens in frmAlpha. On button click I want to go to frmBeta (I declare frmBeta as a new form near the top of frmAlpha and in the click procedure I just call form.show(). It works. So far so good. But, I want frmAlpha to CLOSE as soon as I've clicked to frmBeta. How...
    Code (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Autocentras2 { /// summary /// Summary description for Form1. /// /summary public class Form1 : System.Windows.Forms.Form { private System.Data.SqlClient.SqlConnection sqlConnection1; private System.Data.SqlClient.SqlCommand sqlSelectCommand1; private ...
    Code Behind (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    I am building a user control in vs.net beta 2. I created the elements on the .ascx file. I am now trying to create the logic. I have a .dll in the /bin folder named CP2.dll which was built from boUser.vb. In boUser.vb I have a namespace named CPNet which contains classes boUser and structUser. Whenever I try to instantiate a boUser object, I get the blue wavy line and the "boUser is ambiguous" err...
    code crashes emulator (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, I am making an async web service call and a progress bar that just loops until the call is complete. Before I make the call I set a bool var to false I the invoke the progress bar and while this var is false the bar will continue to loop. When the call completes this var is set to true and the progress bar is stopped and hidden. The probelm is that sometime it crashes the emulator, however it ...
    Code disappearing from InitializeComponent in VS 2003 (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have read many threads which indicate that this was a problem with version 2002. Why should i be suffering this? I am using VB.NET 2003 Standard Edition... is it still a problem with 2003? I have used the wizards to generate the connection and adapter, which generates the code in 'InitializeComponent', and i have stored the connection string within web.config and it seems to get rid of this ever...
    Code works differently between machines (VIP replies)
    ASPFriends.com 'aspngcs' list
    The following code works just fine on my home machine (ASP.NET Beta 2 install from www.asp.net), but on my office machine (VS.NET Beta 2 install from Enterprise CDs), I get the error "System.ArgumentOutOfRangeException: Non negative number required. Parameter name: byteCount" on the sr.ReadToEnd() line (marked below). Thoughts? %@ Page Language "C#" % %@ Import Namespace "System.Net" % %@ Import N...
    codebehind question (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    If I use a code behind class for an aspx page, what is the best way to get data from the codebehind class into my aspx page? I know about databinding, but is there a more basic way of just referencing the variables or calling getters? thanks in advance
    CollectionBase and custom deserialization (VIP replies)
    microsoft.public.dotnet.framework
    Hello, I am writing a custom collection class that inherits from the CollectionBase class, and I have implemented the ISerializable interface as well, because I wanted to provide some custom handling of the serialization. I'm having a problem though, because I can't set the InnerList property of the CollectionBase in the deserialization constructor. Any ideas?
    CollectionBase inheritance problem (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am creating a custom collection. Very simple. Imports System.Collections Public Class ShapesCollection Inherits BaseCollection Default Public Property Item(ByVal index As Integer) As Shape Get Return CType(List(index), Shape) End Get Set(ByVal Value As Shape) List(index) Value End Set End Property Public Function Add(ByVal value As Shape) As Integer MsgBox(value Is Nothing) MsgBox(list Is Nothin...
    Color Picker control (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hello, I what the users to select the color for the background and foreground of the form. I want to use the color dropdown picker that is used in the IDE (say for the background color) for the properties of a control. Does anyone know how to use this control or are there other controls out there (please not the color dialog control, I don't want to use that one) Any help would be great Greg Looki...
    COM+ Secure Method (VIP replies)
    microsoft.public.dotnet.general
    Continuation of 21410546: Original Post: To give some background....I'm using COM security in my C# classes by applying the ComponentAccessControl, and SecureMethod attributes at class level. I also use the SecurityRole attributes for any roles that I want to have access to the whole class. I then also use the SecurityRole attribute at method level to grant access to specific methods for specific ...
    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