| | |
| | | { |
| | | switch (BillStatus) |
| | | { |
| | | case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View: |
| | | //case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Viewonly: |
| | | //æµè§ç¶æ |
| | | |
| | | case 0: |
| | | xg.Enabled = true; |
| | | AddRow.Enabled = false; |
| | | DelRow.Enabled = false; |
| | | bc.Enabled = false; |
| | | tc.Enabled = true; |
| | | //æªå®¡æ ¸ |
| | | if (txtHChecker.Text.Trim() == "") |
| | | { |
| | | xg.Enabled = true; |
| | | } |
| | | else |
| | | { |
| | | xg.Enabled = false; |
| | | } |
| | | Sub_LrtextStatus(true); |
| | | grdStatus = true; |
| | | break; |
| | | case DBUtility.ClsPub.Enum_BillStatus.BillStatus_View: |
| | | xg.Enabled = true; |
| | | AddRow.Enabled = false; |
| | | DelRow.Enabled = false; |
| | | bc.Enabled = false; |
| | | tc.Enabled = true; |
| | | Sub_LrtextStatus(false); |
| | | grdStatus = false; |
| | | break; |
| | |
| | | Sub_LrtextStatus(true); |
| | | grdStatus = true; |
| | | break; |
| | | |
| | | } |
| | | |
| | | } |