private void btnRegister_Click(object sender, EventArgs e) { DodavanjeRestoran r = new DodavanjeRestoran(Conn); if (r.ShowDialog() == DialogResult.OK) { refresh(); } else { refresh(); } }
private void lbRegister_Click(object sender, EventArgs e) { DodavanjeRestoran register = new DodavanjeRestoran(Conn); register.Show(); }