1
Answer

lanch winform app from winform app

Photo of anta_katz

anta_katz

20y
1.9k
1
Hi, i have 2 winform application. the cenario is, one exe is runing and by a click open the second exe ( process ) and open a form inside it.... anyone? thanx

Answers (1)

0
Photo of Dipen Lama
NA 331 195.9k 18y
Use Place holder control to place the user control dynamically.
Here is some lines:

    string userControlName = "UserControl1.ascx"; 
 
    Control control1 ;
    control1 = LoadControl( userControlName );
    placeHolderControl1.Controls.Clear();
    placeHolderControl1.Controls.Add( control1 );