private void amboffcrtable_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            String oldName;
            String oldSN    = "";
            String oldID    = "";
            String oldSkill = "";
            String oldAID   = "";
            String oldFN    = "";

            foreach (DataGridViewRow row in amboffcrtable.SelectedRows)
            {
                oldID    += row.Cells[0].Value.ToString();
                oldName   = row.Cells[1].Value.ToString();
                oldSkill += row.Cells[2].Value.ToString();
                oldAID   += row.Cells[3].Value.ToString();
                String[] name = oldName.Split();
                for (int x = 0; x < name.Length - 1; x++)
                {
                    oldFN += name[x] + " ";
                }
                oldSN += name[name.Length - 1];
            }
            AddOfficerForm addForm = new AddOfficerForm(oldFN, oldSN, oldID, oldSkill, oldAID);

            addForm.Visible = true;
            Visible         = false;
        }
        private void addbtn_Click(object sender, EventArgs e)
        {
            AddOfficerForm addForm = new AddOfficerForm();

            addForm.Visible = true;
            Visible         = false;
        }