private void update_Click(object sender, EventArgs e) { try { AddView a = new AddView(con, tabs.SelectedItem.ToString(), true); a.Show(); } catch (Exception) { } }
private void Add_Click(object sender, EventArgs e) { AddView a = new AddView(con, "", false); a.Show(); }