private void btnQuery_Click(object sender, EventArgs e) { var queryFrom = new QueryForm(this.client); queryFrom.ShowDialog(); }