private void Add_Doctor_Load(object sender, EventArgs e)
        {
            DGV_Doctor.ClearSelection();
            string t = DTP_Date.Text = "1900-01-01";

            DTP_Date.Value   = Convert.ToDateTime(t);
            DTP_Date.Checked = false;
        }
        private void Btn_Reset_Click(object sender, EventArgs e)
        {
            Btn_Add.Enabled    = true;
            Btn_Update.Enabled = false;
            RText_Name.ResetText();
            Radio_F.Checked = false;
            Radio_M.Checked = true;
            string t = "1900-01-01";

            DTP_Date.Value   = Convert.ToDateTime(t);
            DTP_Date.Checked = false;
            RText_Number.ResetText();
            RText_Email.ResetText();
            DGV_Doctor.ClearSelection();
        }
        private void DGV_Doctor_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                if (DGV_Doctor.SelectedRows.Count == 0)
                {
                    return;
                }

                RText_Name.Text = this.DGV_Doctor.CurrentRow.Cells[1].Value.ToString();

                string Gender = this.DGV_Doctor.CurrentRow.Cells[2].Value.ToString();

                if (Gender == "ذكر")
                {
                    Radio_M.Checked = true;
                }
                else
                {
                    Radio_F.Checked = true;
                }
                if (string.IsNullOrEmpty(this.DGV_Doctor.CurrentRow.Cells[3].Value.ToString()))
                {
                    string t = DTP_Date.Text = "1900-01-01";
                    DTP_Date.Value = Convert.ToDateTime(t);
                }
                else
                {
                    DTP_Date.Value = Convert.ToDateTime(this.DGV_Doctor.CurrentRow.Cells[3].Value.ToString());
                }

                RText_Number.Text = this.DGV_Doctor.CurrentRow.Cells[4].Value.ToString();

                RText_Email.Text = this.DGV_Doctor.CurrentRow.Cells[5].Value.ToString();
                DGV_Doctor.ClearSelection();
                Enable_BtnAdd      = false;
                Btn_Add.Enabled    = false;
                Btn_Update.Enabled = true;
            }
            catch (Exception ex) { }
        }