private void viewo_Click(object sender, EventArgs e) { viewOrd frm = new viewOrd(); this.Visible = false; frm.ShowDialog(); this.Close(); }
private void RefreshGrid() { // string samId = viewSgrid.SelectedRows[0].Cells["Sample ID"].Value.ToString(); viewOrd frm = new viewOrd(); this.Visible = false; frm.ShowDialog(); this.Close(); }
private void delete_btn_Click(object sender, EventArgs e) { string ordId = viewOgrid.SelectedRows[0].Cells["Order ID"].Value.ToString(); Delete(ordId); viewOrd frm = new viewOrd(); this.Visible = false; frm.ShowDialog(); this.Close(); }