private void bntAdd_Click(object sender, EventArgs e) { PL.DataEntry frm = new DataEntry(); frm.ShowDialog(); this.bunifuCustomDataGrid1.DataSource = cat.getCategoriesInfo("1"); }