C# Class StopWatch.WorklogForm

Exibir arquivo Open project: carstengehling/jirastopwatch Class Usage Examples

Public Properties

Property Type Description
rdEstimateAdjustLeave RadioButton

Public Methods

Method Description
WorklogForm ( TimeSpan TimeElapsed, bool AllowManualEstimateAdjustments, string comment, EstimateUpdateMethods estimateUpdateMethod, string estimateUpdateValue ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PostTimeAndClose ( ) : void
RemainingEstimateUpdated ( ) : void
SubmitForm ( ) : void
SubmitIfCtrlEnter ( KeyEventArgs e ) : void
SubmitIfEnter ( KeyEventArgs e ) : void
ValidateAllInputs ( ) : bool

Validates the required inputs. Returns

ValidateTimeInput ( TextBox tb, bool FocusIfInvalid ) : bool

Checks if the time entered in the submitted textbox is valid Marks it as invalid if it is not

btnOk_Click ( object sender, EventArgs e ) : void
calculatedAdjustedRemainingEstimate ( ) : string
estimateUpdateMethod_changed ( object sender, EventArgs e ) : void
foo ( string text ) : void
rdEstimateAdjustAuto_KeyDown ( object sender, KeyEventArgs e ) : void
rdEstimateAdjustLeave_KeyDown ( object sender, KeyEventArgs e ) : void
rdEstimateAdjustManualDecrease_KeyDown ( object sender, KeyEventArgs e ) : void
rdEstimateAdjustSetTo_KeyDown ( object sender, KeyEventArgs e ) : void
tbComment_KeyDown ( object sender, KeyEventArgs e ) : void
tbReduceBy_KeyDown ( object sender, KeyEventArgs e ) : void
tbReduceBy_KeyUp ( object sender, KeyEventArgs e ) : void
tbReduceBy_Validating ( object sender, System e ) : void
tbSetTo_KeyDown ( object sender, KeyEventArgs e ) : void
tbSetTo_KeyUp ( object sender, KeyEventArgs e ) : void
tbSetTo_Validating ( object sender, System e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

WorklogForm() public method

public WorklogForm ( TimeSpan TimeElapsed, bool AllowManualEstimateAdjustments, string comment, EstimateUpdateMethods estimateUpdateMethod, string estimateUpdateValue ) : System
TimeElapsed TimeSpan
AllowManualEstimateAdjustments bool
comment string
estimateUpdateMethod EstimateUpdateMethods
estimateUpdateValue string
return System

Property Details

rdEstimateAdjustLeave public_oe property

public RadioButton rdEstimateAdjustLeave
return RadioButton