取消最小化
This commit is contained in:
parent
5432e2abea
commit
b02adc4c3f
@ -189,7 +189,11 @@ namespace PBAnaly
|
|||||||
|
|
||||||
private void MainForm_SizeChanged(object sender, EventArgs e)
|
private void MainForm_SizeChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
//刷新
|
||||||
|
foreach (var item in bioanalysisMannages)
|
||||||
|
{
|
||||||
|
item.Value.GetImagePanel.CenterPictureBox();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void materialButton_LoadData_Click(object sender, EventArgs e)
|
private void materialButton_LoadData_Click(object sender, EventArgs e)
|
||||||
|
@ -265,8 +265,8 @@ namespace PBAnaly.UI
|
|||||||
int h = (int)(pl_bg_panel.Height * factor);
|
int h = (int)(pl_bg_panel.Height * factor);
|
||||||
if (w < pl_panel_image.Width - 50 || h < pl_panel_image.Height - 50)
|
if (w < pl_panel_image.Width - 50 || h < pl_panel_image.Height - 50)
|
||||||
{
|
{
|
||||||
w = pl_panel_image.Width - 50;
|
w = pl_panel_image.Width ;
|
||||||
h = pl_panel_image.Height - 50;
|
h = pl_panel_image.Height ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (w > pl_panel_image.Width * 5 || h > pl_panel_image.Height * 5)
|
if (w > pl_panel_image.Width * 5 || h > pl_panel_image.Height * 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user