private static CSuperMarket ReadMarket(string line) { string[] split = line.Split(new char[] { '#' }, 2); CSuperMarket _cSuperMarket = new CSuperMarket(split[1], new List <Depot>()); return(_cSuperMarket); }
private void 打开ToolStripMenuItem_Click(object sender, EventArgs e) { cmarket = new CSuperMarket(datapath); ShowMarket(); }