C# Class WorkItemsGroupDemo.Form1

Inheritance: System.Windows.Forms.Form
显示文件 Open project: amibar/SmartThreadPool

Public Methods

Method Description
Form1 ( ) : System
Init ( ) : void

Private Methods

Method Description
DoNothing ( WorkItemState state ) : void
EnqueueWorkItems ( int &startIndex, int count, string text, Color color, WorkItemPriority priority, IWorkItemsGroup wig, int sleepDuration ) : void
Form1_Load ( object sender, EventArgs e ) : void
InitSTP ( ) : void
InitializeGUIPerformanceCounters ( ) : void
InitializeLocalPerformanceCounters ( ) : void
InitializePerformanceCounters ( ) : bool
InitializeWindowsPerformanceCounters ( ) : void
Shutdown ( ) : void
Start ( ) : void
UpdateControls ( bool start ) : void
UpdateModeControls ( ) : void
UpdateQueueUsageControl ( IWorkItemsGroup wig, UsageControl.QueueUsageControl queueUsageControl, Label label ) : void
UpdateWorkingSet ( ) : void
btnCancel1_Click ( object sender, EventArgs e ) : void
btnCancel2_Click ( object sender, EventArgs e ) : void
btnCancel3_Click ( object sender, EventArgs e ) : void
btnCancel6_Click ( object sender, EventArgs e ) : void
btnMode_Click ( object sender, EventArgs e ) : void
btnPause_Click ( object sender, EventArgs e ) : void
btnStart_Click ( object sender, EventArgs e ) : void
btnState1_Click ( object sender, EventArgs e ) : void
btnState2_Click ( object sender, EventArgs e ) : void
spinCon_ValueChanged ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void
timer2_Tick ( object sender, EventArgs e ) : void
timerPoll_Tick ( object sender, EventArgs e ) : void

Method Details

Form1() public method

public Form1 ( ) : System
return System

Init() public static method

public static Init ( ) : void
return void