នំអន្សមអាំង ភូមិចំការចេក 
(បញ្ចុះតំលៃពិសេសទិញ ១០០០៛ ជូន នំ២)
ក្នុងឱកាសពិធីបុណ្យចូលឆ្នាំខ្មែរ អតិថិជន ទិញនំកុំភ្លេចមើលសំបកនិងមានរង្វាន់





       


Using Control in VB.net

1.Label:​ ប្រើសំរាប់បង្ហាញពត៌មាន Label មិនអាចបញ្ចូលទិន្នន័យបានទេ។
-លក្ខណៈរបស់ Label (Label’s Properties )
-Name: សំរាប់ដាក់ឈ្មោះអោយ LabelControl
-Prefix Name: Label (ឈ្មោះនាំមុខ)
-Text: ប្រើសំរាប់សរសេរឈ្មោះ Label
-Font: ប្រើសម្រាប់ដូរអក្សរ, ទំហំ
-Font color: ប្រើសម្រាប់ផ្តូពណ៌អក្សរ
-Image: ប្រើសំរាប់ដាក់រូបភាព
-Image align:​ ប្រើសំរាប់កំនត់ទីតាំងរូបភាព
-Auto size: មានពី True False ប្រើសំរាប់កំនត់ទំហំ Label ប្រើជ្រើសយក True ទាញមិនបាន, False ទាញបាន។
-Text Align: ប្រើសំរាប់កំណត់ទីតាំងអក្សរក្នុង Label
  1. Text box control: ប្រើសំរាប់បញ្ចូលទិន្នន័យនិងសំរាប់បង្ហាញពត៌មាន។ លក្ខណៈ Text box
Back color: ប្រើសំរាប់ដាក់ពណ៌អោយ Text box
Multiple line: ប្រើសំរាប់អោយ Text box ទាញបន្ទាត់តូចធំបាន។
Multiple line: មានពីរគឺ True, False True ទាញបាន, False ទាញមិនបាន។
Name: ត្រូវតែដាក់ឈ្មោះអោយវា btn... មិនអាចសរសេរដកឃ្លាបានប៉ុន្តែប្រើសញ្ញា(-)បាន។
Ex:  txt-display or txtdisplay
  1.Comment button = button: ប្រើសំរាប់ចុចសញ្ញាអ្វីមួយ
+លក្ខណៈរបស់ button
-Name: ដាក់ឈ្មោះអោយវាថា btn… មិនមិនអាចសរសេរដកឃ្លាបានប៉ុន្តែប្រើសញ្ញា​(-)បាន។
Text: សម្រាប់បង្ហាញឈ្មោះ
Multiple line: ប្រើសំរាប់អោយ Text box ទាញបន្ទាត់តូចធំបាន។
Multiple line: មានពីរគឺ True, False True ទាញបាន, False ទាញមិនបាន។


Chapter2                                   Program Structure
I Declaring variable
-Dim :គឺជា variable name [ As Data type]
-Dim គឺជា key word សំរាប់ប្រកាសអញ្ញត្តិ variable name
-As: ជា key word សំរាប់បង្ហាញប្រភេទទិន្នន័យ
-Data type ជាប្រភេទទិន្នន័យមានដូចជា Integer(ប្រើសំរាប់លេខចំនួនគត់), long integer(ប្រើសំរាប់លេខតែវែងជា  integer), String(ប្រើសំរាប់ប្រកាសជាអក្សរ), Data/time(ប្រកាសជាប្រភេទថ្ងៃទី)
   * Naming Variable
-ឈ្មោះមិនអាចដកឃ្លាបាន
-ឈ្មោះត្រូវនាំមុខដោយអក្សរ មិនមែននិមិត្តសញ្ញាពិសេស
-ឈ្មោះមិនត្រូវលើសពីប្រវែង ២៥៥ តូ
-ឈ្មោះមិនត្រូវជាន់ key word ទេ
-ឈ្មោះមិនអាចមានសញ្ញា (.)បានទេ
ឧទាហរណ៍ៈ fine of Maximum of two number.
Operator Function
Operator
+        à addition
-        à subtraction
*        à multiplication
/        à division
\        àInteger division
/\      àExponentiation
Mod  à Modulo arithmetic រកសំណល់
=        à equal
<>      à not equal
>        à Greater than
<        à less than
>=      à Greater than equal to
<=      à Less than equal to
Is       à test if object is true
And   ៖ ឈ្នាប់និង
Or     ៖ ឈ្នាប់រឺ
Not   ៖ ឈ្នាប់មិន
4/. Radiobutton:​​ ប្រើសំរាប់ជំរើសបានតែ១
5/. Check box:
Name:  “chk”
Syntax: If condition.check=true then
                        Statements
End if
If condition


Green grocer
7/. List Box:
          ជាឧបករណ៍សំរាប់បញ្ចូលទិន្នន័យជា List .
III. Select Case
            Syntax: Select Case your expression
            Case   expression1
            Case   statements
                       Expression 2
                       Statements
            Case Else
            End Select
8/. Using Picture box
       Property: Mod size: stretch image
9/. Openfiledialog
10/.  Using timer
 Properties
 Enable=true
 Interval=100



*លក្ខណៈរបស់ List view
-Name: LV
-Column: សំរាប់សរសេរឈ្មោះ
-view: Detail
-Gridline: true
Syntax:” Insert Into Table Name(field Name)value(‘”& txt…text & “’)”







My Friend Study Information Technology
​​    

  


   



   





Powered by Blogger.

Pages - Menu

- Copyright © . -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -