Esempio n. 1
0
        static void Main(string[] args)
        {
            DataDisplayer view  = new DataDisplayer();
            DataAdder     model = new DataAdder();

            for (int j = 0; j < 30; j++)
            {
                if ((j % 3) == 0)
                {
                    model.DoSomeAdding();
                }

                view.Tick();
            }

            Console.ReadKey();
        }
Esempio n. 2
0
        public void TestData()
        {
            var myDataAdder = new DataAdder();

            myDataAdder.DoSomeAdding();
        }