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
    DataTable.AddRange Slow (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I'm finding that the AddRange call in the following code takes several seconds to execute (approx. 4 seconds). DataColumn[] adcCols new DataColumn[3000]; for (int i 0; i adcCols.Length; i ) { adcCols[i] new DataColumn(); } myDataTable.Columns.AddRange(adcCols); Is there some way for me to speed this up? I tried using myDataTable.BeginLoadData and EndLoadData but it didn't help any. The end goal is...
    DataTable.Select(...) CRASHES (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hello, DataTable.Select( sFilter ) crashes with "Index was outside the bounds of the array" exception when: 1. parent table has more columns than child one 2. filter expression apllied to child table addresses to parent column which has higher order number than columns count in child table. Repro code snippet: DataSet ds new DataSet(); DataTable dtMain ds.Tables.Add("MAIN TBL"); DataTable dtChild ...
    DataView (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello All, I'm trying to use a DataView and in the rowfilter, base it on two fields in the table. I can't find any examples on this. Is there a way to do it. I'm talking about something like... DataView dv new DataView(myTable, "field1 like '" buffer "*' and field2 true", "field1", DataViewRowState.CurrentRows); The above doesn't seem to work. I'm not sure if I'm supposed to use the "and" in it......
    DataView confusion (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have a form with a dataset and a datagrid. I created a dataview on this dataset. When the user modifies the datagrid, I look up this record in the dataview to make sure it is unique. Here is the confusion......... I thought that the DataView is the view from the dataset, but it seems that the dataview has the records that are in the datagrid, because everytime I search for a record that I know i...
    DataView loop and edit? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Dear friends Dim myDataView as DataView New DataView(dsData.Tables("tblCustomers")) myDataView.RowFilter "City 'London'" My question is how to loop through all rows in myDataView and edit the field fldZipCode so fldZipCode "9800" Regards Able
    DataView.Sort Dilemma - A bit long (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have a dataset contining sorted data in mutilple tables from which I am selecting rows to action. I use the Find method of the DefaultView from a specific Table to get the position of a row in the table. I then set the position of the BindingContext to action the row. eg. Table.DatafaultView.Sort "ColumnName" pos Table.DatafaultView.Find(key) BindingContext(DataSet,Table).Position pos This works...
    date and timer on a form (VIP replies)
    microsoft.public.dotnet.languages.vb
    hi, I'm new to vb.net . I have a problem waking up early. I usually miss my morning classes. I downloaded some alarm clocks of the internet but most of them are huge and have extra functionalities. so I decided to make my own alarm clock. i created my project and made the form. I could display the time on a textfield but I dont know how to make it increment like a clock does. would anyone plz star...
    date Problem (VIP replies)
    microsoft.public.dotnet.languages.vb.data
    I have a form that reads and writes to a access database. One on the textboxes accepts a date field from the access database. the format is date/time... I need only date and cant figure it out... Any help would be appreciated Steve
    date-format in mobile calendar control ? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    Hi there, I have a calendar control on a mobile page (phone). Since the phone can't display the control it shows different pages and manners to select a date (pretty cool). However, all my dates are showed in mm dd yyyy format, where it should be dd mm yyyy (CultureInfo : "nl NL"). Now, when you choose to 'type a date', you get in the display: "Type a date: (MMDDYYYY)" and then the texbox where yo...
    DateTimePicker checkbox and XP - BUG ? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi all, I think I've found a bug using the standard DateTimePicker control (VS.Net 2003) under XP. What happens: Create a project and include the source code below. It simply displays : a dateTimePicker control with the checkBox a button a textBox that show the current state of the dateTimePicker.checked value (true or false). Under XP, click the 'Get state' button and it shows 'TRUE'. That's corr...
    DateTimePicker control - any way to display no value? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I'd like to use the DateTimePicker control on a form, but the date may be unknown, and when it is, I need to display no value in the control. I've played around with the properties a bit, and it looks like this isn't possible. Am I right in thinking we're expected to use the check box for this? I'm afraid that won't work for me users know what an empty text box means, but they just wouldn't unders...
    DateTimePicker Control in DataGrid (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Dear all, I have read the article in http://www.msdn.microsoft.com/msdnmag/issues/03/08/DataGri ds/toc.asp?frame true I copy the idea of creating the DataGridComboBoxColumn to DateTimePickerColumn. Everything just fine but the SetColumnValueAtRow. The original article can update the value of the datagrid but my version can't. Here are the code of the original: private void comboBox Leave(object se...
    DateTimePicker detect CheckBox Change (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hello, I cannot seem to determine when the check box is clicked or unclicked. In addition, it appears that the check box disables the control but the user can still select the drop down that enables the control. Does anyone have a solution to these problems? TIA Dan
    DateTimePicker memory leak (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I have winforms that use the the DateTimePicker control and it appears to have a memory leak. During load testing, where forms are repeatedly opened and then closed, the memory usage of the application increases until it I eventually get an OutOfMemory exception. I created a simple test form and a driver that repeatedly creates and destroys the test form a specified number of times. When I don't c...
    DateTimePicker Parts (VIP replies)
    microsoft.public.dotnet.general
    Is there a way, via code, to modify which portion of the DateTimePicker control is selected when the control gets focus? For example, if the control contains 12/25/2003, could the portion that is selected be the Day (25) portion of the control?
    DateTimePicker ValueChanged (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    How can I detect when the user has changed the value in the DateTimePicker by typing one character in the 'day of month' field? If the date is initially 7/2/2004 and I type a 3 in place of the 2, no event fires. When the value changes to a different date, I want to show OK/Cancel buttons to accept the new date. If they type a 3 over the 2, then I want the buttons to show. If they type a 2 over the...
    DB2 managed provider problems during a FILL (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I'm having a problem trying to fill a dataset with the managed DB2 provider. My Fill command executes with no exception, but when I try to query the number of rows returned back in the dataset inside the immediate window during debugging, I get the following: ?ds.Tables(0).Rows.Count 'ds.Tables' is not declared or the module containing it is not loaded in the debugging session. Before my Fill stat...
    Dcom component and events (VIP replies)
    microsoft.public.dotnet.framework.interop
    I have one DCOM component that is already working in a VB6 applications, and I have successfully imported it in a Visual Basic Net Application. Everything is working OK, except that my application does not receive the events the component fires. The wizard has include the correct code ( it knows the component fires events), but the code is never called. It is working in VB6, so I don t think it s ...
    DDLB user control.. wherre to put code.. (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a user control that dynamically creates a dropdownlist.. when an entry in that is selected, it creates a 2nd ddlb with sub codes and when that is selected it creates another ddlb with more sub codes etc etc.. Each of these drop downs return part of a code that when combined will give the argument to a select to retrieve data on the main page. the sequence of events is as follows.. initial p...
    Debugger and Exception in static class initializer (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Set "Common Language Runtime Exceptions: When Exception is Thrown" to "Continue". Execute button1 Click. Debugger should break on line "SHOULD BREAK HERE" and not on line "SHOULD NOT BREAK HERE". Debugger breaks on correct line for normal class initializers. class Abc { static Abc() { throw new System.Exception("SHOULD NOT BREAK HERE"); } } private void button1 Click(object sender, System.EventArg...
    Debugging Trust Levels - Oledb (VIP replies)
    microsoft.public.dotnet.framework.aspnet.security
    Hi There, I want to configure a custom trust level for asp.net that will essentially be the same as low trust except that it adds the ability to run oledb connections. When setting this up, it doesn't seem to be as simple as just adding SecurityClass Name "OleDbPermission" Description "System.Data.OleDb.OleDbPermission, System.Data, Version 1.0.5000.0, Culture neutral, PublicKeyToken b77a5c561934e...
    Decimals wont show (VIP replies)
    microsoft.public.dotnet.languages.vb
    i have a decimatl decsum and decqty the values are 456 and 229 when i divide these two numbers and try to display teh results in a text box i get 228 when i need 228.044 i have tried to fromat "#0.0000" but alls this does is give me 228.0000 what do i need to do to fix this ? WStoreyII
    Declare Custom DLL Control in Code-Behind to set properties (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    Good afternoon, I created a custom control, compiled it into a DLL, and added it to the BIN directory. I placed an instance of the control in a webForm and am trying to programatically change its properties via the Page Load subroutine in a code behind file. Can someone please tell me the proper procedure for declaring the new custom control in the code behind file? I have supplied all of the code...
    Declaring control array (VIP replies)
    microsoft.public.dotnet.languages.vb
    If you're wondering why I post so many questions, it's because I want to make an entry in the Guinness Book of World Records. But because I post so many, I try to make them simple. Here is (I hope) a simple one: I've declared a "control array" just after the WFD generated code like this: Dim LabelArray() as Label {Label0, Label1, Label2, Label3, Label4, Label5} But when I try to do something like ...
    Declaring Treenode Click Event (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I know, it's a stupid question, but how do I declare the TreeView Click event? As in Treeview1.Click ..... I keep getting a error. Thanks, Susan
    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