Anda di halaman 1dari 2

----> Add person menu item add to the MAIN MENU Resource

------> Add person menu item handler will be write in View

1) open dialog screen


2) dialog screen lo user age and name enter chestadu
3)Add button click chesinappudu dialog screen close autundi
4) Dialog box nunchi person object read cheyali
5)Read chesina person object ni doc lo store cheyali
5) view screen ni refresh cheyali

-----------------------------------------------------------------------------------
---------------------------------------------

open dialog screen

Create dialog from CDialog

add two edit controls and button

Add button handler

edit box values

name
and
age fileds lo store avvali

add button click cheste dialog box close avvali

------------------------------------------------------------

Edit box fields tho person object create chesi. return cheyataniki method define
cheyali..

-----------------------------------------------------------------------------------
---

create a class peson base object CObject

name and age argument constructor define cheyali

-----------------------------------------------------------------------------------
-
person objects no store chayataniki Document lo array field create chayali

person fields ni view display cheyataniki display method define cheyali

Document lo person object count cheyatanikiu method define cheyali

Document lo unnna, array lo unna each person object in return cheyataniki array
define cheyali

------------------------------------------------------------------------

Veiw ni refresh chesinappudu ondraw call autundi...


ondraw lo implementation....

Document lo every person object ni access chesi view lo display cheyali..

Anda mungkin juga menyukai