private void inicUsers() { try { List<User> users = new DBObjectProvider().getUsers(); this.cbxUser.DataSource = users; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void inicProperties() { try { List<Property> properties = new DBObjectProvider().getProperties(-1); foreach (Property p in properties) this.chbProperties.Items.Add(p.FullName, true); } catch (Exception ex) { } }