void CopyMethod_Click(object sender, EventArgs e) { Operations_CopyMethods OpCopy = new Operations_CopyMethods(partnumber_txt.Text); OpCopy.ShowDialog(); DataList.GetDetailsFromMethods(Properties.Settings.Default.ecogroup, partnumber_txt.Text, rev_txt.Text, OpCopy.retPart, OpCopy.retRev); EngWBDS = EngWB.GetDatasetForTree(Properties.Settings.Default.ecogroup, partnumber_txt.Text, rev_txt.Text, "", DateTime.Today, false, false); OPDataGrid.DataSource = EngWBDS.Tables["ECOOpr"]; }
private void getdetails_btn_Click(object sender, EventArgs e) { Operations_CopyMethods OpCopy = new Operations_CopyMethods(pnum_txt.Text); OpCopy.ShowDialog(); DataList.GetDetailsFromMethods(gid_cbo.Text, pnum_txt.Text, rev_txt.Text, OpCopy.retPart, OpCopy.retRev); }