void add_more_medicines()
        {
            conn.Close();
            MedicineWindow medWindow = new MedicineWindow(this);

            medWindow.medwindowDate.Text          = checkpatientDate.Text;
            medWindow.medwindowContactNumber.Text = checkpatientContactNo.Text;
            medWindow.disease.Text = testingprocess.Text;
            medWindow.doc_id.Text  = hmmtext.Text;
            medWindow.Show();
        }
        void add_more_medicines()
        {
            //datagridMedicineList.Visibility = Visibility.Visible;

            MedicineWindow medWindow = new MedicineWindow(this);

            medWindow.medwindowDate.Text          = checkpatientDate.Text;
            medWindow.medwindowContactNumber.Text = checkpatientContactNo.Text;
            medWindow.disease.Text = testingprocess.Text;
            medWindow.doc_id.Text  = hmmtext.Text;
            medWindow.Show();
        }