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
    Form Unload (VIP replies)
    microsoft.public.dotnet.languages.vb
    What are the .NET equivalents of VB6's Form Unload and Form QueryUnload events? Joe Griffith jgriffit@pensoft.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
    Form validate prior to close (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I was looking to validate a windows form with numerous text boxes. I have tried using the ErrorProvider and the validaing event of each textbox but I want to find a way to enable a button once all components on the form satisfy a valid state. From what I can gather, the ErrorProvider is not fired until focus moves off the component. Therefore, the button would be enable on form load as no compo...
    Form Validation/SessionID changes (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hi All, I've got an Asp.Net application, I've set the loginurl to "login.aspx" and my validation is working fine. However, after I log in and navigate to "default.aspx" (or whatever page) my session is being reset. I create and set some session variables during my login procedure and these are all getting reset. Also, once I try to navigate to any other page besides the original page, I am prompte...
    Form with None FormBorderStyle but with ControlBox (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I want to create a small Form wthich doesn't have a border (because it have to be very small and the Border and that blue thing on top takes to much time, but I do want a Controlbox (minimize, maximize and close). Anybody knows how to do this? Thanks a lot in advance! Pieter
    Form with None FormBorderStyle but with ControlBox (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hi, I want to create a small Form wthich doesn't have a border (because it have to be very small and the Border and that blue thing on top takes to much time, but I do want a Controlbox (minimize, maximize and close). Anybody knows how to do this? Thanks a lot in advance! Pieter
    Form with None FormBorderStyle but with ControlBox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, I want to create a small Form wthich doesn't have a border (because it have to be very small and the Border and that blue thing on top takes to much time, but I do want a Controlbox (minimize, maximize and close). Anybody knows how to do this? Thanks a lot in advance! Pieter
    Form with None FormBorderStyle but with ControlBox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I want to create a small Form wthich doesn't have a border (because it have to be very small and the Border and that blue thing on top takes to much time, but I do want a Controlbox (minimize, maximize and close). Anybody knows how to do this? Thanks a lot in advance! Pieter
    Form zoom code? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Anybody have a source for .NET code to zoom a form from a dot to full size? Probably passe since form opaque, but I may have a good use for it. Thanks in advance, Dean Slindee
    form's method problem (VIP replies)
    microsoft.public.dotnet.languages.vb
    In my system,every form needs to check the right first, if it return false, the myInvform should not process 'newclick'. How can I do that ?, I write the following codes, it seems wrong. in myBaseform, Private Sub btnNew Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNew.Click If check right false Then MessageBox.Show("U are no right to access !", "Error Message New D...
    Form.Hide (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, I need a application running on the PPC without any interface, like a windows service. Is it possible in the CF? Googling for it didn't really give me any relevant tips. So I thought of creating a Form and the Hiding it in the constructor itself, and then quietly keep doing what the application needs to do. Not too neat, but would work I thought. Wrong! this.Hide() in the Application (Form) co...
    Format error (VIP replies)
    microsoft.public.dotnet.general
    Hi, I am attempting to troubleshoot the following error, so far with no success. [InvalidCastException: Cast from string "06/17/2004" to type 'Date' is not valid.] Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) 163 Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) 53 cp ContactManagement v2 0.CallReport.Page Load(Object sender, ...
    FormatException: Input string was not in a correct format. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello ! I'm a newbie trying to learn something about asp.net. To start with something easy I made a page that convert from Celsius to Fahrenheit. The code : Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As Double ((Double.Parse(Me.txtCelsius.Text, NumberStyles.Any) * 1.8) 32) Me.txtFarenheit.Text CType(x, String) End Sub But when ...
    Formatting a datagrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I am working on my first web app that uses a datagrid. I can't seem to find good examples of formatting the grid the way you can in a Windows application. I am trying to do the following: private void Page Load(object sender, System.EventArgs e) { string strConnection "blah, blah blah"; string strSQL "SELECT RecordID, IP, UserFullName, MachineName, NodeNumber, SubGroup, MachineLocation, JackNu...
    Formatting datagrid column to show boolean as Yes/no instead of truefalse (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Is there a way to change the formatting expression of a column in the property builder of the datagrid to make boolean values appear as yes/no instead of true/false? thanks, shane
    forms authentication (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I'm using forms authentication and on my first page I want to check if the user has a cookie, and if they do I want to authenticate then and send them to my default page with a greeting, otherwise send them to a login page. I've seen a lot of examples on the internet where the user login details are checked and then RedirectFromLoginPage is used, but I haven't seen anything on simply authenticatin...
    Forms Authentication - Not timing out, not redirecting. (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hi, I've come across this scenario in ASP.NET 1.1 with forms authentication where the forms auth doesn't seem to timeout correctly, nor redirect to the login page. I have done some testing, and I believe I've found a solution, but I would like some insight from Microsoft on whether the code I've implemented is correct, and why it is even working. Here is my scenario: I initially implemented forms ...
    Forms Authentication and recycling web.config (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I'm noticing that if web.config is changed, the web app is restarted and all Sessions are restarted as expected, but with Web Form authentication, it seems like the user is still authenticated. This allows the user to keep on trucking, but without any session state. Adding the following code to Session Start in global.aspx.cs protected void Session Start(Object sender, EventArgs e) { if ( User...
    forms authentication automatic logout without timers? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hello, I have a web application that uses forms authentication. I have been asked to implement a feature that logs users out automatically if they navigate to a page outside of the secured portion of the web app. This request means that cookie timeouts won't work, it needs to be an instant thing you leave the site the door gets locked on your way out even if you haven't explicitly logged out yours...
    Forms Authentication only displays login.aspx (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I can not get forms authentication to work. Here is my situation. I created a test website with two file: login.aspx default.aspx default.aspx is set as the default web page. I type in the URL http://localhost/test login.aspx comes up. I enter my user name and password, but instead of authenticating me and taking me to the default.aspx page, the login.aspx screen reappears. Everything that I have ...
    FORMS AUTHENTICATION PROBLEM (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hi, I have problem with my application and I don't know how to solve it. I am using forms authentication to secure some subdirectories. When I want to access MojeAukcje.aspx I am redirected to the Login.aspx what I obviously inteded, but after typing correct login and password I am still redirected to the Login.aspx and not to MojeAukcje.aspx as I would like to be. My web.config file is in the roo...
    Forms Authentication to specific folders (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    I have a web application that is using Forms Authentication (with users/passwords stored in a database) and for the most part it is working. I have a web page with links on it to files of different types (exe, zip, pdf) When the user clicks on one of these links I'd like them to have to log on and then they can download the file (or any file in the same folder) How can I set this up ? Thanks. Mich...
    Forms collection behavior (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    In order to be able to track some of the forms in my application, I am using a collection of forms (I am using an ArrayList per the Billy Hollis MSDN Article http://msdn.microsoft.com/library/default.asp?url /library/en us/dnadvnet/html/vbnet05132003.asp ) .. As I instantiate each new forms, I add a reference to the new form to the collection. My question is what happens to each of these reference...
    Forms question (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi all, I have an app using multiple forms a b c. Form c is created from form b and shown and then form b immediately Hide's itself (which I understand does not remove from memory). How can I then simply re show Form b from Form c? Regards John.
    Forms that won't Dispose (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi MS & All others, I've been investigating a memory leak in my application which is proving particularly hard to fix, and I came across something very unusual. I've determined that the leak is caused by a particular form that won't "dispose". I'm using a program called ".NET Memory Profiler" to check to see whether there's still an instance of my form even after it has been closed & disposed. Aft...
    Forms' LifeCycle - Inheritance (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello, I have a BaseForm with (eg) one Timer in the Components'collection & one Button in the Controls'Collection Also there are three Subs: Load, ScanControls & ScanComponents. The BaseForm is only used to be inherited from (and inherits from System.Windows.Forms.Form). Private Sub BaseForm Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load ScanControls() ScanComponents...
    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