예제 #1
0
        static void Main(string[] args)
        {
            MinApp app = new MinApp();

            for (int x = 0; x < 100; x++)
            {
                for (int i = 0; i < 10000; i++)
                {
                    app.OpretObjekt();
                }
                System.Threading.Thread.Sleep(200);
                app.FjernReferencer();
            }
        }
예제 #2
0
 public MitObjekt(MinApp mor)
 {
     this.mor             = mor;
     this.mor.Hjerteslag += SkrivTick;
 }