Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing values between forms
Message
 
À
20/03/2003 22:46:42
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00766332
Message ID:
00768886
Vues:
25
Ron,
Thank you very much for you reply, this help me alot.

And also that you for your kind wishes.

BR


>Ahmad,
>Here's an example from my code in the calling program:
>
> 'load AuditBatch screen
> Dim frmAuditBatch As New auditbatch(Me, Current_BatchNo)
> Me.Hide()
> frmAuditBatch.ShowDialog()
> Me.Show()
>
>
>In the auditbatch form I have:
>
>- put in by Windows form generator:
>
>Public Class auditbatch
> Inherits System.Windows.Forms.Form
>
> Private frmCalling As Object
> Private This_BatchNo As Integer
>
>#Region " Windows Form Designer generated code "
>
> Public Sub New(ByVal sender As System.Object, ByVal Curr_Batch As Integer)
> MyBase.New()
>
> 'This call is required by the Windows Form Designer.
> InitializeComponent()
>
> 'Add any initialization after the InitializeComponent() call
> frmCalling = sender
> This_BatchNo = Curr_Batch
> End Sub
>
>The object constructor is the "New" procedure for the object, in this case the form. I've included a bit more than the New() procedure to show how
>this works. I hope this helps.
>Ron
>
>p.s. - Stay safe there.
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform