⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/tags/c $

#C#

85 posts

85 total · page 4 / 9

Programming a Laser Scanner on Cipher (9300) Terminals C#

It's time to write the second publication on programming reading devices for data collection terminals. In this publication, I will provide an example of programming a laser scanner on Cipher 9300 terminals. Here, I will provide a simple example of creating a program on Windows CE, which will work with the scanner on Cipher 93XX terminals. In general, the original code of this program will be based on examples provided in the programming guide, but with some minor improvements.

91 views 0 comments 0 likes ./Read →

Multi-line ListView for .NET CF C#

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.

30 views 0 comments 0 likes ./Read →

Determining the Platform in .NET CF on a Mobile Device C#

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.

28 views 0 comments 0 likes ./Read →

Drawing Beautiful Lines in Windows Mobile on C#

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.

14 views 0 comments 0 likes ./Read →

Рисуем изображение с прозрачным фоном и заставляем его перемещаться в NET CF. C#

Довольно долго я всевозможными способами пробовал вывести изображения с прозрачным фоном (например картинку формата png) в .NET CF на Windows Mobile устройствах. Но всё получалось либо медленно и некрасиво, либо очень сложно. А нужен был ме…

44 views 0 comments 0 likes ./Read →

Working with FTP Server from C#

Many have probably encountered the need to create a simple FTP client for their needs in C#. I was no exception. Recently, I had to create a specific application for updating software via FTP. And the most useful thing I found for this purpose was the BytesRoad.NetSuit library (with source code). This is a very simple component that provides the main functionality for working with FTP.

455 views 0 comments 0 likes ./Read →