Beispiel #1
0
        private void viewsa_Click(object sender, EventArgs e)
        {
            viewSamples frm = new viewSamples();

            this.Visible = false;
            frm.ShowDialog();
            this.Close();
        }
        private void RefreshGrid()
        {
            // string samId = viewSgrid.SelectedRows[0].Cells["Sample ID"].Value.ToString();

            viewSamples frm = new viewSamples();

            this.Visible = false;
            frm.ShowDialog();
            this.Close();
        }
Beispiel #3
0
        private void delete_btn_Click(object sender, EventArgs e)
        {
            string samId = viewSgrid.SelectedRows[0].Cells["Sample ID"].Value.ToString();

            Delete(samId);

            viewSamples frm = new viewSamples();

            this.Visible = false;
            frm.ShowDialog();
            this.Close();
        }