LOCATION: HomeSupportSamples › Windows Mobile Development Samples - SmartGrid .NET CF

Press Releases

November 17, 2009
Resco Releases Resco MobileForms Toolkit 2010

The popular component suite now with new controls and themes

October 20, 2009
Resco Announces Support for Windows® Phones

Resco MobileForms Toolkit now optimized for application development for Windows® phones

More
Latest Versions

March 17, 2010
OutlookControls .NET v6.8.0.6

March 16, 2010
TabControl .NET v6.8.0.4

March 16, 2010
Toolbar .NET v6.8.0.4

March 10, 2010
DetailView .NET v6.8.0.6

More

Windows Mobile Development Samples - Resco SmartGrid .NET CF

Following Windows Mobile Development Samples demonstrate the usage of Resco .NET CF controls in various situations. All samples include C#, or VB .NET source code for Microsoft Visual Studio.

Note:Some samples may require Windows Mobile 5.0 SDK installed to be run. You can download Windows Mobile 5.0 SDK free of charge from Microsoft webpage here.

Custom ScrollBar in SmartGrid sample

This sample demonstrates how SmartGrid can be designed to use Resco ScrollBar control. It loads some data from DataSet and use LetterBar to navigate through SmartGrid.

Download C# Sample  |  Download VB Sample

Sort on HeaderClick sample

This sample demonstrates how SmartGrid can be designed to sort the rows upon HeaderClick. Note that SmartGrid does not sort the rows really, but uses the capability of its datasources or the SQL server to sort the data instead. There are three forms in this sample, each demonstrating a different scenario.

Download C# Sample

Smartphone edit sample

This sample demonstrates how SmartGrid .NET control can be designed to load data from a database and edit them using SmartGrid's bult-in editing capabilities on Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.

Download C# Sample  |  Download VB Sample

Sudoku sample

This sample is a simple Sudoku application for Smartphone platform. Demonstrates the editing capabilities of SmartGrid .NET control on Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.

Download C# Sample

Button sample

This sample demonstrates how to implement a button in one of SmartGrid's cells.

Download C# Sample

DateTimePicker sample

This sample demonstrates these features of SmartGrid:

  • Loading data from a SqlCe database
  • Displaying a date in a column
  • Editing date in a column using a System.Windows.Forms.DateTimePicker control

Download C# Sample

Divided Cells sample

This sample demonstrates how to divide cells in a column in SmartGrid.

Download C# Sample

Edit button

This sample demonstrates how SmartGrid can be designed to display a clickable icon in a cell.

Download C# Sample

Multiple columns selection sample

This sample demonstrates how SmartGrid can be designed in such a way that multiple columns can be selected by clicking on their header.

Download C# Sample

Multiple rows selection sample

This sample shows how SmartGrid can be used to select or deselect multiple rows by clicking them.

Download C# Sample

NumericUpDown Sample

This sample shows how to edit data in a column using a System.Windows.Forms.NumericUpDown control.

Download C# Sample

LinkCell Sample

This sample shows how to inherit from Resco.Controls.SmartGrid.CustomCell class and use your own cell in SmartGrid. In this particular sample a new MyCell class is created. MyClass underlines the text inside it so that it looks like a link. If the cell is clicked, the text changes color from blue to yellow indicating, that the cell was clicked.

Download C# Sample

Load data sample

This sample demonstrates the capabilities to load data from Northwind Access database. It uses three method of data loading:

  • Loading through DBConnector object
  • Loading through DataSource object
  • Manual loading through Rows collection

Download C# Sample  |  Download VB Sample

CustomCell sample

This sample demonstrates how to use the CustomCell event to change the cell properties to custom values. The sample loads product sales data from the DataSet file called Sales.xml, which is attached to the project. The DataSet contains three columns; product name (ProductName), yearly sales (Sales), and sales change in % (Change). The sample handles the CustomCell method and does the following:

  • It does the custom formatting for the Sales column.
  • If the Change value is greater then 0 then it change the style of the cell to "Number_blue" and displays the green arrow image, otherwise it change the style to "Number_red" and displays the red arrow down image.

Download C# Sample  |  Download VB Sample

Editable grid sample

This sample loads customer data to the SmartGrid control. Then it uses the TextBox control to allow data edit of the selected cell.

Download C# Sample  |  Download VB Sample

CheckBox sample

This sample demonstrates how to implement checkboxes in SmartGrid using image column. There is also demonstration of default keyboard navigation and how to change the look of the row depending on the contents.

Download C# Sample  |  Download VB Sample