Компонент: HardToSoftBtn

HardToSoftBtn встроен в проект как control.

1. HardToSoftBtn - сам контрол;

2. SteelTraceMobile - пример использования на тасклете MetalCoilSummary;

3. HardBtnCode - программа для отлавливания кодов кнопок для CE.

1. you need initialize next properties in designer:
- hardwarebtncode or hardwarebtncodeadditional (code from list or number code of hardware button);
- softbtncode (number code of soft button in current tasklet);
- associatedcontrol (control for catching key up events, for example active listbox etc);

2. also, you need initialize parent tasklet in code, for example (taskletview of metalcoilsummary):
    metalcoilsummarytasklet _presenter;
    public metalcoilsummarytasklet presenter
    {
    get { return _presenter; }
    set
    {
    _presenter = value;
    hardtosoftbtn1.parenttasklet = value;
    } } 

powered by metaPost


print

rating
  Комментарии