修复多张合并时 光子量不能正确被全部设置

v0.1.7rc4
This commit is contained in:
moco 2024-12-13 00:34:52 +08:00
parent 2325634e68
commit 2600b87246
3 changed files with 16 additions and 3 deletions

View File

@ -659,7 +659,7 @@
this.thunderLabel1.Name = "thunderLabel1"; this.thunderLabel1.Name = "thunderLabel1";
this.thunderLabel1.Size = new System.Drawing.Size(200, 16); this.thunderLabel1.Size = new System.Drawing.Size(200, 16);
this.thunderLabel1.TabIndex = 19; this.thunderLabel1.TabIndex = 19;
this.thunderLabel1.Text = "PBAnaly v0.1.7rc3"; this.thunderLabel1.Text = "PBAnaly v0.1.7rc4";
// //
// MainForm // MainForm
// //

View File

@ -784,8 +784,20 @@ namespace PBAnaly.Module
{ {
imagePaletteForm.cb_scientific.Checked = imagePanel.cb_scientific.Checked; imagePaletteForm.cb_scientific.Checked = imagePanel.cb_scientific.Checked;
} }
ScientificON = imagePanel.cb_scientific.Checked; if (Arrangement == 2)
imagePaletteForm.RefreshscientificON(ScientificON); {
foreach (var item in bioanalysisMannages)
{
item.Value.ScientificON = imagePanel.cb_scientific.Checked;
item.Value.imagePaletteForm.RefreshscientificON(ScientificON);
}
}
else
{
ScientificON = imagePanel.cb_scientific.Checked;
imagePaletteForm.RefreshscientificON(ScientificON);
}
} }
private void Cb_imagepalette_scientific_CheckedChanged(object sender, AntdUI.BoolEventArgs e) private void Cb_imagepalette_scientific_CheckedChanged(object sender, AntdUI.BoolEventArgs e)
{ {

View File

@ -62,6 +62,7 @@ namespace PBAnaly.UI
pl_max.Controls.Clear(); pl_max.Controls.Clear();
pl_min.Controls.Clear(); pl_min.Controls.Clear();
if (tb_max == null) return;
tb_max.Dispose(); tb_max.Dispose();
tb_min.Dispose(); tb_min.Dispose();
tb_max = null; tb_max = null;