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
    Declaring variable publically (VIP replies)
    microsoft.public.dotnet.framework
    I need to have two private subs have access to a variable. One will assign the value and the second will use it. The user will choose a file using the openfiledialog and a button The user will use a second button to begin processing the file. I can't seem to get the file name to move from sub to sub First sub Private Sub Button2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Han...
    Decompiler.NET reverse engineers your CLS compliant code (VIP replies)
    microsoft.public.dotnet.framework
    http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it...
    Decompiler.NET reverse engineers your CLS compliant code (VIP replies)
    microsoft.public.dotnet.languages.vb
    http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it...
    Decompiler.NET reverse engineers your CLS compliant code (VIP replies)
    microsoft.public.dotnet.languages.csharp
    http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it...
    Default InputBox Behavior (VIP replies)
    microsoft.public.dotnet.languages.vb
    Here is my code: Private Sub cmP1JoyUpLabelSize Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmP1JoyUpLabelSize.Click lblP1JoyUp.Width InputBox("Enter the Width of the label.") lblP1JoyUp.Height InputBox("Enter the Height of the label.") End Sub After the box pops up how do I allow the user to back out without entering and data. It errors out if the input field is left...
    default SecurityTokenManager bug? (VIP replies)
    microsoft.public.dotnet.framework.webservices.enhancements
    i put this code in both the client and server of the ResponseEncryptCode sample. (also extended the sample so that the client signs and encrypts, and the server signs and encrypts) ISecurityTokenManager stm SecurityTokenManager.GetSecurityTokenManagerByTokenType(WSTrust.TokenTypes.X509v3); X509SecurityTokenManager x509tm stm as X509SecurityTokenManager; x509tm.DefaultSessionKeyAlgorithm "TripleDES...
    DefaultRedirect Problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    When using an ASPX page for a DefaultRedirect it does not work if the ASPX page has any code in it. If I put ... If Not IsPostBack Then lblMessage.Text Server.GetLastError.Message End If in the ASPX page it does not display when an unhandled exception is thrown. If I take the code out, the ASPX page displays properly when an unhandled exception is thrown. Does anyone know why this occurs? Thanks, ...
    Define variable as static - changes even launching new browser (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have a base class (root.cs) and all my pages inherits from it. When I access default 1.aspx, it changes the base class variable intentionally. Now, when I close the browser launch a new I.E. to access default 2.aspx, it shows "changed!!" on my screen! I assume launching new browser would start a new instance everything. Can anyone explain why? thanks... root.cs (this file is compiled and put in ...
    defining on which line the cursor is in a textbox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin...
    defining on which line the cursor is in a textbox (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin...
    defining on which line the cursor is in a textbox (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin...
    defining on which line the cursor is in a textbox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin...
    Delegate Declaration Guidelines (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I can't find any guidelines for delegate declarations. I'm using the following, and welcome any suggestions. (MyClass is a class declared by me.) delegate void MyClass[more detailed name]EventHandler; e.g.: delegate void MyClassDisconnectEventHandler; delegate void MyClassSomethingElseEventHandler; Is this the recommended thing? Or is it recommended to simply make one, called MyClassEventHandler, ...
    Delegate for a base class event (VIP replies)
    microsoft.public.dotnet.general
    Hi all, I have a class A' that is derived from A. A has an event that A' needs to listen to. When I add the listener (delegate), it gets added fine. When the event fires in A, it does not see any of the delegates from A'. This is really strange. Any ideas?
    Delegates and Events confusion (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have a class (let's call it ClassA) that I've written which has events. In another class (let's call it ClassB) I create a collection of ClassA objects. In a third class (ClassC) I create a reference to some of the ClassA objects created in ClassB. In ClassC I hook into the ClassA events with a foreach loop so that I hook each object. The code is something like this: class ClassC { void SomeMeth...
    Delegates: How to check for target methods (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I'm using delegates to show progress when performing certain tasks. However, I'd like to check to see that there actually is a method available for the delegate to call. What's the correct way of doing that? Looking at the documentation for delegates, I've come up with: if (MyEvent.Target ! null) { MyEvent(this, new MyEventArgs()); } Still, this would be correct for instance methods only, righ...
    Delete Key in datagrid - problem (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I have got a grid initally which will display value. when user wants to delete a particular row they can either can click on that row and press "DELETE" button or after selecting a row they can use "REMOVE" button which will in turn will ask for confirmation to delete. But when i click even on rowheader sometimes this it comes to PreProcessMessage. Not always. Why soo?Any clue? Also I want dat...
    Delete or add new row fail in datagrid control? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello,everyone: I have a datagrid works fine when I just edit the exist row, but when I try to add or delete data rows, it seems fine but after i click the save button, it always throw an except when it trys to update the data to database. private void saveDate Click(object sender, System.EventArgs e) { if(AuthorData.HasChanges()) { authors1 diffAuthors new authors1(); // create dataset diffAuthor...
    Deleting Tabs from Tab Control (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi All; After creating a new tab if I delete the tab I cannot close my app from the X in the upper right of the window. NE1 have a clue why. Tried stepping through the delete seems to work fine but I can not close the app?????? I am creating a new Tab this way..... ElseIf e.Button Is tbNewVol Then Dim tp As New TabPage() Dim lbl As New Label() Dim cboBox As New ComboBox() Dim tv As New TreeView() ...
    Demo on ASPNG.com (VIP replies)
    ASPFriends.com 'aspng' list
    I am running Charles' database sample over at: http://www.aspng.com/learn/dbtable.aspx Trying to understand this subroutine: Sub Page Load(Src As Object, E As EventArgs) Dim DS As DataSet Dim MyConnection As ADOConnection Dim MyCommand As ADODataSetCommand dim strconn as string dim strSQL as string strconn "DSN student;uid student;pwd magic" strSQL "select * from Publishers where state 'NY'" MyCon...
    Deny move within a listbox? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I'm looking for a way to deny a move from the current listbox item. For instance, if the user is editing the record associated with the current listbox item I want to deny a move within the listbox until they have saved the changes. Is there any way to deny a move from the current item so the SelectedIndexChanged event never fires no matter move the movement was attempted? Whether the user uses th...
    Dependent DropDownList in DataGrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hello, I have a datagrid with only one row and its having 2 dropdownlists, I need to populate the secodn dropdownlist on the basis of the selection in the first dropdown. but I am not able to populate the second dropdown, as its not bale to find the specified control, even though the dropdownlist with the specified name exists in the datagrid. my .aspx page code goes like this asp:DataGrid id "Dat...
    Deploy ASP.net Application On Windows 2003 server. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I developed an Asp.net Application on Windows XP, and try to deploy it to windwos 2003 server. After the deployment, I try to run the application, I get the following Error: Server Error in '/GISOnlineReservation' Application. Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the ...
    Deploying ASP.NET web application (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi I am developing web application using .net with c#. My application is working fine in the testing server. But when i deploy it in the production server it is giving the following error. What could be the cause? File or assembly name System.Data, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review ...
    Deployment Question (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hey group, Could somebody possibly help? I know i ve asked this before but ended up getting so confused. If I take my .exe from my bin directory and move it to another PC, i keep getting loads of security exceptions.(See Below) Anybody got a simple how to on builing a deployment package or script to sort this. Many Thanks MCN See the end of this message for details on invoking just in time (JIT) d...
    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