private void buttonEdit_Click(object sender, EventArgs e)
 {
     adduser          = new EditUserRecordView("edit");
     adduser.id       = Convert.ToInt32(dataGridViewData.SelectedRows[0].Cells[0].Value);
     adduser.username = dataGridViewData.SelectedRows[0].Cells[1].Value.ToString();
     adduser.password = dataGridViewData.SelectedRows[0].Cells[2].Value.ToString();
     adduser.ShowDialog();
     Init_DataBinding(textBoxSearch.Text);
 }
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     adduser = new EditUserRecordView("new");
     adduser.ShowDialog();
     Init_DataBinding(textBoxSearch.Text);
 }