private void btnNewByItem_Click(object sender, EventArgs e) { By.frmAddByItem frm = new By.frmAddByItem(); if (frm.ShowDialog().Equals(DialogResult.OK)) { LoadData(true); } //System.Configuration.ConfigurationManager.ConnectionStrings["SqliteServerStr"].ConnectionString = ""; }