| | |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | |
| | | if (colType is MemoEdit) |
| | | { |
| | | var txt = colType as MemoEdit; |
| | | if (txt != null) |
| | | txt.Text = strVal; |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | |
| | | //数字卡 |
| | | if (colType is NumericUpDown) |
| | | { |
| | |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | |
| | | if (ctrl is MemoEdit) |
| | | { |
| | | var txt = ctrl as MemoEdit; |
| | | if (txt != null) |
| | | txt.Text = ""; |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | //时间 |
| | | if (ctrl is DateTimePicker) |
| | | { |
| | |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | |
| | | if (ctrl is MemoEdit) |
| | | { |
| | | var txt = ctrl as MemoEdit; |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | //数字卡 |
| | | if (ctrl is NumericUpDown) |
| | | { |
| | |
| | | txt.ReadOnly = isEdt; |
| | | continue; |
| | | } |
| | | |
| | | //下拉 |
| | | if (ctrl is UcComBox) |
| | | { |