private void refresh() { IList <IProduct> w_list = m_model.GetItemList(); grid_items.Columns.Clear(); grid_items.DataSource = w_list; grid_items.Columns[0].Visible = false; grid_items.Columns[6].Visible = false; }
private void ItemChartForm_Load(object sender, EventArgs e) { w_list = m_model.GetItemList(); foreach (Product w_item in w_list) { list_item.Items.Add(w_item.name); } m_year = ctl_calendar.SelectedRanges.Start.Year; m_month = ctl_calendar.SelectedRanges.Start.Month; }