*UIChart:更改图表不能显示默认曲线的Bug

This commit is contained in:
Sunny 2020-11-05 21:37:21 +08:00
parent 89c97f2938
commit 9a30ef3670
6 changed files with 18 additions and 17 deletions

Binary file not shown.

View File

@ -327,10 +327,10 @@ namespace Sunny.UI
return (UIBarOption)option;
}
set
{
SetOption(value);
}
// set
// {
// SetOption(value);
// }
}
protected override void CreateEmptyOption()

View File

@ -164,10 +164,10 @@ namespace Sunny.UI
return o;
}
set
{
SetOption(value);
}
// set
// {
// SetOption(value);
// }
}
protected override void OnMouseMove(MouseEventArgs e)

View File

@ -113,10 +113,10 @@ namespace Sunny.UI
return (UILineOption)option;
}
set
{
SetOption(value);
}
// set
// {
// SetOption(value);
// }
}
protected override void CreateEmptyOption()

View File

@ -187,10 +187,10 @@ namespace Sunny.UI
return (UIPieOption)option;
}
set
{
SetOption(value);
}
// set
// {
// SetOption(value);
// }
}
protected override void OnMouseMove(MouseEventArgs e)

View File

@ -40,6 +40,7 @@ namespace Sunny.UI
public UIForm()
{
base.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);//设置最大化尺寸
InitializeComponent();
if (this.Register())
@ -47,7 +48,7 @@ namespace Sunny.UI
SetStyle(UIStyles.Style);
}
base.SetStyle(
SetStyle(
ControlStyles.UserPaint |
ControlStyles.DoubleBuffer |
ControlStyles.OptimizedDoubleBuffer |