Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass parameter to form constructor
Message
De
27/08/2007 10:55:59
 
 
À
26/08/2007 12:41:46
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:
01250647
Vues:
10
Hi,
Just FYI, I tried suggested code, but also not work.
object[] parms = new object[3];
object[0] = JK.Payment.Enums.TxnType.Sale;
object[1] = salesBO.SaleNo;
object[2] = salesBO.Total;
loForm = (PaymentForm) Activator.CreateInstance(Type.GetType("JK.Payment.UI.Windows.Forms.PaymentForm"), parms);
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform