|
|
|
очередной глюк в testking 70-316?
|
|||
|---|---|---|---|
|
#18+
QUESTION 122 You develop a Windows control named FormattedTextBox, which will be used by many developers in your company TestKing Inc. FormattedTextBox will be updated frequently. You create a custom bitmap image named CustomControl.bmp to represent FormattedTextBox in the Visual Studio .NET toolbox. The bitmap contains the current version number of the control, and it will be updated each time the control is updated. The bitmap will be stored in the application folder. If the bitmap is not available, the standard TextBox control bitmap must be displayed instead. Which class attribute should you add to FormattedTextBox? A. [ToolboxBitmap(typeof(TextBox))] class FormattedTextBox B. [ToolboxBitmap(@"CustomControl.bmp")] class FormattedTextBox C. [ToolboxBitmap(typeof(TextBox), "CustomControl.bmp")] class FormattedTextBox D. [ToolboxBitmap(typeof(TextBox))] [ToolboxBitmap(@"CustomControl.bmp")] class FormattedTextBox Answer: B Section: (none) Но разве при ответе B при отсутствующем файле будет иконка стандартного TextBox'а? ИМХО cкорее D. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.07.2005, 16:59:45 |
|
||
|
очередной глюк в testking 70-316?
|
|||
|---|---|---|---|
|
#18+
В данном случае я бы ответил С. Т.к. А и В - не удовлетворяют условию. D - это два "взаимоперекрывающих" атрибута, как будет работать (и будет ли вообще) - непонятно. В любом случае очень просто набросать код для тестирования и проверить. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.07.2005, 23:00:58 |
|
||
|
очередной глюк в testking 70-316?
|
|||
|---|---|---|---|
|
#18+
2Автор топика. А попробовать вера не позволяет? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.07.2005, 09:57:06 |
|
||
|
очередной глюк в testking 70-316?
|
|||
|---|---|---|---|
|
#18+
Волею судеб я на пару дней оказался оторван от VS;-( А вера-то вроде позволяет ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.07.2005, 10:30:02 |
|
||
|
|

start [/forum/topic.php?fid=34&msg=33172371&tid=1551176]: |
0ms |
get settings: |
6ms |
get forum list: |
12ms |
check forum access: |
6ms |
check topic access: |
6ms |
track hit: |
33ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
78ms |
get tp. blocked users: |
1ms |
| others: | 216ms |
| total: | 368ms |

| 0 / 0 |
