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
    Change file from read only (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am wrinting an application that copies a folder to a different location. I need to change all the files that are read only to have all privliges in the copied folder. I already figured out how to copy the folder but I cannot figure out how to search each file to determine if it is read only, then change it in the copied folder. Here is my code so please help me if you can. Imports System.IO Publ...
    change HeaderText of DataGrid in PreRender(). (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I need change HeaderText of DataGrid in PreRender(). But it seems doesn't work. The code example like this: Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs) grdPortals.Columns(1).HeaderText "Title" End Sub I can see the value changed correctly when I was in debug mode, but it doesn't show on the page. It always the original value. When I try to change the same HeaderText of DataGri...
    change password in active directory by webapplication (vb.net) (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Dear Sir, I want to change password of users in active directory by asp.net form.this is my code, but i recieve error could anyone help me to solve it. thanks Protected WithEvents newpass As System.Web.UI.WebControls.TextBox Protected WithEvents btn1 As System.Web.UI.WebControls.Button Protected WithEvents username As System.Web.UI.WebControls.TextBox Protected WithEvents oldpass As System.Web.UI....
    changeable ToolTip for Control without MouseMove-event (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I have a Control from another company that I have to put in my application. That control has 7 buttons, and I want to change the ToolTip according to the button above the mouse is moving. I could do this by calculating myself the position of the MouseCursor and knowing like that wich ToolTip I have to use. But one big problem: the Control doesn't have a MouseMove event or something like that. ...
    changeable ToolTip for Control without MouseMove-event (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, I have a Control from another company that I have to put in my application. That control has 7 buttons, and I want to change the ToolTip according to the button above the mouse is moving. I could do this by calculating myself the position of the MouseCursor and knowing like that wich ToolTip I have to use. But one big problem: the Control doesn't have a MouseMove event or something like that. ...
    changeable ToolTip for Control without MouseMove-event (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hi, I have a Control from another company that I have to put in my application. That control has 7 buttons, and I want to change the ToolTip according to the button above the mouse is moving. I could do this by calculating myself the position of the MouseCursor and knowing like that wich ToolTip I have to use. But one big problem: the Control doesn't have a MouseMove event or something like that. ...
    changeable ToolTip for Control without MouseMove-event (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I have a Control from another company that I have to put in my application. That control has 7 buttons, and I want to change the ToolTip according to the button above the mouse is moving. I could do this by calculating myself the position of the MouseCursor and knowing like that wich ToolTip I have to use. But one big problem: the Control doesn't have a MouseMove event or something like that. ...
    Changing Array changes all copies (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have an array, result[][]. I populate the array and add it to an ArrayList. I then change result[][] and add the new version to the ArrayList. However, when I go to review the ArrayList, all of the result[][] 's are the same. How can I stop this from happening? I tried copying the array but that didn't work.
    Changing Form BackColor in VB.Net (VIP replies)
    microsoft.public.dotnet.languages.vb
    Thank you for your assistance in advance. I'm trying to change the forms backcolor with a ckBox. Michael
    changing Request.InputStream (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Is there a way to modify the request stream? I tried to do it using Request.Filter, but no success so far. Thanks. Karahan Celikel
    changing row color depending on a cell value (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi all I want to change datagrid's row color depending on a cell value How can I do this? I think that I must write some code in bind method but I dont know How I do this. please help me!! thanks...
    Changing styles sheets on a per user basis (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I'm trying to change styles sheets on a per user basis. I was able to do this on the client using DOM, but how can I do this using the code behind page in the Load Page sub? I have a place that I save the user's preference for style (whihc style sheet they prefer to use), but how do I dynamically load the style sheet from the server at page load time?
    Changing the CultureInfo (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi have two subroutines that change the currentCulture property of my application. I can call either: System.Threading.Thread.CurrentThread.CurrentCulture New CultureInfo("en GB") or: System.Threading.Thread.CurrentThread.CurrentCulture New CultureInfo("es ES") In my form load event I call this code: Label1.Text Format(500.5, "Currency") However, I expected the format oif the string in the label t...
    Changing Time/Date values (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Sorry for lack of Subject in previous post. "Al@n" not@thisdomain.co.uk wrote in message news:... I have a text box populated by: Sub XYZ() Dim MyDateTime As Date Now Dim MyStr As String MyStr Format(MyDateTime, "dd/MM/yyyy") txtTime.Text MyStr & " " & TimeString End Sub Is it possible, using a button click, to hilight each component of the string, i.e day , month, year etc. and increment their va...
    check a running process, impersonate (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    I found that I could start a process from an aspnet page, but not check to see if it was running! I found a splendid little article that seemed to show how to do this by doing impersonation. The interop logon call fails! Ok, so I thought I might get this done by creating a component. That code all works outside of iis5 on windows 2000 server, but again fails when I try from within an aspnet page (...
    Check a textbox.text is number (VIP replies)
    microsoft.public.dotnet.framework.adonet
    how to check a textbox.text is number? 52532590235320953535355
    Check for OleDbPermission cannot be catched (VIP replies)
    microsoft.public.dotnet.academic
    The following code always crashes the app although it is executed from within a try catch construction: OleDbPermission odbp new OleDbPermission(PermissionState.Unrestricted)); try { odbp.Demand(); } catch { MessageBox.Show("No such luck..."); } Can anybody tell me why???? Thanks, Hans
    check if string can convert without exception (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Is there a simple way to check if a string will convert to another type without throwing an exception if it doesn't? All of these will throw an exception: System.Int32.Parse(...) System.Convert.ToInt32(...) System.Convert.ChangeType(...) System.ComponentModel.TypeConverter.ConvertTo(...) System.ComponentModel.TypeConverter.CanConvertTo(...) takes a System.Type parameter not a System.Object. The sc...
    Check if TextBox changed on leave event (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I want to check if the text in a text box has changed in the TextBox Leave event. I can do this by hooking up TextBox TextChanged() and settting a flag, and check that flag in TextBox Leave(). Is there a tidier way to do this? What I would really like is a custom EventArgs parameter to an event containing an IsTextChanged property. Richard.
    Check is form is disposed (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, How can i check is a form is disposed in framework 1.1 In framework 2.0 i can check Form.IsDisposed to check if a user closed the form
    Check whether a record exissts or not (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    I need a function to simply take the following SQL Statement and check whether a record exists or not. select networkID from authorization table where networkID 'NedR' and group id 32 then. . . .if record exists return 1. . .if no, return 0 I need to do this on a page load so that I can make the admin buttons visible/invisible depending on whether they are an admin or not. Any suggestions? Thanks,...
    CheckBox (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I am trying to add a checkbox programmatically next to a list box but with each new item added to the list box it should have a corresponding checkbox. I therefore tried to use a variable for the y co ordinate to the control. The initial value should be 13 and then should increment by 17 for each additional checkbox but the code below does not give me what I want. Please help: Private Sub btnAd...
    CheckBox CheckChanged EventHandler not working? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have a login page with two checkboxes, one for automatic login and the other for remember username. When automatic login is checked, I simply want the remember username checkbox to be checked too, but the eventhandler is NEVER executed. do i need to create a different type of event handler? Here is my code: CheckBox cb new CheckBox(); cb.ID "myCheckBox"; cb.Text "Remember Username"; cb.CheckedCh...
    Checkbox in DataGrid issue? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello, I have a checkbox contained in a datagrid by using the DataGridBoolColumn type. My problem is that when you first click on the checkbox, it looks like it selects it (i.e. changes the column background to the selected color), and doesn't change the value in the checkbox. Then, if you click it again, it changes the checkbox value as you would expect. My question is; how can you eliminate the ...
    CheckBox question (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have a winform with a checkbox on it. The editor is named CBXE30. I have it bound to a bit field in SQL Server 2000. In design mode, in the databindings section of the control I have the Checked property set to DsMain1 Contracts.E30. The binding appears to be working correctly because if I bring a certain record to the WinForm where I know that the E30 Column in the Database is equal to 1, the C...
    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