Exemple #1
0
        private void DrawingOnce(IDataInteraction <Data> reader)
        {
            Action _drawing = () =>
            {
                data = reader.ReadData();
                UpdateFormOnce();
                Thread.Sleep(1000);
            };

            drawing = Task.Factory.StartNew(_drawing);
        }