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
    Microsoft: Get rid of VB.NET - now ! (VIP replies)
    microsoft.public.dotnet.general
    This is a recommendation to Microsoft. VB.net and c# are almost exactly equivalent. I know why Microsoft invented VB.net to wean old style VB6 scripters into a true OO world: .Net. But now, what is really a pain, is trying to find information about coding, and having to search through vb and c# examples and translate the vb to c# ( my chosen language ). I don't mind the translation, but what I min...
    midi form can open 1 (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Dear all i have a parent form and have some menuitem to load midi form. how can i only allow use can only load ONE midi form of the same item
    Minimise Button (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Can someone tell me how to make the minimise button call a different method I have a method which minimises the program to a tray but want the minimise button when clicked to call this method Regards Jonathan Dixon
    Minimise form when the close button is clicked (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi Instead of closing the form when the close button [X] is clicked, I want the form to minimise. Does anyone know how to do this (using C#)? Thanks for any help John
    Minimize to Tray (VIP replies)
    ASPFriends.com 'winforms-cs' list
    Hey all, Is there an overridable method for the Close button in a form's control box? If not, is there some Event that I'm overlooking that I can handle when that button is clicked? I basically want to set Form.ShowInTaskBar to false, and Form.WindowState to FormWindowState.Minimized when that button is clicked. Thanks, Ryan Duffield
    Minimizing forms (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello again, I have an application with three forms. Frm1 has a button whose click event calls frm2 frm2.ShowDialog(). Frm2 has a button that calls frm3 frm3.ShowDialog(). When I minimize frm3, I want the other two forms to minimize as well. As I have it now, frm3 minimizes and a small title bar appears at the lower left of my desktop, and frm2 and frm1 remain in the center and I cannot touch them...
    Missing Paint Messages (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    ###This is a repost from a not so lively forum!##### Hi, I have created a control which draws a title bar and provides a drop down menu for a Smart Device Application. It seemed to work fine until I came to add an event handler to act on Paint messages in the form which has drawn the control. Evidently, the control is consuming all of these messages. How can I pass them back/on? I have a reference...
    MissingMethodException (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am suddenly getting the following error. Initially I thought that it is due to some errors in my code. But then I created new web project and started the application (using F5), the same error is coming even if i dont write any code in it. Exception Details: System.MissingMethodException: Method not found: Void System.EventHandler..ctor(System.Object, IntPtr). From: yes healthcare Posted by a us...
    Mixing text and binary data in the same file. (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi all ! I've come across a huge problem (for me at least). I'm trying to send some initial graphics to a labelprinter. To do this, I load the graphics from resource and send it directly to the printerport along with "printer instructions". The problem is that the printer instruction have to be "plain text" while the image has to be binary. Something like this: .... .... 02D 02ICPCOD Binary data g...
    Mobile Navigation - newbie (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    Hi All, I'm starting to have a look at ASP.NET web pages for mobile devices. My first proof of concept project is a simple app for a Nokia 3410 (our company mobile phones). I'm having a little trouble with navigating between forms and pages. A link that references another form on the same page (#form2) works fine. A link that references another aspx page (page1.aspx) doesnt work on the phone but d...
    Modal "pop-up" forms (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, If have an application where all of my main forms are fullscreen (e.g. without any close buttons, titles, etc.). From these screens, I'd like at times to pop up a smaller non fullscreen form (sort of like a message box form, but with completely different content). I tried creating a small form in the designer, and then calling ShowDialog, but the Compact Framework automatically makes that form...
    Modal dialog with a page (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    What is a proper way in .NET to create a modal dialog on the client with the aspx page ? Thanks
    Modal form doesn't get the focus.... (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi guys, The MainForm of my application is not visible at startup. In the contructor I show a modal dialog (the login form) and I want to set the focus to this form. I have tried a lot of options but it doesn't work. Any help is appreciated. Thanx, Albert
    Modal Forms Question in Web Application (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Not really sure if this is a javascript problem or C# sorry if in wrong place. Modal Forms Question in Web Application I have two web forms: Form1 and Form2 Form1 calls Form2 using showModalDialog var WinSettings "resizable:no;dialogHeight:600px;dialogWidth:600" var result window.showModalDialog("Form2.aspx",null, WinSettings); Form2 has a ListBox, a Label and a Button. The listbox is populated fr...
    Module Contributions - User Management (VIP replies)
    ASPFriends.com 'aspngibuyspy' list
    Where do we post modules we want to share? I haven't seen a new module for weeks. The following code is a User management module, I tried to upload it to GotDotNet, but it failed as it has been doing lately. So I'm putting it here as part of this message. I called it manageusers.ascx it should be placed in the admin folder. It pages and sorts the users by email, it allows you to edit and delete th...
    Monthly log application (VIP replies)
    microsoft.public.dotnet.languages.vb
    I need to create an application that displays each day of the month and allows the user to input data on a daily basis. This application form would display one month at a time, depending of the month selected. Does anyone have an sample application or code that would allow me to use one form and populate the form with text boxes based on the number of days in the selected month? Would appreciate a...
    More Interop (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I am trying desperately to get the RedrawWindow function in the User32 lib to work. But it just does'nt seem to do that. Why? [DllImport("User32", CharSet CharSet.Unicode)] //Do'nt know why I would set CharSet to Unicode, just testing stuff! private static extern int RedrawWindow(IntPtr hWnd, Rectangle Re, long H, long Fl); { bool T RedrawWindow(this.Handle, new Rectangle(0,0,100,100), 0, 1); ...
    Mouse can select other widgets when Validating returns cancel (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have an editbox that returns e.Cancel true in the Validating event (when its value is invalid). The user can click on other widgets (e.g. Button) that have CausesValidation true. Shouldn't the e.Cancel true prevent the click event from happening on the other widgets (so user can't leave invalid cell)? Or am I interpreting wrongly. I seem to remember that VB 6.0 would block click events on other ...
    mouse click event (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I want to handle the double click in listview, but CF does not provide this event, so I want to handle mousedown event to emulate a double click event, but CF sees can not capture mouse down evnet in listview too, if there is another way to do this ? Thank you.
    Mouse click on the frame of a form (C#) (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello, There is what I want to do. I worked on the problem since 6 hours but I had a problem (probably stupid) and I dont know how to resolve it. I need to have an Mouse Event Click when I click on the frame of a window form ( like the title bar of a window). If I handle the mousee events with my window's forme instance, i only can handle it on the ClientSize area. After, I tryed to handle the mes...
    Mouse events & MDI child forms (VIP replies)
    microsoft.public.dotnet.languages.vb
    I've noticed that controls that are contained in MDI child forms fail to raise MouseLeave events if the MDI child form's MdiParent property is set to Nothing (after it was set to an existing MDI container form) or if the MDI child form's Visible property is set to False (after the MDI child form was shown). This is an enormous problem for my app because I must show different MDI child forms based ...
    Mouse location (VIP replies)
    microsoft.public.dotnet.languages.vb
    hello, is there any code to catch mouse move? I mean to catch X and Y locations on a form? tnx in advance, Adriano
    Mouse Pointer Cursor and textbox (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi Guys, I have been having this problem recently where I have a form with a textbox and button, if in the button event I have the following: Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Cursor Cursors.WaitCursor Textbox1.text Now.Tostring System.Threading.Thread.Sleep(2000) ' 2 second wait Me.Cursor Cursors.Arrow End Sub If I click...
    mouse position in Click-Event (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi NG, How can i get the Mouse position in a Click Event (parameter of method is a EventArgs object!)? Thanks and Regards, Stefan Posted Via Usenet.com Premium Usenet Newsgroup Services ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** http://www.usenet.com
    mouse position in click-event (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi NG, How can i get the Mouse position in a Click Event (parameter of method is a EventArgs object!)? Thanks and Regards, Stefan
    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