コード例 #1
0
        public WeatherView()
        {
            this.Build();

            imageMorning1.RedrawOnAllocate = true;
            imageDay1.RedrawOnAllocate = true;
            imageMorning2.RedrawOnAllocate = true;
            imageDay2.RedrawOnAllocate = true;
            imageMorning3.RedrawOnAllocate = true;
            imageDay3.RedrawOnAllocate = true;
            imageMorning4.RedrawOnAllocate = true;
            imageDay4.RedrawOnAllocate = true;

            Weather = new WeatherService();
            Weather.Completed += Weather_Completed;
        }
コード例 #2
0
 public ProcessAction(WeatherService service, EventList events)
 {
     this.service = service;
     this.Buffers = new object[10];
     this.events = events;
 }