private void btnQuery_Click(object sender, EventArgs e) { CustomerQuery frmCustQuery = new CustomerQuery(); frmCustQuery.ShowDialog(); }