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
    Help with custom Serialization (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I'm having problem serialization an object instance which contains a public property on the object type. My object hierarchy is many levels deep, so for simplicty I created to following which produces the same error: Let's say there is a class called ParkingSpot with a public member Vehicle having an object type of object. For simplicity, let's say that Vehicle could be anything, hence I creat...
    Help with Dynamic Columns in Datagrid and Postback (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I'm having problems retaining my dynamic columns during postbacks. I've read that if you create dynamic columns at runtime, you have to add them during the page init event. I've done that, but I'm not sure what else I'm supposed to do to make this work properly. Basically, I've created a search page with a bunch of criteria when the user clicks search, it searches for all the criteria that has...
    Help with gethostbyname winsock api call (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi, I'm trying to use the gethostbyname function from wsock32.dll and failing dismally Has anyone got a successful implementation of this in VB.NET? My ulitimate goal is to resolve NetBIOS names to IP Addresses. I can use the framework DNS features if a DNS server is present on the network but this cannot use WINS if no DNS server is available. Any help or pointers are apprecatiated. Here is the c...
    Help with Process function - ASP page using C# (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Here is my C# code in the ASP.NET page. public static void DoConvert ( string sFile ) { string cmd "foo.exe" ; string param " /bar.txt" ; Process myproc ; // Error here ProcessStartInfo startInfo new ProcessStartInfo ( cmd , param ) ; startInfo.CreateNoWindow true ; startInfo.WindowStyle ProcessWindowStyle.Hidden ; myproc Process.Start ( startInfo ); //myproc.WaitForExit () ; myproc.Close() ; } Wh...
    Help with SqlDataAdapter Update command (C#) (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I am pulling my hair out over this one. I have done this same kind of thing in VB.Net but in C# it doesn't work. I dont' receive any errors either, it just won't update the pubs.Authors table. Here is the code: private void CodedDataGrid Load(object sender, System.EventArgs e) { //create a new connection object String ConnectString "Server " "MyMachine" "; " "User ID " "sa" "; Password " "password...
    Help with toString( ) numeric formatting (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I'm receiving decimal values from database queries and placing them on a report page. The users want to see the following .... Db Value Display Value 123.3400 123.34 123.0000 123 i.e. I want to trim trailing zeros and (decimal point if no decimal values occur). This ought to be really easy but I'm not having much success. Any help would be GREATLY appreciated. I've played with a number of iteratio...
    Help with transparent areas of form and controls (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi, I have a splash screen that is designed to have a transparent area around part of the edge. I want to display this same splash image in my help about box. I created a .GIF of the splash screen and set transparency. When I display the help about form, the transparent area is transparent, but when I drag the form, the part that showed through drags with it. All and all not very pretty. How do I ...
    Help with UserControl in Code Behind (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    PatrioticsignI have an aspx page that references a user control called connect strings.ascx. This user control uses connections to various databases. Below is the part I am using. 'declared at the top %@Control Language "VB" % ' declare user control Public ReadOnly Property SQLConnectionString() As String Get '***************************************************************** Return "server (local)...
    HELP! - How to add a simple custum control to the VS.NET toolbox? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I read the articles http://www.intelliprog.com/articles/index.html and the Microsoft Simple chart demo... But without success...By the way, I'm using VB.net... Does someone have a complete document describing how to add a control (written in Vb.NET or eventually in C#) to the controlbox of Visual Studio? The control MyTextBox is a textbox that inherits from the TextBox class and adds 2 properties....
    HELP! - Web Form Fails to Load in VS.NET (VIP replies)
    ASPFriends.com 'aspngvs' list
    Hi, I'm having a problem getting VS.NET to display one of my .aspx pages. The problem occurred as soon as I tried to inherit my page class from a custom class. The custom class accesses the Page.User object and that seems to be the problem. When I remove that line, the form displays fine (see code below). When I compile the code and run it, it runs fine. It's just that the form won't display in vs...
    Help! how to get the value of dynamic web user control? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Hi, I have a page that uses dynamic generated web user control. On the eupdate.aspx, I get: asp:table id "tblE" runat "server" asp:tablerow id "rE" runat "server" asp:tablecell id "cE" runat "server" / /asp:tablerow /asp:table asp:button id "btnUpdate" runat "server" text "Update" / On the eupdate.aspx.cs, I get: protected System.Web.UI.WebControls.Table tblE; protected System.Web.UI.WebControls.T...
    help! insert syntax error when using OleDbDataAdapter.Update (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Try the following code. The datasouce is MS access file, and the table abc has only two columns: 1. ID (integer) key 2. section (integer) non unique And try the following code would cause an exception saying that "syntax error in insert statement" during the myad.Update(mydtb) (I'm sure that it's not the key problem, there's nothing at all in the table abc in the MDB file) if i changed the column ...
    help(F1)(F1) datagrid column width (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    hello all i need your help when i try to customize the datagrid and it's column in programmaticaly way by this code nothing happening so i need your help to know why the gridcolumn style dosn't work as i want her is my code Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ts As New DataGridTableStyle() Dim col1 As New DataGridTextBoxCo...
    HELP-Sorted Datagrids and modal dialogs (VIP replies)
    microsoft.public.dotnet.framework
    I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
    HELP-Sorted Datagrids and modal dialogs (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
    HELP-Sorted Datagrids and modal dialogs (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
    HELP-Sorted Datagrids and modal dialogs (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
    Help: Compile Error On Updateable Datagrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I have a form that is displaying an editable grid. I duplicated a good part of the code from an example in a book. When I run the form, I am getting the following error message: Compiler Error Message: BC30408: Method 'Public Sub BindDataGrid()' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'. Source Error: Line 99: TD asp:Button Te...
    HELP: Error when sending email in VB.NET (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am making a simple VB.NET app to send emails. I put a test button on the form with code like this: Imports System.Web.Mail : Dim msgEmail As New System.Web.Mail.MailMessage With msgEmail .To txtTestEmailAddress.Text .From "someone@somewhere.com" .Body "This is a test email." .Subject "Test Email." .BodyFormat Web.Mail.MailFormat.Text End With System.Web.Mail.SmtpMail.SmtpServer "smtp.fdn.com" Sy...
    help: how to prevent controls from duplicating (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello, I'm a junior in using VB.NET. I encountered the following problem: I have a form with some buttons (change password, change username, logout etc.) and below those buttons I have a label that I want to display some text, depending what button was pressed (i.e. Changing Password, etc.). I also want at the same time the click event to handle a redirection to the aspx page I want to load accord...
    Help: OleDbException: Operation must use an updateable query (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I do an UPDATE query in my ASP.NET page. On my development machine it works PERFECTLY. When I upload the site (inlcuding my Access MDB) to my production website and try to do the same update qry I get this error. Any ideas? System.Data.OleDb.OleDbException: Operation must use an updateable query. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at System.Data.OleDb.OleDb...
    HELP: Problem using WndProc MessageWindow with native DLL (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hello everyone. I have a big problem in my C# code for my Smart device project (IPAQ/pocketpc 2003) I am trying to apply the MSDN "Asynchronous callbacks from native Win32 code" sample to my own case and I do not managed to make it work as I want. I have a GUI C# application that use a native DLL function (ReplyMe), called thanks to P/Invoke interop feature of .NET. This native function only sends...
    Help: Security Exception (VIP replies)
    microsoft.public.dotnet.security
    I wrote a C# application that uses ODBC connection to MS Sql server. The executable is located on one computer on the local network and Im accessing it from a nother pc. I succeed to open it but when im making a databse operation Im getting the following message: "The application attempted tp perform an operation not allowed by the security policy. The operation required the SecurityException. To ...
    Help: Security Exception (VIP replies)
    microsoft.public.dotnet.security
    I wrote a C# application that uses ODBC connection to MS Sql server. The executable is located on one computer on the local network and Im accessing it from a nother pc. I succeed to open it but when im making a databse operation Im getting the following message: "The application attempted tp perform an operation not allowed by the security policy. The operation required the SecurityException. To ...
    Hey Cor/CJ/William - Continuation of 2 Forms Data (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hey CJ/Cor/William, Hope you could advise me a little again? Now i ve got in my Button Click Event on my first form(frmFaxs): Dim LoadFaxMeterReadings As frmFaxMeterReadings() LoadFaxMeterReadings.FaxID(BindingContext(dsFax, "Faxs").Position) LoadFaxMeterReadings.Show() (The Above tells me FAXID & Show are not members of System.Array) On My Second form I have: Public Property RowHolder() As DataRo...
    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