Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities

Course 10 / Lecture 9:

Learn to use an item manager

In this lecture you will learn to use the item manager. The item manager is a great tool to manage your data classes. It will take care of persistent storage, selection, event management and can be used for many other neat features. You will significantly be more efficient with coding if you master the item manager.


Task #1:

Create an item manager class to keep a list!

The following video shows you how to use the item manager to manage your data classes created in the previous lecture.

Task #2:

Learn what a singleton instance is!

The purpose of a singleton instance is that only one instance of a class exists during the running of the application. If there is an application with multiple threads, the locking procedure helps to prevent to be multiple instances of a class.

Task #3:

Make your item manager persistent!

The previous video and the following figure shows you how to save your data to your storage. In this case, an xml file will be generated in the c:\Program Files\Ozeki\Ozeki10\Data\BarrierControl folder with the License_ prefix. It will keep the license plate number and the automatically generated timestamp. The Task 4 will show you how to add it manually with your app.

Task #4:

Save an item in the item manager!

You can add an item to the item manager through its singleton instance. You need to use the Add method of the class.

More information


Next