Explorar o código

修改显示错误

cxs %!s(int64=2) %!d(string=hai) anos
pai
achega
fa7e7c8578
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      OTSPartA_STDEditor/Attributes.cs

+ 1 - 1
OTSPartA_STDEditor/Attributes.cs

@@ -209,7 +209,7 @@ namespace OTSPartA_STDEditor
             SourceGrid.Cells.Views.Cell view = new SourceGrid.Cells.Views.Cell();
             view.BackColor = colorHx16toRGB(m_MainForm.STDDictionary[STDId].Color);
             Grid_Attributes[3, 1].View = view;
-            Grid_Attributes[4, 1].Value = true;
+            Grid_Attributes[4, 1].Value = Convert.ToBoolean(m_MainForm.STDDictionary[STDId].IfElementAnalysis);
             Grid_Attributes[5, 1].Value = m_MainForm.STDDictionary[STDId].Hardness;
             Grid_Attributes[6, 1].Value = m_MainForm.STDDictionary[STDId].Density;
             Grid_Attributes[7, 1].Value = m_MainForm.STDDictionary[STDId].Electrical_conductivity;