Here I will provide an example of dynamic creation of TextBox fields, with outputting values to these fields from a data source. Right to the point: 1. We set some variables and a couple of arrays. DataSet ds = new DataSet(); //Create a data source. T…
I've long wanted to write a guide like this, but somehow never had the time, and finally wrote it, with a whole lot of work involved... Those who want to cram 1C (even on a terminal) using DataWedge (a utility for sending what the scanner reads to the keyboard buffer, specialized for TSD Symbol) can stop reading and do something else that they enjoy. I won't convert anyone to my faith :).
It was long overdue for such a component, and finally, we managed to do it. The first version is ready. This component is a ListView for mobile devices based on Windows Mobile, where you can set the number of rows in position (up to 10 rows). It is primarily intended for modern devices with large screens and powerful hardware, but it will also work on devices with a 240X320 screen resolution, with a smaller width but twice the number of rows (for EGA - only even number of rows are possible, e.g. 5 rows will give 10 rows, 1 row will give 2 rows; 1.3 or 5 rows are not possible). A random image is used as the background. <br><br>Component screenshots: <br><a href="[[B0]]" class="highslide"><img src="[[B1]]" class="image-shadows image-padded" alt=""></a> <a href="[[B2]]" class="highslide"><img src="[[B3]]" class="image-shadows image-padded" alt=""></a> <a href="[[B4]]" class="highslide"><img src="[[B5]]" class="image-shadows image-padded" alt=""></a> <br><br><br><br><br><br><br><br><br><br><br>Download the component: <br>[attachment=19:graphlistview.rar] <br><br>To use the component, unpack the archive, create a new SmartDeviceProject in VisualStudio, right-click on the panel (Toolbox), select Choose Toolbox Items (wait for it to load, sometimes it freezes). In the opened window, click Browse, and find our component GraphListView.dll - find it, select, and add. <br>After that, the component should appear on the panel and can be used. <br><br>Description of the component, example of work, and source code <a href="[[B6]]">Here</a>. <br><br>P.S. Suggestions for the component's development, as well as found errors and inaccuracies are welcome.
Here I will provide a description of the main properties and methods of the GraphListView component. The most important thing is to specify the data source: //1. Throw GraphListView on the form //bind the component to data and update it. graphListView1.GraphListDataSet =…
I needed to automatically determine which version of Win CE is installed on a device, and I was surprised by the end result, but I'll get to that later. First, I'll describe the method for obtaining platform information… We'll get the information using the API function SystemParametersInfo, nothing special, I'll skip to the example right away.
I've been interested in this question for a long time! How can I do it? Insert multiple rows into a table with one query. The thing is that in the InterBase DBMS, unlike many other DBMS, a query of the type:
Often I need to interact with various applications written in .NET with FireBird and InterBase databases. Therefore, I decided to write an example for memory, so that next time I don't have to search through my own sources, but quickly look here. Maybe someone else will also find it useful.
Here I will provide an example code for drawing using GDI+ for Windows Mobile. A good man, Alex Feinman, presented a great library OpenNETCF.GDIPlus for drawing very beautiful lines using various brushes and fills. The library is available with source code and allows doing amazing things, the most useful (in my opinion) of which are the ability to draw transparent objects (Transparent) and edge smoothing, which makes lines significantly more attractive.
В этой публикации я рассмотрю подробно, на сколько это возможно, основные типы данных используемые в СУБД MySQL. MySQL поддерживает несколько различных типов данных: Числовые данные — это все целые числа (без дробной части) и вещественные ч…
I'll say right away that this article is not mine, but I really liked it, and to avoid having to search for it later, I decided to post it here. Fortunately, the author does not prohibit this on his website. Thank you very much to him for that. Here is the original: http://blog.peter.am/index.php/2010/11/3…