Example #1
0
        private void RefreshItems(object sender, EventArgs e)
        {
            var biz = new CityBiz();

            dataGridView.DataSource = biz.LoadItems();
            dataGridView.Refresh();
        }
Example #2
0
        public CityView(User user)
        {
            InitializeComponent();

            currentUser = user;

            dataGridView.AutoGenerateColumns = false;

            var biz = new CityBiz();
            dataGridView.DataSource = biz.LoadItems();
            dataGridView.Refresh();
        }
Example #3
0
        public CityView(User user)
        {
            InitializeComponent();

            currentUser = user;

            dataGridView.AutoGenerateColumns = false;

            var biz = new CityBiz();

            dataGridView.DataSource = biz.LoadItems();
            dataGridView.Refresh();
        }
Example #4
0
 private void RefreshItems(object sender, EventArgs e)
 {
     var biz = new CityBiz();
     dataGridView.DataSource = biz.LoadItems();
     dataGridView.Refresh();
 }