Passing Parameter from one child form to another's public method

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Here is the code in the calling form:

Form frmDetails = new employeeDir.details ();
frmDetails.MdiParent = this.MdiParent;
frmDetails.DisplayForm(1);

Here is the code in detail form:

public void DisplayShow(int EmployeeID)
{
this.label1.Text = EmployeeID.ToString();
}

Somehow the DisplayShow method does not appear in intellisense, what am I
missing?
 
Hi
from the snippet that you show , it seem that there is nothing missing ,
try to rebuild your code to make sure that there is no syntax error
somewhere else that block intellisense
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top