Search  
Saturday, November 28, 2020 ..:: Forum ::.. Register  Login
 Forum Minimize
SearchForum Home
     
  .NET for VFP  Windows Forms  Passing Paramet...
 Passing Parameters Between Forms
 
 4/20/2007 2:49:07 PM
User is offlinejustalex
126 posts
5th


Passing Parameters Between Forms
 Modified By justalex  on 4/20/2007 1:50:43 PM)
IN Visual bAsic .NET !
Poate sa-mi spuna cineva cum pastez un parametru dintr-o forma in alta situatia mea e clasica in form 1 selectez o inregistrare apas butonul si se la nseaza form 2 aici vreau toate inregistrarile selectate pt selectia din form 1 (adica copii parintelui selectat - totul se realizeaza intr-un select parametrizat si am nevoie de id-ul din form 1 in form 2 )
 4/24/2007 1:36:56 PM
User is offlinejustalex
126 posts
5th


Re: Passing Parameters Between Forms

o sa raspundtot eu avand in vedere ca am mai aflat cate ceva intre timp ...

n VB.NET

Form 2

Public NumeVariabila as Char/Int etc

Form 1

Dim form2 As New frmForm2

form2.NumeVariabila = ...

...

form2.show()

 

 6/18/2007 11:54:43 PM
User is offlinealex_pascanu
80 posts


Re: Passing Parameters Between Forms

In clasa form1  declari un field public d eex a iar in form2 un field public a.

Le acccesezi asa din form2 form1.d din form1 form2.a

  .NET for VFP  Windows Forms  Passing Paramet...

Search  Forum Home         

Copyright (c) 2020 .NET for VFP   Terms Of Use  Privacy Statement