I have following code to show a child window
//===============================================
private void btnData_Click(object sender, System.EventArgs e)
{
//click to new a Database window
ServiceServer.Database formDatabase = new Database(this);
formDatabase.Show();
}
in child window
I have
//===============================================
public Database(ServiceServer.serviceServer parent)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.