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
    How can I make an array of Label ? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I try to make an array of label as this. Dim ArrLabel(10) as System.Windows.Forms.Label For i 0 to 10 ArrLabel(i) New System.Windows.Forms.Label ArrLabel(i).Left 25 ArrLabel(i).Top 25*i ArrLabel(i).Name "Label" & i ArrLabel(i).Text "Test" & i ArrLabel(i).Show() Next But it didn't show on the form. Can you help me plz. Posted Via Usenet.com Premium Usenet Newsgroup Services ** SPEED ** RETENTION **...
    How can I pass more than one arguement to a function via <asp:linkbutton> ? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello Could anyone please explain how I can pass more than one arguement/parameter value to a function using asp:linkbutton or is this a major shortfall of the language ? Consider the following code fragments in which I want to list through all files on a directory with a link to download each file by passing a filename and whether or not to force the download dialog box to appear. Codebehind publ...
    How can I Programatically download image via .NET CF ? (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hello, I am currently undertaking development for a Pocket PC 2003 PDA using VB.NET 2003. I have developed a VB.NET application under the .Net Framework that allows me to programatically download an image from a website and store it on my local computer. My problem is that I have not been able to figure out how to do so via the ..Net Compact Framework. Below is a code snipet of the VB.NET code (NO...
    How can I track what properties the user has changed? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.databinding
    Hello, I'm using simple data bindings to wire windows forms controls to the properties of an object (the data source). I'd like to track which properties have been modified by the user. I'm looking for recommendations about how to do this in a generic fashion. I'd like to avoid incorporating XXXChange events into all my data source objects. I was hoping to find an appropriate binding framework eve...
    How can I update datagrid while table is being filled? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Initially, I had created my Windows application so that my datagrid's source would be updated once the method that filled the table was finished: private void btn run Click(object sender, System.EventArgs e) { ... myTable Match.fillTable(); datagrid.datasource myTable; } public DataTable fillTable () { ... for (int i 0; i 10000;i ) { //Creates row and adds it to my datatable myTable } return myTab...
    How can I update teh database via datagrid (VIP replies)
    microsoft.public.dotnet.framework.adonet
    I have created a view of a database on the screen via datagrid. Users can change this data. How can I update the database with this data? Can somebody please help me.. //To get one row on the screen private void Button1 Click(object sender, System.EventArgs e) {DataView firstview new DataView(); sqlDataAdapter1.Fill(test,"tblUser"); firstview.Table test.Tables["tblUser"]; DataGrid1.DataSource firs...
    How can I use "menubar=no" (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    In JavaScript, I can hide menu bar ( ex) html SCRIPT LANGUAGE "JavaScript" function Test() { var win window.open("test2.html","sale","menubar no,scrollbars no,width 780,height 5 40,top 0,left 0") window.opener "OPENER IS NOT NULL"; window.close(); } /SCRIPT body input id "ttt" type "button" onClick "Test()" /body /html I want to adopt this in default.aspx. So. In Browser, http://.../default.aspx m...
    How Can I... (VIP replies)
    microsoft.public.dotnet.framework.drawing
    How can I know how many percent of Red, how many percent of Blue, and how many percent of Green for a single pixel ? Any help is deeply appreciated. Thanks you all in advance. Have a great day... Kate
    How check if key pressed in any textbox on winform (VIP replies)
    microsoft.public.dotnet.languages.vb
    I would like to be able to know if the user has pressed a key in any text box on a winform or in other words, if he is editing a record. I would like to know this as soon as he presses any key. I know that I can check for keypress on a given field, but I don't want to do this for every field on the form. Is there a way to determine what I want to know?
    How do I access a control from a class not other than WebForm1? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I created a web form and dropped a table in there called resultsTable. This also resulted in the following being added to the Webform1 class: public System.Web.UI.WebControls.Table resultsTable; I can easily add rows and columns via C# programming from the WebForm1 class. However I cannot figure out how I can access this control outside of this class. For example, I have a different class called T...
    How do I access parent page properties and methods from one of its dynamically loaded usercontrols? (VIP replies)
    ASPFriends.com 'aspngbeta' list
    I'm trying to access and use the properties (or public variables) and methods in a page's codebehind from within a usercontrol dynamically loaded into that page. If I declare an instance of the webform's codebehind in my usercontrol's codebehind I can access the page's properties and methods, e.g.: Protected WithEvents myPage As FooBarWebFormCodebehindClass Protected WithEvents lblEmail As System....
    How do I add html to a VB form? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi all, Is it possible to use html to design my form. What I want to do is to make a calendar program, which will receive a picture image and a month, and the form must display the image on the top half of an A4 and a calander grid on the bottom half. I thought html could be useful to do this, is it possible?
    How do I call a OfficeCodeBehind Program from a Button (VIP replies)
    microsoft.public.dotnet.framework
    How do I call a OfficeCodeBehind Program from a Button? The program calls a Word.doc. There is no form to call a new instance of. Thank You, Leo
    How do I call an event from code? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have a PictureBox that is created as part of an object and has a Click event assigned to it whenever the object is instantiated. How can I call the that Click event from code? Basically I want to do MyObject.PictureBox.Click(). The Sub that handles the Event is private, so I can't call it directly, but the PictureBox is exposed as a Property. Sean
    How do I change the headertext of a datagrid column programmatically (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    Hi, I have a datagrid to view the results from a database. I am using autogenerate because the number of columns returned from the database change. I would like to change the column headers as the ones returned from the database have no spaces (example: need to change "EMP NAME" to "EMPLOYEE NAME" or just "NAME") I tried the following command datagrid.columns(0).headertext "NAME" datagrid.columns(...
    How do I do this in vb .Net? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Below is in Delphi... procedure TMyForm.AppIdle(Sender: TObject; var Done: Boolean); begin if OkToDoThings true then begin //do things end; end; What this does is make a procedure for running things in the background. It's very fast and is used in games. How do I do this in VB .Net?
    How do I dynamically add a <style> to the <head> section of ASP.NET page? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I want to add my own custom STYLE section in the HEAD section of my ASP.NET page within a custom control. Can someone tell me how I can have my custom control add tags to the HEAD section of the page dynamically when the page is rendered? Ken Varn Senior Software Engineer Diebold Inc. EmailID varnk Domain Diebold.com
    How do I dynamically bind a textbox into a grid field in ASP.NET using only the code behind? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.datagridcontrol
    I am trying to take dynamically generated datagrid that is bound to a data source and make one of the fields on the grid into an editable textbox that is bound to a field from the data source. Using a microsoft example from (http://msdn.microsoft.com/library/default.asp?url /library/en us/vbcon/html /vbtskcreatingtemplatesprogrammaticallyindatagridcontrol.asp) I have been able to get a textbox on ...
    How do I force an autotab to the next textbox (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have textboxes with unambigous field lengts, such as single character. When a valid value is entered into one of these, I would like to autotab to the next textbox. What is the best way to do this?
    How do I get the selected item from a datagrid (VIP replies)
    microsoft.public.dotnet.languages.vb
    How do I get the selected item from a datagrid? Thanks
    How do I isolate event-generating code in a derived class? (VIP replies)
    microsoft.public.dotnet.framework
    Hey all, A class of mine needs to tell the outside world when its buffer is not empty. The problem is that C# seems to force you to put the event raising code in the base class. To illustrate, consider what I'll do in Java: public interface DataAvailabilityListener extends java.util.EventListener { void dataArrived(DataAvailabilityEvent event); } then, in my base class, I can do this: public abstr...
    How do I isolate event-generating code in a derived class? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hey all, A class of mine needs to tell the outside world when its buffer is not empty. The problem is that C# seems to force you to put the event raising code in the base class. To illustrate, consider what I'll do in Java: public interface DataAvailabilityListener extends java.util.EventListener { void dataArrived(DataAvailabilityEvent event); } then, in my base class, I can do this: public abstr...
    How do I iterate through ALL controls on a WinForm? (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    What is the syntax for iterating through ALL controls on a WinForm (assuming this is possible)? Say if I wish to clear all databindings?
    How do I keep the datagrid from scrolling? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have a datagrid with the first column having a column style of type DataGridBoolColumn. I also have 2 buttons, one to "check all" of the checkboxes in the first column and one to "clear all" of the checkboxes. For example, here is the C# code I am using to do the "clear all": private void buttonClearAll Click(object sender, System.EventArgs e) { // Get the number of rows in the grid int numRows ...
    How do I keep the datagrid from scrolling? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, I have a Windows Forms DataGrid that is set up where the first column is a DataGridBoolColumn column and then 1 or more DataGridTextBoxColumn's after that. I have a "select all" button that loops through the DataGrid and sets the bool value to true in the first colum for all rows. I have another button for "clear all" which sets the bool value to false for all rows. The problem I am having is ...
    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