Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass parameter to form constructor
Message
From
27/08/2007 12:10:04
 
 
To
27/08/2007 10:54:29
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01250488
Message ID:
01250658
Views:
12
Hi,

Hmm. As Bonnie suggested maybe there's a problem with the Enum. Out of curiosity - what happens if you cast this to an int in the CreateInstance line ?

Regards,
Viv

>I hit error
>
>Constructor on type 'JK.Payment.UI.Windows.Forms.PaymentForm' not found.
>
>However, as the code I posted, it works if I use the code below
>
>
//Workign OK
>
>Payment.UI.Windows.Forms.PaymentForm loForm = new PaymentForm(new object[]
>
>{ JK.Payment.Enums.TxnType.Sale, salesBO.SaleNo, salesBO.Total });
>
>Thank you
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform