private void Btn_New_Click(object sender, EventArgs e)
        {
            Btn_Add.Enabled    = true;
            Btn_Update.Enabled = false;

            RText_Name.ResetText();
            RText_Cost.ResetText();
            DGV_Course.ClearSelection();
        }
        private void DGV_Course_DoubleClick(object sender, EventArgs e)
        {
            if (DGV_Course.SelectedRows.Count == 0)
            {
                return;
            }

            RText_Name.Text = DGV_Course.CurrentRow.Cells[1].Value.ToString();
            RText_Cost.Text = DGV_Course.CurrentRow.Cells[2].Value.ToString();

            DGV_Course.ClearSelection();
            Btn_Update.Enabled = true;
            Enable_BtnAdd      = false;
            Btn_Add.Enabled    = false;
        }
 private void Frm_Course_Load(object sender, EventArgs e)
 {
     DGV_Course.ClearSelection();
     RText_Name.Focus();
 }