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
    Binding ListBox to Date Only (VIP replies)
    microsoft.public.dotnet.languages.vb
    Greetings, I have a VB.NET Windows app where I bind a listbox to a DataView column that contains date values. In this list, however, only the date (not the time) is relavent, so I want to eliminate the time. As an example, SQL Server returns: 2004 04 18 00:00:00.000. Instead, I want: 4/18/2004. Is there a way to alter the format in which the DataView displays a table's rows without having to alter...
    Binding Text Boxes to a Dataset (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi there, I am new to VB.Net (formerly a Centura 'Gupta' programmer) and just trying to do a simple excercise out of the help to populate a couple of text fields on a form by using a parameterized query.. ie. Walkthrough 'Displaying Data in a Windows Form Using a Parameterized Query' Sounds simple but for some reason when I get to the step where you are supposed to 'Expand the (DataBindings) node,...
    Binding textboxes to dataset relationship (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have 2 textboxes. Each show a field from a different table (2 tables). The dataset has a relationship defined. I want my navigation button to navigate through the records. So that when the record in one table is selected, the textboxes bound to the other table change accordingly. Also, there might not be a relationship associated between the tables for certain records. any ideas?
    Binding to DataView.Count Bug? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hi. When binding to the Count property of a DataView, the bound control is not updated when applying a rowfilter to the DataView. Sample code: dt new DataTable(); dt.Columns.Add("Val",typeof(int)); DataRow row; row dt.NewRow(); row["Val"] 1; dt.Rows.Add(row); row dt.NewRow(); row["Val"] 2; dt.Rows.Add(row); row dt.NewRow(); row["Val"] 2; dt.Rows.Add(row); textBox1.DataBindings.Add("Text",dt.Defaul...
    BindingManagerBase class suspendbinding and resumebinding (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    I need to perform certain things when a suspendbinding or resumebinding is invoked on a BindingManagerBase. My tests shows that the suspendbinding invocation will raise the PositionChanged event. However, the ResumeBinding invocation will raise the CurrentChanged event. Is there any good reason why this is happening? How can I 'catch' the invocations on the same event? Thanks in advance. John
    BindingManagerBase Not Working (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a Windows form with textboxes, labels, comboboxes, and a listbox. I bind the database fields to those objects and would like the user to be able to click through them (forward, back, first, last). The navigation buttons are not working. I commented out the combobox code b/c I read somewhere that could be causing the problem. That didn't work. What am I doing wrong. Thanks. Private Sub btnGe...
    BindingManagerBase question (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    I am a real beginner so I am adding more code than you probably need to see. I have a health care database where people will not navigate between people tracked by the database. I basically am setting it up like Outlook in that you pick a profile and then only have access to information from that profile after Outlook is open, unless you back out of the original profile and pick another profile. S...
    Bitmap object leaves file locked in ASP.NET (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    Sorry for the repost I forgot the subject... I'm using Release candidate 0... so this problem may already be resolved The following code illustrates the problem... protected System.Web.UI.WebControls.Image Image1; System.Drawing.Bitmap myBitmap; private void Page Load(object sender, System.EventArgs e) { // Put user code to initialize the page here String homeDir this.MapPath("pics"); String filen...
    Bizarre behavior on TITLE Tag (VIP replies)
    microsoft.public.vsnet.ide
    While using VS.NET 2003, if you create a title tag in the HTML area of an aspx page that is to be run as a server side tag such as: title runat "server" id "PageTitle" /title And using similiar code in the code behind: Protected WithEvents PageTitle As System.Web.UI.HtmlControls.HtmlGenericControl Private Sub Page Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...
    Bizarre IndexOutOfRangeException during Fill (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    We've had a problem we've been trying to reproduce for weeks now. It only occurs every so often, but we can't work out when, why, or how to fix it. We have various forms with CurrencyManagers in. The CurrencyManagers are bound to DataViews which have been populated from the database. The database itself is then changed from another thread, and then from the UI thread we call Fill on the DataAdapte...
    blackberry emulator and browsing problem (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    I was able to find a windows emulator for blackberry 7510 on www.blackberry.com/developer. My problem however, is how to setup/configure so that i can browse to web pages from within the emulator. Can someone help me? It is probably pretty simple but i am unable to find instructions on this.
    Blank Windows Form (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, Just need to create a blank windows form as Visual Studio.NET does for us. Thanks.
    Blitting in C#? (VIP replies)
    microsoft.public.dotnet.framework.drawing
    I'm creating a simple LIFE application in C# and the fastest drawing algorithm I have managed so far is to obtain a graphics object using this.CreateGraphics() and drawing a 4x4 block using Brushes.Red / Black on cells that change only. Is blitting faster? And how do I do it in C#? Using M2, Opera's revolutionary e mail client: http://www.opera.com/m2/
    BLOBs and MemoryStream ? VB.NET SQL2000 (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I am writing an Image to SQL and can use the code below to accomplish the streaming. However, I need to write an Image that exists in memory. I don't want to save it to disk just to re load and stream it. Suggestions? Use MemoryStream() somehow? Dim fs As FileStream New FileStream(fileName, FileMode.Open, FileAccess.Read) etc. Thanks Bob
    Bluetooth - Discovering Devices (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi, I am looking for a code sample that i can discover bluetooth devices around me. My device isa Ipaq 4150 with bluetooth enabled. I found a piece of code on the popular OpenNETCF library. But it not works for me. Anyone can help me? thanks!
    Boolean won't insert if default is "true" (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi What is the proper way of setting a boolean column (checkbox) to "true" by default? It seems that the datagrid won't accept inserts if the default is true. BoolColPaid new DataGridBoolColumn(); BoolColPaid.MappingName "paid"; BoolColPaid.HeaderText "paid"; BoolColPaid.FalseValue false; BoolColPaid.TrueValue true; BoolColPaid.AllowNull false; BoolColPaid.NullText true.ToString(); BoolColPaid.Nul...
    Break point problem (VIP replies)
    microsoft.public.dotnet.general
    have a main form with menu control on it. I am opening various forms on click of different menu items. Below is one the procedure I am using. I am running my app in Debug mode. Private Sub mnuSearch Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuSearch.Click Dim frm As New frmPlanMaintain frm.ShowDialog(Me) If frm.DialogResult DialogResult.OK Then 'Do something... End...
    Bring Form to the front. (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    hi, I have two applications, App1 and App2. When I click "switch to App2" button, I will like to bring form of App2 to the front. Let's say Form of App2 name Form2. I calling Form2.Focus(), Form2.Show(), Form2.Refresh(), Form2.BringToFront() and Form2.Visible true. However none of them work except Form2.ShowDialog() But ShowDialog basicly prevent user to go back to App1 until user enter something ...
    Browsing My Network Places With Vb.net (VIP replies)
    microsoft.public.dotnet.framework.sdk
    Hi! I am trying to get all computer names on a network and place them in a combobox so that users can select them. Does anyone know how to do this with VB.Net. In vb6 there was a dialog for this but there doesnt seem to be one in VB.Net. Thanks. From: Frankie Pannell Posted by a user from .NET 247 (http://www.dotnet247.com/) Id 6mZHQhgq7kOUd01XvoLVxQ /Id
    Bug / Probem With Causes Validation & Form Close (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    My Problem is something like this. Create a sample windows application, having 2 textboxes & a command button Set the forms controlbox property to True Write validation event for the 2 textboxes Private Sub TextBox1 Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating If TextBox1.Text "" Then MsgBox("Enter Some Value") e.Cancel True End I...
    Bug / Probem With Causes Validation & Form Close (VIP replies)
    microsoft.public.dotnet.languages.vb.data
    My Problem is something like this. Create a sample windows application, having 2 textboxes & a command button Set the forms controlbox property to True Write validation event for the 2 textboxes Private Sub TextBox1 Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating If TextBox1.Text "" Then MsgBox("Enter Some Value") e.Cancel True End I...
    Bug / Probem With Causes Validation & Form Close (VIP replies)
    microsoft.public.dotnet.languages.vb.upgrade
    My Problem is something like this. Create a sample windows application, having 2 textboxes & a command button Set the forms controlbox property to True Write validation event for the 2 textboxes Private Sub TextBox1 Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating If TextBox1.Text "" Then MsgBox("Enter Some Value") e.Cancel True End I...
    Bug ? RealProxy - Delegate - Async - Message.InternalGetArgs ? (VIP replies)
    microsoft.public.dotnet.framework.remoting
    Hi , Is this a bug ? If not , can any one tell me how to resolve it please ? namespace Test { using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Messaging; using R System.Runtime.Remoting; class MyMbr : MarshalByRefObject { public void Handler(object sender,EventArgs args) { Console.WriteLine("sender:" sender); } } class MyProxy : R.Proxies.RealProxy { MyMbr server new MyMb...
    Bug in _EditCommand, event didn't fire? +my solution (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hello, I had a problem that the EditCommand didn't fire when the event was created in the .vb code. I did like this: 1. I created a datagrid (dgrdProducts) in design view. 2. Then I created the columns in code, like this, the method is called from Page Load: Private Sub CreateColumns() Dim ProductID As New BoundColumn Dim ProductName As New BoundColumn Dim UnitPrice As New BoundColumn Dim EditCol ...
    Bug in Authorization? IIS 5 Config Problem? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am having a devil of a time trying to get Forms authentication to work in a very simple test webapp (I've gotten it to work many, many times when developing on my WinXP client box, but I've just switched to doing development/debug on a Win2K server with IIS5, and something is obviously wrong). Here's the site: login.aspx /ssl/members/members.aspx (accessing members.aspx is supposed to require au...
    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