diff --git a/src/PBAnaly/MainForm.Designer.cs b/src/PBAnaly/MainForm.Designer.cs index f4289fc..a00dae7 100644 --- a/src/PBAnaly/MainForm.Designer.cs +++ b/src/PBAnaly/MainForm.Designer.cs @@ -659,7 +659,7 @@ this.thunderLabel1.Name = "thunderLabel1"; this.thunderLabel1.Size = new System.Drawing.Size(200, 16); this.thunderLabel1.TabIndex = 19; - this.thunderLabel1.Text = "PBAnaly v0.1.7rc3"; + this.thunderLabel1.Text = "PBAnaly v0.1.7rc4"; // // MainForm // diff --git a/src/PBAnaly/Module/BioanalysisMannage.cs b/src/PBAnaly/Module/BioanalysisMannage.cs index 408ac9c..1572b6f 100644 --- a/src/PBAnaly/Module/BioanalysisMannage.cs +++ b/src/PBAnaly/Module/BioanalysisMannage.cs @@ -784,8 +784,20 @@ namespace PBAnaly.Module { imagePaletteForm.cb_scientific.Checked = imagePanel.cb_scientific.Checked; } - ScientificON = imagePanel.cb_scientific.Checked; - imagePaletteForm.RefreshscientificON(ScientificON); + if (Arrangement == 2) + { + 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) { diff --git a/src/PBAnaly/UI/BioanayImagePaletteForm.cs b/src/PBAnaly/UI/BioanayImagePaletteForm.cs index ab2c862..0f92401 100644 --- a/src/PBAnaly/UI/BioanayImagePaletteForm.cs +++ b/src/PBAnaly/UI/BioanayImagePaletteForm.cs @@ -62,6 +62,7 @@ namespace PBAnaly.UI pl_max.Controls.Clear(); pl_min.Controls.Clear(); + if (tb_max == null) return; tb_max.Dispose(); tb_min.Dispose(); tb_max = null;