示例#1
0
文件: Program.cs 项目: WHUynl/Yanshi
        static void Main(string[] args)
        {
            SimpleFactory s = new SimpleFactory();
            Foruser       f = new Foruser(s);

            f.makePainting();
        }
示例#2
0
文件: Program.cs 项目: WHUynl/Yanshi
 public Foruser(SimpleFactory sf)
 {
     this.sf = sf;
 }