private void dgvMd_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            string md_name = "asd", md_des = "asd", md_status = "asd";
            int    md_id = 1;

            md_name   = dgvMd.CurrentRow.Cells["md_name"].Value.ToString();
            md_des    = dgvMd.CurrentRow.Cells["md_description"].Value.ToString();
            md_status = dgvMd.CurrentRow.Cells["md_status"].Value.ToString();
            md_id     = (int)dgvMd.CurrentRow.Cells["md_status"].Value;
            frm_Edit_Patient_Md form = new frm_Edit_Patient_Md(md_name, md_des, md_status, int.Parse(txtId.Text), md_id);

            form.ShowDialog();
        }
        private void btnInactive_Click(object sender, EventArgs e)
        {
            string md_name, md_des, md_status;
            int    md_id;

            md_id     = int.Parse(dgvMd.CurrentRow.Cells["md_id"].Value.ToString());
            md_name   = dgvMd.CurrentRow.Cells["md_name"].Value.ToString();
            md_des    = dgvMd.CurrentRow.Cells["md_description"].Value.ToString();
            md_status = dgvMd.CurrentRow.Cells["md_status"].Value.ToString();
            frm_Edit_Patient_Md form = new frm_Edit_Patient_Md(md_name, md_des, md_status, int.Parse(txtId.Text), md_id);

            form.ShowDialog();
        }