2 files changed
+7
-3
No files matched your search
@@ -159,6 +159,7 @@ namespace HandyControl.Controls
|
|||||||
{
|
{
|
||||||
var ctl = (NumericUpDown) d;
|
var ctl = (NumericUpDown) d;
|
||||||
var v = (double) e.NewValue;
|
var v = (double) e.NewValue;
|
||||||
|
ctl._textBox.Text = v.ToString();
|
||||||
|
|
||||||
ctl.OnValueChanged(new FunctionEventArgs<double>(ValueChangedEvent, ctl)
|
ctl.OnValueChanged(new FunctionEventArgs<double>(ValueChangedEvent, ctl)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ namespace HandyControl.Controls
|
|||||||
{
|
{
|
||||||
if (_initEnumerable != null)
|
if (_initEnumerable != null)
|
||||||
{
|
{
|
||||||
OnItemsSourceChanged(null, _itemsSourceInternal);
|
OnItemsSourceChanged(null, _initEnumerable);
|
||||||
_itemsSourceInternal = null;
|
_initEnumerable = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_initArgs != null)
|
if (_initArgs != null)
|
||||||
@@ -89,7 +89,10 @@ namespace HandyControl.Controls
|
|||||||
_initArgs = null;
|
_initArgs = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Refresh();
|
if (_itemsOrigin.Items.Count == 0)
|
||||||
|
{
|
||||||
|
Refresh();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user