DurationEntryDlg Class
- Last UpdatedNov 06, 2025
- 1 minute read
The DurationEntryDlg class includes methods for adding and maintaining duration entry datalog records in the Duration_Entry_DLG table. It supports entry of a duration value, with hours, minutes and seconds components. Minutes and seconds must lie within the range 0 - 59. The maximum value of hours (e.g. 9999) is passed into the constructor.
'Declaration
<ToolboxItemFilterAttribute("System.Windows.Forms.Control.TopLevel")>
<ToolboxItemAttribute(False)>
<DesignTimeVisibleAttribute(False)>
<DesignerAttribute("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)>
<DesignerCategoryAttribute("Form")>
<DefaultEventAttribute("Load")>
<InitializationEventAttribute("Load")>
<DefaultPropertyAttribute("Text")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
Public Class DurationEntryDlg
Inherits System.Windows.Forms.Form
[ToolboxItemFilter("System.Windows.Forms.Control.TopLevel")]
[ToolboxItem(false)]
[DesignTimeVisible(false)]
[Designer("System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IRootDesigner)]
[DesignerCategory("Form")]
[DefaultEvent("Load")]
[InitializationEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public class DurationEntryDlg : System.Windows.Forms.Form