private void RefreshItems(object sender, EventArgs e) { var biz = new LockingBiz(); dataGridView.DataSource = biz.LoadItems(); dataGridView.Refresh(); }
public LockingView(User user) { InitializeComponent(); dataGridView.AutoGenerateColumns = false; currentUser = user; var biz = new LockingBiz(); dataGridView.DataSource = biz.LoadItems(); dataGridView.Refresh(); }