コード例 #1
0
        private void SellerWall_Load(object sender, EventArgs e)
        {
            label1.Text = "Your Business " + businessRepository.Count(Myseller.Name, Myseller.Dormitory);
            label2.Text = "Total Business in your Dorm: " + businessRepository.Count(null, Myseller.Dormitory);

            dataGridView2.DataSource = sellerRepository.GetAllBusinessList(Myseller);
            dataGridView1.DataSource = sellerRepository.GetBusinessList(Myseller);
        }