|
Наследование
|
|||
---|---|---|---|
#18+
Среда Visual Basic STUDIO’2010 Professional Наследование. Как устранить ошибку. Сделано согласно примеру MSDN'2008 Код: vbnet 1. 2. 3. 4. 5. 6. 7. 8.
СПАСИБО. Ниже из msdn'2008^ To inherit from another class • Add an Inherits statement with the name of a class you want to use as a base class as the first statement in your derived class. The Inherits statement must be the first non-comment statement after the class statement. Example The following example defines two classes. The first class is a base class that has two methods. The second class inherits both methods from the base class, overrides the second method, and defines a field named Field. Visual Basic Copy Code Код: vbnet 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.
... |
|||
:
Нравится:
Не нравится:
|
|||
22.01.2013, 14:10 |
|
Наследование
|
|||
---|---|---|---|
#18+
Vova_1805, в сообщении об ошибке все ясно сказано - класс формы должен наследоваться от класса System.Windows.Forms.Form или от его наследника. То есть тебе надо добавить Inherits System.Windows.Forms.Form к классу SubFormForEnter. ... |
|||
:
Нравится:
Не нравится:
|
|||
22.01.2013, 14:50 |
|
|
start [/forum/topic.php?fid=20&gotonew=1&tid=1405312]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
64ms |
get topic data: |
14ms |
get first new msg: |
8ms |
get forum data: |
3ms |
get page messages: |
51ms |
get tp. blocked users: |
2ms |
others: | 13ms |
total: | 186ms |
0 / 0 |