Class Sample { AddSubPage("Title",new ServerControl()); private void AddSubPage(string title, Control subPage) { } }; Class ServerControl { public ServerControl() { InitializeComponent(); } };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)