Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass parameter to form constructor
Message
De
27/08/2007 12:10:04
 
 
À
27/08/2007 10:54:29
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01250488
Message ID:
01250658
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform