Hi!
I will convert this c# code snip in Visual Cobol code:
==============================================================================
#region MinimumValue Property
public static double GetMinimumValue(DependencyObject obj)
{
return (double)obj.GetValue(MinimumValueProperty);
}
public static void SetMinimumValue(DependencyObject obj, double value)
{
obj.SetValue(MinimumValueProperty, value);
}
public static readonly DependencyProperty MinimumValueProperty =
DependencyProperty.RegisterAttached(
"MinimumValue",
typeof(double),
typeof(TextBoxNumeric),
new FrameworkPropertyMetadata(double.NaN, MinimumValueChangedCallback)
);
private static void MinimumValueChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
TextBox _this = (d as TextBox);
ValidateTextBox(_this);
}
#endregion
==============================================================================
I know that #Region = $Region is...
But how can i convert the rest?
Have anyone an idea?
#c
#wpf
#C
#VisualCOBOL