Beispiel #1
0
        private void InventoryUI_Load(object sender, EventArgs e)
        {
            myShop = myShop.ProductDeserialize();
            var modelNames = myShop.AccessModel();

            cboModel.Items.AddRange(modelNames);
        }
Beispiel #2
0
        private void Sales_Load(object sender, EventArgs e)
        {
            myShop.SalesDeserialize(ref myShop);
            dgvSale.DataSource = myShop.SaleList;
            myShop             = myShop.ProductDeserialize();
            var modelNames = myShop.AccessModel();

            cboModels.Items.AddRange(modelNames);
        }