Ignore:
Timestamp:
3/14/2012 12:35:20 AM (3 years ago)
Author:
lowjoel
Message:

Change the progress updates to be a pull paradigm and not a push paradigm: this reduces the amount of time the CPU spends sending progress feedback, at the same time, allows future extensibility for decoupling the task executor from the front end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/pluginsRewrite/Eraser/SchedulerPanel.Designer.cs

    r2243 r2488  
    5353            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SchedulerPanel)); 
    5454            this.scheduler = new System.Windows.Forms.ListView(); 
    55             this.schedulerColName = new System.Windows.Forms.ColumnHeader(); 
    56             this.schedulerColNextRun = new System.Windows.Forms.ColumnHeader(); 
    57             this.schedulerColStatus = new System.Windows.Forms.ColumnHeader(); 
     55            this.schedulerColName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 
     56            this.schedulerColNextRun = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 
     57            this.schedulerColStatus = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 
    5858            this.schedulerMenu = new System.Windows.Forms.ContextMenuStrip(this.components); 
    5959            this.runNowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 
     
    6767            this.schedulerDefaultMenu = new System.Windows.Forms.ContextMenuStrip(this.components); 
    6868            this.newTaskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 
     69            this.progressTimer = new System.Windows.Forms.Timer(this.components); 
    6970            ((System.ComponentModel.ISupportInitialize)(this.titleIcon)).BeginInit(); 
    7071            this.content.SuspendLayout(); 
     
    106107            this.scheduler.View = System.Windows.Forms.View.Details; 
    107108            this.scheduler.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.scheduler_DrawColumnHeader); 
     109            this.scheduler.DrawSubItem += new System.Windows.Forms.DrawListViewSubItemEventHandler(this.scheduler_DrawSubItem); 
    108110            this.scheduler.ItemActivate += new System.EventHandler(this.scheduler_ItemActivate); 
    109111            this.scheduler.DragDrop += new System.Windows.Forms.DragEventHandler(this.scheduler_DragDrop); 
    110112            this.scheduler.DragEnter += new System.Windows.Forms.DragEventHandler(this.scheduler_DragEnter); 
     113            this.scheduler.DragOver += new System.Windows.Forms.DragEventHandler(this.scheduler_DragOver); 
    111114            this.scheduler.DragLeave += new System.EventHandler(this.scheduler_DragLeave); 
    112115            this.scheduler.KeyDown += new System.Windows.Forms.KeyEventHandler(this.scheduler_KeyDown); 
    113             this.scheduler.DragOver += new System.Windows.Forms.DragEventHandler(this.scheduler_DragOver); 
    114             this.scheduler.DrawSubItem += new System.Windows.Forms.DrawListViewSubItemEventHandler(this.scheduler_DrawSubItem); 
    115116            //  
    116117            // schedulerColName 
     
    199200            resources.ApplyResources(this.newTaskToolStripMenuItem, "newTaskToolStripMenuItem"); 
    200201            this.newTaskToolStripMenuItem.Click += new System.EventHandler(this.newTaskToolStripMenuItem_Click); 
     202            //  
     203            // progressTimer 
     204            //  
     205            this.progressTimer.Interval = 300; 
     206            this.progressTimer.Tick += new System.EventHandler(this.progressTimer_Tick); 
    201207            //  
    202208            // SchedulerPanel 
     
    234240        private System.Windows.Forms.ContextMenuStrip schedulerDefaultMenu; 
    235241        private System.Windows.Forms.ToolStripMenuItem newTaskToolStripMenuItem; 
     242        private System.Windows.Forms.Timer progressTimer; 
    236243    } 
    237244} 
Note: See TracChangeset for help on using the changeset viewer.