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
    Cache expiration one minute off? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.caching
    Okay, what am I missing? For some reason, when I set an absolute expiration time it is always one minute longer for which I stated. I have tried it on a few XP machines. Obviously there is a flaw in my logic I can not see. Here is the code that you can paste into Global.asax: Private Shared nextTime As DateTime Private Shared Sub MyCacheCallback( ByVal key As String, ByVal value As Object, ByVal r...
    Cache unavailable (VIP replies)
    ASPFriends.com 'aspngcache' list
    I have created a class and added it to my ASP.Net project. I am trying to use ASP.Net cacheing from this class, so I inherited the System.Web.UI.Page, so that I could use it. It builds okay, but when I go access the page from the browser I get a "Cache not available" error. My code is below. Can I not add things to and get things from the cache from a class added to my web project? Can I only use ...
    CacheDuration Property Does Not Work (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    I have a simple Web Method: [WebMethod (CacheDuration 60)] public string Date() { return DateTime.Now.ToString(); } A new value for DateTime is always returned instead of the value being cached for 60 seconds. This Web service is running on Windows Server 2003 Standard. Is there anything that has to be set to get to this to work?
    Calculating number of seconds given two times (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, I need to know how I can calculate the number of seconds between two time stamps, e.g. if I have the following (using ToLongTimeString) 8:28:21 PM and 9:02:33 PM How can I find out the number of seconds elapsed between the two times? Thanks in advance. Asad
    calculating on client (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    any suggestions on how i can multiply the contents of two textboxes and put the result into a third textbox when the user tabs out of the second text box? don't want to use any buttons cause this needs to be done 5 times on the page and on the last one it needs to bring up a new page to fill out when leaving the last textbox using the tab key. thanks
    Calendar broke? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi, Has anyone sucessfully reset the background color for the "other" days, i.e., OtherMonthDayStyle.BackColor? The default appears to be a wheat color. I can set all the other properties for the "other" days, but not color for some reason. Any ideas on how to make this work? thanks, Bob
    Calendar Control - What am I doing wrong (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    I posted earlier but have figured out what the problem is but do not know how to solve it. I want to have a form with fields for dates and use the ASP.net calendar control for selecting a date and enter that value into the form. This works fine until I add a button on the form. I then get an error when clicking on a date in the calendar. I believe that there is a problem with two actions on the sa...
    Calendar Control dont display Other Month (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    any way to prevent displaying the previous and next months in the calendar control? i have tried just blanking the text out in the dayrender IsOtherMonth and also dynamically changing the FirstDayOfWeek to day 1 of the month. but neither works properly. (the boxes still appear just with no text in them) i want the calendar to start on day 1 of month and end on Day 31 (with acceptable trailing blan...
    Calendar control functionality (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    1) I'm trying to figure out how to catch event when calendar is open and I'm clicking on date SelectedDate. I have a calendar on page which visible only when user presses select date button. When user selects date, calendar control's Visible property set to false and I'm writing selected date into label. As you know when you click on SelectedDate nothing happens but at this point I want for calend...
    Calendar Control Question (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I'm having trouble with the Calendar Class. I'm setting it's selected date in the page load event, which is being done. The but control doesn't then display the month corresponding to it's selected date, rather it just displays the current month instead. If I surf the control to it's selected date the correct date is always highlighted. What do I have to do to show the correct month? Thanks for yo...
    Calendar Creation (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I'm interested in creating a page that display all 12 months in mini style calendars. In the past i've done it with tables and asp, however i was interested to know if the asp.net calendar control would be better used? If so can you set 12 separate calendar controls to the 12 months? On another note is there a way to get a int of the day the month starts on, to skip forward to? Previously i've...
    Calendar web control and different languages (VIP replies)
    microsoft.public.dotnet.framework
    I have a calendar control that I use as a popup on web pages. When a browser session comes in with a different language e.g. French, the date.tostring(sFormat,oCultureInfo) function will convert the names of the months / days etc to french. However, the calendar control always displays the months / days in English. How do I force the calendar control to use the specific cultures names ? Adrian Par...
    Call a Form from a Different Project. (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello Thanks for Help in Advance. I have a Notepad form I am trying to open from a toolbar I have created. I am having problems trying to find out how to call it... Sorry this is so basic but am I trying to learn this on the job and no one here knows vb. Thanks, NewBe
    Call a procedure (VIP replies)
    microsoft.public.dotnet.languages.vb
    How can I call a control procedure call Timer1 Elapsed() I get : Argument not specified for paramter 'e' of Private sub Timer1 Elapsed(sender as Object, e as System.timers.ElapsedEventArgs) Thanks in Advance, Laurence Nuttall Programmer Analyst III UCLA Division of Continuing Education
    Call a Sub (VIP replies)
    microsoft.public.dotnet.languages.vb
    What variables do I have to supply when I call a sub routine that contains (sender, e). For instance I want to call this: Private Sub MenuItem1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click When I try to call it using: Call MenuItem1 Click() I get: "Argument not supplied for parameter 'e' of Private Sub MenuItem1 Click(ByVal sender As System.Object, ByVa...
    Call Statement Difficulty? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Private Sub cmdCalculate Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCalculate.Click If txtName.Text "" Then If txtUnits.Text "" Then If optOne.Checked Or optTwo.Checked Or optThree.Checked Or optFour.Checked Then 'Data fine Else MessageBox.Show("Please choos an option button") End If Else MessageBox.Show("txtUnits") txtUnits.Focus() End If Else MessageBox.Show("tx...
    Call Sub vs. fake a key press (VIP replies)
    microsoft.public.dotnet.languages.vb
    First, the subject probably doesn't use the correct terms but I'm not sure what it's called in VB. I'm writing a media player app. The subroutine that handles the "open file" button contains an If statement to see if a file was already playing and if so executes some code to stop the previous file from playing among other things. There's also a "stop" button on the form that contains the exact sam...
    Call Windows API from VB.Net? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, all!! Using VB.Net and VS/2003. I'm trying to call standard Windows API calls from VB.NET, but keep getting an "Unhandled Exception of type 'System.NotSupportedExtension' occurred in myApp.exe". The call that's failing is CreateFile; all user types have been converted to STRUCTURES, and all ANYs have been converted to a type that is appropriate. Any ideas? I'm sure this is something basic that...
    Callback functions (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I created a DLL in Visual Embedded C 3.0, to use with .NET. It works with callback functions. But, on the running occurs the exception 'NotSupported'. The CF don't support callback functions ? What can I do ? Thanx for all. Sorry about my english, isn't very good. Luciano. MyDLL.CPP #include "stdafx.h" #include "MyDLL.h" typedef int ( stdcall * FunctionCallback)( int i ); extern "C" declspec(dllex...
    Callback problem... (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi all... I'm having an issue trying to implement a callback. I've been working with Alex F. PowerAwareApp sample. I've modified it so that instead of opening the login form, I raise an event that the parent form can intercept. I can't get it to work (MissingMethodException) but I believe I know the cause, I just don't know how to fix it. In my case, my parent form is VB.NET, and the class is virt...
    Calling a .Remoting object from web service (VIP replies)
    microsoft.public.dotnet.framework.remoting
    Hi, I am trying to call a .Net remote object from my web service. I am used to the following interface: RemotingConfiguration.Configure("web.config") I have put remoting configuration inside web.config file. When the web service is called and it calls the above mentioned method, it cannot get access to web.config file. How can I do this inside a web service cleanly? Thanks Pawan pawan@pinger.org
    calling a control at runtime (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have a packaged control that I want to work off a button. How do I call it from btn click() For example: Private Sub controlA Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles controlA.Click End Sub Private Sub btnControlA Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnControlA.Click ' here I want to call controlA Click End Sub Any help would...
    calling a control's event procedure (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    When I try to call an event procedure in any control from another control, I get the following error. frmDateType Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ByVal is underlined and says 'expected expression'. Can anybody help me? polynomial5d
    Calling a form function from a button click on a user defined control placed on the form (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have a form onto which I add a control during execution. The control is a control that I wrote. The control has a number of controls on it. I would like to click on a button on the control and execute a function on the form. Is this possible? Thanks, Scott
    Calling a web service is runing forever? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    Hi, All: We have a pretty simple web service which is tested successfully. However, when we try to call the web service from a web application. The process is runing forever. Technical info is as following. 1). VS.net beta 2 2). Windows 2000 server 3). SQL server 2000 It will be appreciated for any advices. Charles The code is as following. web servcie: using System; using System.Collections; usin...
    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