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
    Fade from one Panel to the other (VIP replies)
    microsoft.public.dotnet.general
    I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void fade(System.Windows.Forms.Panel fP){ for (int i 255; i 0;i ){ System.Threading.Thread.Sleep(10); fP.BackColor System.Drawing.Color.FromArgb(i, 255,255,255); System.Windows.Forms.Application.DoEvents(); } } There is another Panel u...
    Fade from one Panel to the other (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void fade(System.Windows.Forms.Panel fP){ for (int i 255; i 0;i ){ System.Threading.Thread.Sleep(10); fP.BackColor System.Drawing.Color.FromArgb(i, 255,255,255); System.Windows.Forms.Application.DoEvents(); } } There is another Panel u...
    Fade from one Panel to the other (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.designtime
    I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void fade(System.Windows.Forms.Panel fP){ for (int i 255; i 0;i ){ System.Threading.Thread.Sleep(10); fP.BackColor System.Drawing.Color.FromArgb(i, 255,255,255); System.Windows.Forms.Application.DoEvents(); } } There is another Panel u...
    Fade from one Panel to the other (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void fade(System.Windows.Forms.Panel fP){ for (int i 255; i 0;i ){ System.Threading.Thread.Sleep(10); fP.BackColor System.Drawing.Color.FromArgb(i, 255,255,255); System.Windows.Forms.Application.DoEvents(); } } There is another Panel u...
    Fade from one Panel to the other (VIP replies)
    microsoft.public.dotnet.faqs
    I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void fade(System.Windows.Forms.Panel fP){ for (int i 255; i 0;i ){ System.Threading.Thread.Sleep(10); fP.BackColor System.Drawing.Color.FromArgb(i, 255,255,255); System.Windows.Forms.Application.DoEvents(); } } There is another Panel u...
    Fail To reset the combobox.text (VIP replies)
    microsoft.public.dotnet.languages.vb
    My code is so simple to reset the text or set text to blank after the user choose the value in combobox. Private Sub cboBLData SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboBLData.SelectedIndexChanged Select Case UCase(Me.cboBLData.Text) Case "CNTR&MARKING" Dim frmCntrMark As New frmSeaCntrMarking() frmCntrMark.pHBLNo Me.txtHBLNo.Text frmCntrMark.ShowD...
    Fetching stored procedure parameters with ADO .NET (VIP replies)
    ASPFriends.com 'aspngdata' list
    In a VB ASP .NET page, I'm trying to get a list of parameters for a SQL 2000 database stored procedure (which contains one output parameter and two input parameters). I didn't see a way to do this with the current selection of ADO .NET tools. Interoperating with the old SQLDMO component, I was able to get a list of the stored procedures in the database, but invoking EnumParameters() and setting it...
    Field limit masking ? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Here is te problem. I have a text box that I only allow numbers or decimals to be entered (using an event delegate). The max number of characters I allow is 4. The highest number that they should be able to enter is 1.25 and the lowest is 0.010. Currently I check the field when the leave the control, but I need to not allow them to enter "9999" when they are typing and not ust when they leave. Can...
    file access with VB.NET (VIP replies)
    microsoft.public.dotnet.languages.vb
    I'm really confused about how to use the .NET file and stream stuff. Can someone please show me how to do this... I have a text data file with semicolon delimited fields. I need to check if the file exists, and if it does open the file and read the data fields into local variables. Simple enough I'm sure, but I can't figure out from MSDN what methods to use. I will also need to write to the file (...
    File Association launch default windows dialogue (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi Experts, from my program I offer the user to launch different files from a directory (normaly in this directory are .txt files) but sometimes other files may be in there so if my program receives the "no program associated" I would like to launch the standard Windows dialogue that pops up when double clicking a file in windows explorer that has no association. Thanks for any hints ! Jerry
    File Created Not Accessible Until App Shuts Down (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am using the filestream feature in VB.NET to create a file. However, I am not able to delete or overwrite the file until the app closes down. I am using the .Close( ) method on the filestream right after it is created. I am creating a .BMP file from an OLE Object of an Access database field. After creating the .BMP file, I read it back into a System.Drawing.Image object (in order to display the ...
    file I/O (VIP replies)
    microsoft.public.dotnet.general
    Inorder to handle large files over 100 MB, is there a way in dotnet to open only certain bytes of the file by buffer ? It is shaky if the entire file is opened and splitted. Instead is there a way or any alternatives on opening small chunk of the file.
    File Lock help in VB.net (VIP replies)
    microsoft.public.dotnet.languages.vb
    I want to know how do i unlock a file from a Process. I have program that downloads 5 image files. I want to use this class for mutliple downloads of the same file name. The file are being add into a collection and being animated. This part works like it should, but when i try to download new image with the same name to overwrite them, it give me an IO File Error, telling me that there is another ...
    file system events (FileSystemWatcher) (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I'm trying to figure out a way to catch when a file has been written to a directory. I currently have it where I can catch when the file begins writing, but this isn't helpful as I need to know when its done. Does anyone know the right combination of flags to use to catch when the file has been written and closed? (here is my current code). // member variable FileSystemWatcher watcher new FileSyst...
    File Type associated program selector (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello, I have been working executeing files a user selects in a database, my problem is that the file type may or may not be associated in the end users system. How can I go about, when the user executes a file, if the file does not have an associated application with it, show the window in windows that asks the user what they would like to open it with? (The select program from list window) thank...
    file upload (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am trying to upload a file, but I keep getting nothing uploaded: form enctype "multipart/form data" runat "server" ID "Form1" method "post" INPUT type "file" asp:TextBox id "TextBox1" runat "server" /asp:TextBox asp:Button id "Button1" runat "server" Text "Button" /asp:Button /form Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Respons...
    File upload (VIP replies)
    microsoft.public.dotnet.languages.csharp
    what is the best way to upload a file using c# in a webform? thanks,
    filestream write operation does not unlock the file when finished (VIP replies)
    microsoft.public.dotnet.general
    i use the following code to write a new file or to overwrite an exisiting one FileStream strm new FileStream(fn, FileMode.Create, FileAccess.Write); foreach (byte bNext in bytes) { strm.WriteByte(bNext); } strm.Close(); When I attempt to write to that file again I get the message The process cannot access the file "filename" because it is being used by another process. Any ideas? Al
    fill a data grid with tab delimited(asp.net) (VIP replies)
    microsoft.public.dotnet.languages.vb
    ok this it got to be easy but .net has made simple things Hard. Dim f As Integer Dim s As String Dim rgItems() As String f FreeFile() FileOpen(f, fileInput.Value, OpenMode.Input) While Not EOF(f) s LineInput(f) rgItems Split(s, Chr(9)) ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ''''how do i insert s into a data grid''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''...
    filling a datagrid (VIP replies)
    microsoft.public.dotnet.languages.vb
    I want to fill a datagrid with different dataadapters. The problem is to refresh the datagrid. How do I populate the datagrid with different dataadapters? I use buttons to do this button1 Private Sub cmdAnsatt Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAnsatt.Click OleDbDAAnsatt.Fill(DsAnsatt) 'Me.Refresh() End Sub button2 Private Sub cmdAnsatt2 Click(ByVal sender...
    Filling Datagrid (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I am programmatically adding columns to my datagrid and that is working very well. I am using this code to add the column: Dim Activity Notes As New BoundColumn() With Activity Notes ..DataField "Activity Notes" ..HeaderText "Notes" End With datagrid.columns.add(Activity Notes) datagrid.bind() The data in this cell is very long, and I wish to only display the first 25 chars. What is the best way t...
    Filter Dataset with Distinct Values (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Hi all, I'm have a dataset with contents similar to the following: Type Name aaa 300001.pdf bbb 300001.pdf ccc 300001.pdf ddd 300002.pdf eee 300002.pdf fff 300003.pdf I want to display the distinct values of name from this dataset so what I'll see is: Name 300001.pdf 300002.pdf 300003.pdf I need to preserve the structure of the original DS so I can display the detail. For example, when I have the ...
    Filtering items for a list box (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello I have a small program that I've created to generate accounting statements out of our policy managment system. The first part of the process is selecting the customer to create the statement for. In this process the application queries the database, returns a dataset of just customer names, and their customer code that is displayed in a list. This results in something like 200 names. The sta...
    Find file names from /image folder at load (VIP replies)
    microsoft.public.dotnet.faqs
    I'm trying to get file names from the /image folder. The folder contents are dynamic. After I get the file names, I'm running some VB on them that writes out dynamically created JScript (for mouse rollover). When I try to find the files in the folder, I get the following error: BC30451: Name 'Directory' is not declared. The index.aspx page code is (truncated): script language "vb" runat "server" P...
    Find if value exists in drop down (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have some drop down lists I'd like to pre populate from values in a database. I've found that if I just blindly assign the SelectedValue, I run into problems if what I'm trying to assign isn't a choice for that dropdown. So what I need to know, is how do I test for the existence of a value in a dropdown list? Seems like it should be easy, but I haven't been able to make it work yet. Thanks! Matt...
    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