Visual Basic (Declaration) | |
---|---|
Public Shared Function InchToCm( _ ByVal value As Single _ ) As Single |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static float InchToCm( float value ) |
Parameters
- value
- Inches value to be converted to centimeters .
Return Value
Single value representing the inches value in centimeters.C# | Copy Code |
---|---|
private void detail_Format(object
sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format |