示例#1
0
文件: Gadget.cs 项目: docedson/FP3
 public void AddSmallWidgets(int iNum)
 {
     for (int ii = 0; ii < iNum; ii++)
     {
         SmallWidget sw = new SmallWidget();
         AddWidget(sw);
     }
 }
示例#2
0
文件: Program.cs 项目: Jacob-Shaw/WAG
        static void Main(string[] args)
        {
            //Tests
            SmallWidget testWidget = new SmallWidget();

            testWidget.DisplayComponents();



            CustomizableWidget Custom1 = new CustomizableWidget(9, 8, 7);

            Custom1.DisplayComponents();

            Console.ReadLine();
        }