Hi!
I will convert this c# code snip in Visual Cobol code:
==============================================================================
#region MinimumValue Property
publicstaticdouble GetMinimumValue(DependencyObject obj)
{
return (double)obj.GetValue(MinimumValueProperty);
}
publicstaticvoid SetMinimumValue(DependencyObject obj, double value)
{
obj.SetValue(MinimumValueProperty, value);
}
publicstaticreadonlyDependencyProperty MinimumValueProperty =
DependencyProperty.RegisterAttached(
"MinimumValue",
typeof(double),
typeof(TextBoxNumeric),
newFrameworkPropertyMetadata(double.NaN, MinimumValueChangedCallback)
);
privatestaticvoid MinimumValueChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
TextBox _this = (d asTextBox);
ValidateTextBox(_this);
}
#endregion
==============================================================================
I know that #Region = $Region is...
But how can i convert the rest?
Have anyone an idea?