*UIChart:更改图表不能显示默认曲线的Bug
This commit is contained in:
parent
89c97f2938
commit
9a30ef3670
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
@ -327,10 +327,10 @@ namespace Sunny.UI
|
|||||||
return (UIBarOption)option;
|
return (UIBarOption)option;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
// set
|
||||||
{
|
// {
|
||||||
SetOption(value);
|
// SetOption(value);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void CreateEmptyOption()
|
protected override void CreateEmptyOption()
|
||||||
|
@ -164,10 +164,10 @@ namespace Sunny.UI
|
|||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
// set
|
||||||
{
|
// {
|
||||||
SetOption(value);
|
// SetOption(value);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnMouseMove(MouseEventArgs e)
|
protected override void OnMouseMove(MouseEventArgs e)
|
||||||
|
@ -113,10 +113,10 @@ namespace Sunny.UI
|
|||||||
return (UILineOption)option;
|
return (UILineOption)option;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
// set
|
||||||
{
|
// {
|
||||||
SetOption(value);
|
// SetOption(value);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void CreateEmptyOption()
|
protected override void CreateEmptyOption()
|
||||||
|
@ -187,10 +187,10 @@ namespace Sunny.UI
|
|||||||
return (UIPieOption)option;
|
return (UIPieOption)option;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
// set
|
||||||
{
|
// {
|
||||||
SetOption(value);
|
// SetOption(value);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnMouseMove(MouseEventArgs e)
|
protected override void OnMouseMove(MouseEventArgs e)
|
||||||
|
@ -40,6 +40,7 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
public UIForm()
|
public UIForm()
|
||||||
{
|
{
|
||||||
|
base.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);//设置最大化尺寸
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
if (this.Register())
|
if (this.Register())
|
||||||
@ -47,7 +48,7 @@ namespace Sunny.UI
|
|||||||
SetStyle(UIStyles.Style);
|
SetStyle(UIStyles.Style);
|
||||||
}
|
}
|
||||||
|
|
||||||
base.SetStyle(
|
SetStyle(
|
||||||
ControlStyles.UserPaint |
|
ControlStyles.UserPaint |
|
||||||
ControlStyles.DoubleBuffer |
|
ControlStyles.DoubleBuffer |
|
||||||
ControlStyles.OptimizedDoubleBuffer |
|
ControlStyles.OptimizedDoubleBuffer |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user