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
    message loop and exceptions (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I am trying to understand how exceptions behave in a message loop scenario. I have a try catch block around a message loop and one of the event handlers in the message loop throws an exception. That exception is not caught in my try catch block around the message loop. But when JITDebugging is enabled, the exception is caught in the same try catch block. Could someone help me understand this b...
    message loop exception behavior (VIP replies)
    microsoft.public.dotnet.framework.clr
    Hi, I am trying to understand how exceptions behave in a message loop scenario. I have a try catch block around a message loop and one of the event handlers in the message loop throws an exception. That exception is not caught in my try catch block around the message loop. But when JITDebugging is enabled, the exception is caught in the same try catch block. Could someone help me understand this b...
    message loops and exceptions (VIP replies)
    microsoft.public.dotnet.framework
    Hi, I am trying to understand how exceptions behave in a message loop scenario. I have a try catch block around a message loop and one of the event handlers in the message loop throws an exception. That exception is not caught in my try catch block around the message loop. But when JITDebugging is enabled, the exception is caught in the same try catch block. Could someone help me understand this b...
    message loops and threads (VIP replies)
    microsoft.public.dotnet.framework.clr
    Hi, When I start a new messageloop by using System.Windows.Application.Run, does it create a new thread and execute the loop on that thread? If it does, why does the flow halt on the main thread? Where can I find more information on how message loop works? TIA Sankar
    message loops and threads (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, When I start a new message loop using System.Windows.Forms.Application.Run, does it create a new thread and execute the loop on that thread? If it does, why does the main thread stops execution until the message loop ends? Where can I get more information on how messageloops work? TIA Sankar
    Message Pump (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I am trying to create a application with no UI that I can run as a background application. The catch is that the application adds an icon to the taskbar and I need to be able to get a icon click event when the user clicks the icon. Someone pointed out that with out a form there is no Windows Message Pump and I woudl not get any events. So I need that pump and I can't see any other way to have a me...
    messagebox (VIP replies)
    microsoft.public.dotnet.languages.csharp
    hello how I can use messagebox as windows application in web application . Thanks
    MessageBox Issues (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I always thought writing a simple diagnostic message in a message box would be pretty simple. Not in .NET. First, I wrote this amazingly complex piece of code: MessageBox.Show("yer mama") It wouldn't even complile. "Gee...", I mused. "Maybe there's no reference to that method in my project". I muzed correctly. So I added a reference to System.Windows.Forms, which is where our beloved "MessageBox" ...
    MessageBox Issues (VIP replies)
    microsoft.public.dotnet.languages.vb
    I always thought writing a simple diagnostic message in a message box would be pretty simple. Not in .NET. First, I wrote this amazingly complex piece of code: MessageBox.Show("yer mama") It wouldn't even complile. "Gee...", I mused. "Maybe there's no reference to that method in my project". I muzed correctly. So I added a reference to System.Windows.Forms, which is where our beloved "MessageBox" ...
    MessageBox Issues (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    I always thought writing a simple diagnostic message in a message box would be pretty simple. Not in .NET. First, I wrote this amazingly complex piece of code: MessageBox.Show("yer mama") It wouldn't even complile. "Gee...", I mused. "Maybe there's no reference to that method in my project". I muzed correctly. So I added a reference to System.Windows.Forms, which is where our beloved "MessageBox" ...
    MessageBox overloading (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    static void Main() { Application.Run(new Form1()); } private void button1 Click(object sender, System.EventArgs e) { if(MessageBox.Show("Game Over!!", "JawBreaker",MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) DialogResult.Yes) { } I cannot start this programm because of this error: ....\MessageBoxTest\MessageBoxTest\Form1.cs(89): Keine Überladung fà r die Methode 'Show' erfordert '4' Argu...
    MessageBox questions (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I've been trying to figure out how to show a simple messagebox with an OK button in my web client program (C#). I have looked at every reference to JScript and MessageBox that seemed even remotely like it could help, both in the VS help and in this NG. I found lots of examples of people saying how easy it is and showing examples, and examples in the help. But I have two problems: 1. All the exampl...
    Meta tags question (VIP replies)
    microsoft.public.dotnet.general
    Hi, I like to add content "10;url http://www.google.com/" to my refresh tag. The following still doesn't work. Can someone tell me please what I'm doing wrong? (Note: It's not a new meta tag but an already existing one) I have the following code HEAD meta id "MyRefresh" http equiv "refresh" runat "server"/ /HEAD private HtmlGenericControl MyRefresh; private void Page Load(object sender, System.Eve...
    Method based attributes used as delegates (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I am no expert on attributes, but I have used them, but I am stumped by this one ... basically is it possible to get the attributes from a method used as a delegate? For example, I have a method called [TileSizeAttribute(40, 70)] private void listView1 DrawItem(object sender, DrawListViewItemEventArgs e) { // stuff } that I am setting via ... listView1.DrawItem listView1 DrawItem Then in DrawItem ...
    method that returns more than one value? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    In my Win app, I have an event that calls method myMethod.Process() which returns a struct. This method Process() is composed of several other methods: openDB(), checkDB, expireDB(), etc... and all these methods return 0 (Success) or 1 (Fail). If any of these methods return a 0, the process is cancelled. How can I return the 1 value (failure) if the method itself returns a struct? Here's some of t...
    Microsoft Access DSNLess connection error, works fine in .ASP page, not in aspx code. (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Trying this code in the Page Load of a C# web page... private void Page Load(object sender, System.EventArgs e) { string connstr "Provider Microsoft.Jet.OLEDB.4.0;Data Source c:\\MyAccessDb.mdb;"; OdbcConnection conn new OdbcConnection(connstr); conn.Open(); ... Throws this error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified But the same ...
    Microsoft Access DSNLess connection error, works fine in .ASP page, not in aspx code. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Trying this code in the Page Load of a C# web page... private void Page Load(object sender, System.EventArgs e) { string connstr "Provider Microsoft.Jet.OLEDB.4.0;Data Source c:\\MyAccessDb.mdb;"; OdbcConnection conn new OdbcConnection(connstr); conn.Open(); ... Throws this error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified But the same ...
    Microsoft Example Doesn't Work. (VIP replies)
    ASPFriends.com 'ngfx-services' list
    This article shows the bare bones of a Windows Service: (http://docs.aspng.com/quickstart/util/srcview.aspx?path /quickstart/howto/s amples/Services/ServiceApplication/SimpleService/SimpleService.src&file VB\S impleService.vb&font 3) And on this line: AddHandler timer.Tick, AddressOf OnTimer It puts a funny blue line under "Tick" and on mouse over it says that "Tick is obsolete, Please use Elapsed...
    Microsoft Publisher 2003 Interop - Does anyone do this? (VIP replies)
    microsoft.public.dotnet.framework.interop
    I'm in the middle of a project creating a MS Publisher document via C# and Office interop. The error messages that are returned are less than desirable. For example. I create a textbox, set its text and then set its AutoFit to BestFit so that the text fits correctly. On some occaisions I receive the following error: Unspecified error at Microsoft.Office.Interop.Publisher.TextFrame.set AutoFitText(...
    Microsoft Walkthrough (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Using Visual Studio.net, I'm following the Microsoft Walkthrough located at: http://msdn.microsoft.com/library/default.asp?url /library/en us/vbcon/html/vbwlkWalkthroughUsingDataGridWebControlToReadWriteData.asp Everything works as advertised except for the line of code: "r DsCategories1.Categories.FindByCategoryID(Key)". After entering this line of code, I get this: "FindByCategoryID is not a mem...
    microsoft.mshtml.dll (VIP replies)
    microsoft.public.dotnet.languages.vb
    When you use the mshtml.dll reference in your project to show a browser control, the scroll bars are not standard looking.. they are pretty much flatish with a slight 3d appearence... is there any way to get them to resemble normal looking scroll bars? thanks
    Microsoft.Office.Interop.OWC - Unspecified error (VIP replies)
    microsoft.public.dotnet.framework.interop
    I want to work with Office XP Primary Interop Assemlies (Office XP PIA) with Visual Studio.Net 2003. I want to build an OLAP Reporting Application in ASP.NET Using SQL Server 2000 Analysis Services and Office XP OWC (PivotTables and Charts). I have create a new project with Visual Studio.Net 2003. But only the connecting to the OLAP Cube and the behaviors of the PivotTable are work correct. All ot...
    Microsoft.Office.Interop.OWC - Unspecified error (VIP replies)
    microsoft.public.dotnet.framework
    I want to work with Office XP Primary Interop Assemlies (Office XP PIA) with Visual Studio.Net 2003. I want to build an OLAP Reporting Application in ASP.NET Using SQL Server 2000 Analysis Services and Office XP OWC (PivotTables and Charts). I have create a new project with Visual Studio.Net 2003. But only the connecting to the OLAP Cube and the behaviors of the PivotTable are work correct. All ot...
    microsoft.public.dotnet.languages.vb.data,microsoft.public.dotnet.languages.vb.controls,microsoft.public .dotnet.languages.vb,microsoft.public.dotnet.languages.vb.upgrade (VIP replies)
    microsoft.public.dotnet.languages.vb
    Dear newsgroup do not reply to this e mail address. I have just created it to avoid getting spam to my real address. Reply to the newsgroup. I am watching them all now so please reply now. How do I get a list of methods that my class supports? Here is my code. I want MsgBox(a.GetMethods, MsgBoxStyle.Information Or MsgBoxStyle.OKOnly, a.GetVersion) to display, if a is a "TanOperations", "getTan1, g...
    Microsoft.VisualBasic.Collection replacement? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Which vb.net object is the best match for the vb6 collection class? Specifically, I would like to be able to access the Item property with an index or a key string. I wrote my own class that inherits from the collectionbase and uses an arraylist to hold values, but i'm missing the Item(string) property. I suppose I could iterate thru the collection and look for a string match, but I thought there ...
    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