コード例 #1
0
        //private const string RawMaterialsPath = @"\File\RawMaterials.xml";
        //private const string ProductsPath = @"\File\Products.xml";
        //private const string KitsPath = @"\File\Kits.xml";

        public RawMaterialsForm()
        {
            InitializeComponent();
            var liste = RawMaterial.Get <RawMaterial>(RawMaterial.RawMaterialsPath);

            foreach (RawMaterial rawMaterial in liste)
            {
                listMaterials.Items.Add(rawMaterial);
            }
        }