private void tspBtnQuery_Click(object sender, EventArgs e) { // AddObjectParams.FrmAdvanceQuery query = new AddObjectParams.FrmAdvanceQuery(); AddObjectParams.FrmTest query = new AddObjectParams.FrmTest(); query.MasterTableName = "PDM_DOCUMENT"; query.ShowDialog(); }