using ButcherFactory.BO; using ButcherFactory.BO.LocalBL; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ButcherFactory.SegmentInStore_ { public partial class InStoreSummaryView : Form { BindingList list; public InStoreSummaryView() { InitializeComponent(); } protected override void OnLoad(EventArgs e) { base.OnLoad(e); list = SegmentInStoreBL.GetInStoreSummary(); inStoreGrid.DataSource = list; inStoreGrid.Refresh(); } private void closeBtn_Click(object sender, EventArgs e) { this.Close(); } } }