Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

IronPython i pozivanje postojeće forme

[es] :: .NET :: .NET Desktop razvoj :: IronPython i pozivanje postojeće forme

[ Pregleda: 1033 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

MarkoBalkan

Član broj: 141124
Poruke: 1624
...139.61-dsl.net.metronet.hr.



+19 Profil

icon IronPython i pozivanje postojeće forme05.01.2009. u 21:41 - pre 186 meseci
imam dvije forme u projektu.
Form1 i Form2.
na form1 nalazi se gumb.
na klik gumba htio bi da mi se prikaže form2.


evo coda, međutim ne radi, probao sam razne kombinacije.

def _button2_Click(self, sender, e):
F=Form2()
Form.Show(F)
pass


ako stavim self ispred Form2 u helpu mi izbaci ovo za general description.

If a member in a class library has been removed or renamed, recompile any assemblies that reference that library.
This exception is typically thrown when a field or method is deleted or renamed in one assembly, and the change is not reflected in a second assembly that is trying to access the missing member.

If you are attempting to access members on a late-bound object variable, make sure it is declared Public.
Protected, Friend, and Private variables cannot be late-bound in Visual Basic.


a kada nema self

form2 is not defined.

For Visual Basic and C#, the debugger features a new Exception Assistant that provides more information when an exception occurs. For more infomation, see How to: Correct Run-Time Errors with the Exception Assistant.

Often an exception wraps the original exception. In such cases, the InnerException property holds information about the original exception. For more information, see How to: Find Out More About an Exception with the Exception Assistant

 
Odgovor na temu

[es] :: .NET :: .NET Desktop razvoj :: IronPython i pozivanje postojeće forme

[ Pregleda: 1033 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.