private void btnAdd_Click(object sender, EventArgs e)
        {
            PhoneBookAdd frm = new PhoneBookAdd(this);

            frm.id = 0;
            frm.ShowDialog();
        }
 private void btnModify_Click(object sender, EventArgs e)
 {
     if (flx.Rows.Count > 1)
     {
         PhoneBookAdd frm = new PhoneBookAdd(this);
         frm.id = Convert.ToInt32(flx[flx.RowSel, "phonebookID"]);
         frm.ShowDialog();
     }
     else
     {
         Box.warnBox("No data selected.");
     }
 }