|
|
|
|
|
Total Hits: 14 | Today: 0
|
Author: Bill Gu
|
Rating:
|
|

First of all, I would like to suggest you to run my small program. Not sure what your system is; on my computer, it prints out a line in about 1500 milliseconds. I think your result would be quite close to this as long as you run it on a Windows NT, 2000, or XP platform. Then, you just open your browser and visit http://finance.yahoo.com/. Yes, the Yahoo! Finance page, not the Yahoo! home page. Suddenly, you will see that the small program runs much faster (on my computer, it prints a line in 20...
|
|
|
|
Total Hits: 33 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can extend the design-time environment by authoring your own custom designer. Your custom designer can change the appearance and behavior of your control while the user is designing the control....
|
|
|
|
Total Hits: 36 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This example demonstrates how to use the DesignerSerializationVisibilityAttribute class to control how a collection is serialized at design time. Applying the Content value to your collection property ensures that the property will be serialized....
|
|
|
|
Total Hits: 46 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The .NET Compact Framework does not support the Windows Forms DoubleClick event for a button. But you can create a control that derives from the Button class to implement the event....
|
|
|
|
Total Hits: 57 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Your custom components and controls are designable, which means they have settings that users can configure with a graphical user interface (UI) at design time. These settings usually affect instances of the component at run time.
If your class implements the IComponent interface, it can participate in a design environment like Visual Studio.
To access the design-time support provided by the .NET Framework, you need to complete the following steps....
|
|
|
|
Total Hits: 42 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Your custom components and controls are designable, which means they have settings that users can configure with a graphical user interface (UI) at design time. These settings usually affect instances of the component at run time.
If your class implements the IComponent interface, it can participate in a design environment like Visual Studio....
|
|
|
|
Total Hits: 44 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

Your custom components and controls are designable, which means they have settings that users can configure with a graphical user interface (UI) at design time. These settings usually affect instances of the component at run time.
If your class implements the IComponent interface, it can participate in a design environment like Visual Studio.
To access the design-time support provided by the .NET Framework, you need to complete the following steps....
|
|
|
|
Total Hits: 46 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

This example code plays a sound file by using PlaySound on the mobile device. This code uses System.Runtime.InteropServices to invoke the PlaySound method of the Compact Framework's CoreDll.DLL....
|
|
|
|
Total Hits: 51 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The following procedures describe how to implement an event in a class. The first procedure implements an event that does not have associated data; it uses the classes System..::.EventArgs and System..::.EventHandler for the event data and delegate handler. The second procedure implements an event with custom data; it defines custom classes for the event data and the event delegate handler....
|
|
|
|
Total Hits: 54 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

To add new records into a dataset, a new data row must be created and added to the DataRow collection (Rows) of a DataTable in the dataset. The following procedures show how to create a new row and insert it into a DataTable. Examples are provided for both typed and untyped datasets....
|
|
|
|
Total Hits: 49 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

When changes are made to data rows, the dataset retains both the original (Original) and new (Current) versions of the row. For example, before calling the AcceptChanges method, your application can access the different versions of a record (as defined in the DataRowVersion enumeration) and process the changes accordingly....
|
|
|
|
Total Hits: 60 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

To insert new records into a database, you can use the TableAdapter.Update method, or one of the TableAdapter's DBDirect methods (specifically the TableAdapter.Insert method). For more information, see TableAdapter Overview.
If your application does not use TableAdapters, you can use command objects to interact and insert new records in your database (for example, SqlCommand)....
|
|
|
|
|
|