private void bunifuThinButton28_Click(object sender, EventArgs e)
        {
            //details
            try
            {
                Form_Print print           = new Form_Print();
                ClassTreatments_Patients p = new ClassTreatments_Patients();
                print.dataGridView1_Print.DataSource = p.readTreatments_Patients(int.Parse(dataGridView1.CurrentRow.Cells[0].Value.ToString()));

                print.Lb_Print_NamePatient.Text = dataGridView1.CurrentRow.Cells[1].Value.ToString();
                print.bunifuCustomLabel7.Text   = dataGridView1.CurrentRow.Cells[2].Value.ToString();
                print.bunifuCustomLabel9.Text   = dataGridView1.CurrentRow.Cells[3].Value.ToString();
                print.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        private void bunifuThinButton22_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == "" || bunifuMaterialTextbox5.Text == "" || comboBox1.Text == "" || comboBox3.Text == "")
            {
                bunifuCustomLabel13.Text = "All Fileds Requered !";
                bunifuTransition1.ShowSync(panel2);
            }
            else
            {
                ClassTreatments_Patients p = new ClassTreatments_Patients();
                //bach njib id marid l howa akhir str drto ana f db
                ClassPatients pt      = new ClassPatients();
                var           dt      = pt.readPatient();
                int           lastRow = dt.Rows.Count;
                int           idP     = int.Parse(dt.Rows[lastRow - 1][0].ToString());

                p.insertTreatments_Patients(idP, textBox1.Text, comboBox1.Text, bunifuMaterialTextbox5.Text, comboBox3.Text);
                txt_Message.ForeColor    = Color.SeaGreen;
                bunifuCustomLabel13.Text = "Save Succefull";
                bunifuTransition1.ShowSync(panel2);
            }
        }