소스 검색

OTSPartA_STDEditor类图

cxs 1 년 전
부모
커밋
776d1330d9

+ 462 - 0
OTSPartA_STDEditor/ClassDiagram.cd

@@ -0,0 +1,462 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ClassDiagram MajorVersion="1" MinorVersion="1">
+  <Class Name="OTSPartA_STDEditor.Language">
+    <Position X="17.75" Y="11.25" Width="2.25" />
+    <TypeIdentifier>
+      <HashCode>AAAAAAAAAAAAAAAAAAAAAAABAAAAAAAABAACAAgBAAA=</HashCode>
+      <FileName>BaseClass\Language.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.SqlLiteClass" Collapsed="true">
+    <Position X="17.75" Y="9.5" Width="2" />
+    <TypeIdentifier>
+      <HashCode>AAEBAAEAAAAAgYAAAAAAAAAsAAAAAKASAACAABAAgAA=</HashCode>
+      <FileName>BaseClass\SqlLiteClass.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.STDdata" Collapsed="true">
+    <Position X="17.5" Y="3" Width="2" />
+    <TypeIdentifier>
+      <HashCode>CEABAAgEAQAAADAChShAAACBICDAJgAQRQAAkAEAMBA=</HashCode>
+      <FileName>BaseClass\STDdata.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.STDGroups">
+    <Position X="17.75" Y="14.25" Width="2.25" />
+    <TypeIdentifier>
+      <HashCode>AAAAAAAAAAEEAAACAAAAAAAAAAAEAECAAAAAAAAACBQ=</HashCode>
+      <FileName>BaseClass\STDGroups.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Attributes">
+    <Position X="5.25" Y="7.25" Width="2.5" />
+    <Members>
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <NestedTypes>
+      <Class Name="OTSPartA_STDEditor.Attributes.MyHeader" Collapsed="true">
+        <TypeIdentifier>
+          <NewMemberFileName>UI\Attributes.cs</NewMemberFileName>
+        </TypeIdentifier>
+      </Class>
+    </NestedTypes>
+    <AssociationLine Name="m_MainForm" Type="OTSPartA_STDEditor.Form_Main" FixedFromPoint="true">
+      <Path>
+        <Point X="5.25" Y="7.625" />
+        <Point X="3.5" Y="7.625" />
+      </Path>
+      <MemberNameLabel ManuallyPlaced="true">
+        <Position X="0.11" Y="0.094" />
+      </MemberNameLabel>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>AAAAAAAARCAAAAAAgACgABACAAAAAAQAAABAAAAAAQA=</HashCode>
+      <FileName>UI\Attributes.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_MainForm" />
+    </ShowAsAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Form_GroupId">
+    <Position X="7.5" Y="12" Width="3" />
+    <Members>
+      <Field Name="button_Cancel" Hidden="true" />
+      <Field Name="button_down" Hidden="true" />
+      <Field Name="button_OK" Hidden="true" />
+      <Field Name="button_up" Hidden="true" />
+      <Field Name="components" Hidden="true" />
+      <Field Name="contextMenuStrip_GroupId" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Field Name="Grid_FroupId" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <NestedTypes>
+      <Enum Name="OTSPartA_STDEditor.Form_GroupId.DBInfoState" Collapsed="true">
+        <TypeIdentifier>
+          <NewMemberFileName>UI\Form_GroupId.cs</NewMemberFileName>
+        </TypeIdentifier>
+      </Enum>
+    </NestedTypes>
+    <AssociationLine Name="m_MainForm" Type="OTSPartA_STDEditor.Form_Main" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="7.5" Y="12.33" />
+        <Point X="1.438" Y="12.33" />
+        <Point X="1.438" Y="8.664" />
+      </Path>
+    </AssociationLine>
+    <AssociationLine Name="lan" Type="OTSPartA_STDEditor.Language" FixedToPoint="true">
+      <Path>
+        <Point X="10.5" Y="12.438" />
+        <Point X="17.75" Y="12.438" />
+      </Path>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>AQIgKgAABCAEAUgAAJSgVYACBAJABEAAABAAAAAAABE=</HashCode>
+      <FileName>UI\Form_GroupId.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_MainForm" />
+      <Field Name="lan" />
+    </ShowAsAssociation>
+    <ShowAsCollectionAssociation>
+      <Field Name="MineralGroupDictionary" />
+    </ShowAsCollectionAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Form_Main">
+    <Position X="0.5" Y="0.5" Width="3" />
+    <Members>
+      <Method Name="Clone" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="Form_Main" Hidden="true" />
+      <Method Name="InitForms" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <AssociationLine Name="m_Attributes" Type="OTSPartA_STDEditor.Attributes" FixedToPoint="true">
+      <Path>
+        <Point X="3.5" Y="8.125" />
+        <Point X="5.25" Y="8.125" />
+      </Path>
+    </AssociationLine>
+    <AssociationLine Name="m_STDRuleslist" Type="OTSPartA_STDEditor.STDRuleslist" FixedFromPoint="true">
+      <Path>
+        <Point X="3.5" Y="5.125" />
+        <Point X="5.25" Y="5.125" />
+      </Path>
+    </AssociationLine>
+    <AssociationLine Name="lan" Type="OTSPartA_STDEditor.Language" ManuallyRouted="true" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="1.75" Y="8.664" />
+        <Point X="1.75" Y="11.438" />
+        <Point X="17.75" Y="11.438" />
+      </Path>
+    </AssociationLine>
+    <AssociationLine Name="STDDictionaryInitial" Type="OTSPartA_STDEditor.STDdata" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="2" Y="0.5" />
+        <Point X="2" Y="0.125" />
+        <Point X="18.583" Y="0.125" />
+        <Point X="18.583" Y="3" />
+      </Path>
+      <MemberNameLabel ManuallyPlaced="true">
+        <Position X="0.065" Y="0.823" />
+      </MemberNameLabel>
+    </AssociationLine>
+    <AssociationLine Name="STDDictionary" Type="OTSPartA_STDEditor.STDdata" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="2.25" Y="0.5" />
+        <Point X="2.25" Y="0.125" />
+        <Point X="17.875" Y="0.125" />
+        <Point X="17.875" Y="3" />
+      </Path>
+      <MemberNameLabel ManuallyPlaced="true">
+        <Position X="0.054" Y="1.832" />
+      </MemberNameLabel>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>JaIgYCaKQKzgjANN4RCECJjnQD1GALEEkAEggQQ4gDA=</HashCode>
+      <FileName>UI\Form_Main.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_Attributes" />
+      <Field Name="m_STDRuleslist" />
+      <Field Name="m_SubMidWindow" />
+      <Field Name="lan" />
+    </ShowAsAssociation>
+    <ShowAsCollectionAssociation>
+      <Field Name="STDDictionaryInitial" />
+      <Field Name="STDDictionary" />
+    </ShowAsCollectionAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Form_MaxEDSRules">
+    <Position X="0.75" Y="22.75" Width="3.5" />
+    <Members>
+      <Method Name="button_0_Click" Hidden="true" />
+      <Method Name="button_1_Click" Hidden="true" />
+      <Method Name="button_2_Click" Hidden="true" />
+      <Method Name="button_3_Click" Hidden="true" />
+      <Method Name="button_4_Click" Hidden="true" />
+      <Method Name="button_5_Click" Hidden="true" />
+      <Method Name="button_6_Click" Hidden="true" />
+      <Method Name="button_7_Click" Hidden="true" />
+      <Method Name="button_8_Click" Hidden="true" />
+      <Method Name="button_9_Click" Hidden="true" />
+      <Method Name="button_And_Click" Hidden="true" />
+      <Method Name="button_Cancel_Click" Hidden="true" />
+      <Method Name="button_Divide_Click" Hidden="true" />
+      <Method Name="button_Equal_Click" Hidden="true" />
+      <Method Name="button_LeftParenthesis_Click" Hidden="true" />
+      <Method Name="button_Less_Click" Hidden="true" />
+      <Method Name="button_More_Click" Hidden="true" />
+      <Method Name="button_Multiply_Click" Hidden="true" />
+      <Method Name="button_Ok_Click" Hidden="true" />
+      <Method Name="button_Or_Click" Hidden="true" />
+      <Method Name="button_Plus_Click" Hidden="true" />
+      <Method Name="button_Recover_Click" Hidden="true" />
+      <Method Name="button_RightParenthesis_Click" Hidden="true" />
+      <Method Name="button_Subtract_Click" Hidden="true" />
+      <Method Name="comboBox_Constants_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem1_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem2_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_ImgProperty_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_KeyDown" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_SelectedIndexChanged" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="groupBox_CalculatingSymbols_Click" Hidden="true" />
+      <Method Name="groupBox_ChemicalElement_Click" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <TypeIdentifier>
+      <HashCode>QKgsKgIUCWIA1Rh2JYTUUA4SFAAAJdjbhTIASQ9VRgA=</HashCode>
+      <FileName>UI\Form_MaxEDSRules.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Form_UserConstants">
+    <Position X="0.75" Y="28.75" Width="3.5" />
+    <Members>
+      <Method Name="checkBox_0_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_1_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_2_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_3_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_4_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_5_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_6_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_7_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_8_CheckedChanged" Hidden="true" />
+      <Method Name="checkBox_9_CheckedChanged" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <TypeIdentifier>
+      <HashCode>QAAAICAAACAAQQhAgACBAAQGAAACAgAAlKAAACj4hwE=</HashCode>
+      <FileName>UI\Form_UserConstants.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.Form_ZeroElementRules">
+    <Position X="0.75" Y="17.75" Width="3.5" />
+    <Members>
+      <Method Name="button_0_Click" Hidden="true" />
+      <Method Name="button_1_Click" Hidden="true" />
+      <Method Name="button_2_Click" Hidden="true" />
+      <Method Name="button_3_Click" Hidden="true" />
+      <Method Name="button_4_Click" Hidden="true" />
+      <Method Name="button_5_Click" Hidden="true" />
+      <Method Name="button_6_Click" Hidden="true" />
+      <Method Name="button_7_Click" Hidden="true" />
+      <Method Name="button_8_Click" Hidden="true" />
+      <Method Name="button_9_Click" Hidden="true" />
+      <Method Name="button_And_Click" Hidden="true" />
+      <Method Name="button_Cancel_Click" Hidden="true" />
+      <Method Name="button_Divide_Click" Hidden="true" />
+      <Method Name="button_Equal_Click" Hidden="true" />
+      <Method Name="button_LeftParenthesis_Click" Hidden="true" />
+      <Method Name="button_Less_Click" Hidden="true" />
+      <Method Name="button_More_Click" Hidden="true" />
+      <Method Name="button_Multiply_Click" Hidden="true" />
+      <Method Name="button_Ok_Click" Hidden="true" />
+      <Method Name="button_Or_Click" Hidden="true" />
+      <Method Name="button_Plus_Click" Hidden="true" />
+      <Method Name="button_Recover_Click" Hidden="true" />
+      <Method Name="button_RightParenthesis_Click" Hidden="true" />
+      <Method Name="button_Subtract_Click" Hidden="true" />
+      <Method Name="comboBox_Constants_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem1_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem2_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_ImgProperty_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_KeyDown" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_SelectedIndexChanged" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="Form_ZeroElementRules_Resize" Hidden="true" />
+      <Method Name="groupBox_CalculatingSymbols_Click" Hidden="true" />
+      <Method Name="groupBox_ChemicalElement_Click" Hidden="true" />
+      <Method Name="groupBox_Data_Click" Hidden="true" />
+      <Method Name="groupBox_OtherCommonlyUsedSymbols_Click" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+      <Method Name="PeriodicTableSwitch_Click" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <TypeIdentifier>
+      <HashCode>QKgsKgIUHWAA1RhkJYTUUA4SFAAwJ9iLhTIASA1VZhA=</HashCode>
+      <FileName>UI\Form_ZeroElementRules.cs</FileName>
+    </TypeIdentifier>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.ReferenceLibrary">
+    <Position X="12.5" Y="0.5" Width="3.25" />
+    <Members>
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <AssociationLine Name="m_SubMidWindow" Type="OTSPartA_STDEditor.SubMidWindow" FixedToPoint="true">
+      <Path>
+        <Point X="12.5" Y="1.14" />
+        <Point X="10.75" Y="1.14" />
+      </Path>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>IBBgAg2AASAAAAAEAgCpAAACAYABgAEAIAECBIAIAAQ=</HashCode>
+      <FileName>UI\ReferenceLibrary.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_SubMidWindow" />
+    </ShowAsAssociation>
+    <ShowAsCollectionAssociation>
+      <Field Name="ReferenceDictionary" />
+    </ShowAsCollectionAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.STDEditor">
+    <Position X="12.5" Y="5" Width="3.25" />
+    <Members>
+      <Method Name="button_0_Click" Hidden="true" />
+      <Method Name="button_1_Click" Hidden="true" />
+      <Method Name="button_2_Click" Hidden="true" />
+      <Method Name="button_3_Click" Hidden="true" />
+      <Method Name="button_4_Click" Hidden="true" />
+      <Method Name="button_5_Click" Hidden="true" />
+      <Method Name="button_6_Click" Hidden="true" />
+      <Method Name="button_7_Click" Hidden="true" />
+      <Method Name="button_8_Click" Hidden="true" />
+      <Method Name="button_9_Click" Hidden="true" />
+      <Method Name="button_And_Click" Hidden="true" />
+      <Method Name="button_del_Click" Hidden="true" />
+      <Method Name="button_Divide_Click" Hidden="true" />
+      <Method Name="button_Equal_Click" Hidden="true" />
+      <Method Name="button_LeftParenthesis_Click" Hidden="true" />
+      <Method Name="button_Less_Click" Hidden="true" />
+      <Method Name="button_More_Click" Hidden="true" />
+      <Method Name="button_Multiply_Click" Hidden="true" />
+      <Method Name="button_Or_Click" Hidden="true" />
+      <Method Name="button_PeriodicTableSwitch_Click" Hidden="true" />
+      <Method Name="button_Plus_Click" Hidden="true" />
+      <Method Name="button_RightParenthesis_Click" Hidden="true" />
+      <Method Name="button_Subtract_Click" Hidden="true" />
+      <Method Name="comboBox_Constants_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem1_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_Elem2_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_ImgProperty_SelectedIndexChanged" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_KeyDown" Hidden="true" />
+      <Method Name="comboBox_PeriodicTable_SelectedIndexChanged" Hidden="true" />
+      <Method Name="dataGridView_KeyElements_CellClick" Hidden="true" />
+      <Method Name="dataGridView_SubElements_CellClick" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+      <Method Name="STDEditor" Hidden="true" />
+      <Method Name="textBox_KeyPress" Hidden="true" />
+    </Members>
+    <Compartments>
+      <Compartment Name="Fields" Collapsed="true" />
+    </Compartments>
+    <NestedTypes>
+      <Enum Name="OTSPartA_STDEditor.STDEditor.Result" Collapsed="true">
+        <TypeIdentifier>
+          <NewMemberFileName>UI\STDEditor.cs</NewMemberFileName>
+        </TypeIdentifier>
+      </Enum>
+    </NestedTypes>
+    <AssociationLine Name="m_SubMidWindow" Type="OTSPartA_STDEditor.SubMidWindow" ManuallyRouted="true" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="12.5" Y="6.063" />
+        <Point X="9.812" Y="6.063" />
+        <Point X="9.812" Y="2.754" />
+      </Path>
+      <MemberNameLabel ManuallyPlaced="true">
+        <Position X="-0.484" Y="0.127" />
+      </MemberNameLabel>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>AGgLKkYVCSAI1UgkJYSUUMTTEAABIcgLlTNIQAV9ZgA=</HashCode>
+      <FileName>UI\STDEditor.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_SubMidWindow" />
+      <Field Name="m_sc" />
+    </ShowAsAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.STDRuleslist">
+    <Position X="5.25" Y="3" Width="2.5" />
+    <Members>
+      <Field Name="button_DownOrder" Hidden="true" />
+      <Field Name="button_UpOrder" Hidden="true" />
+      <Field Name="components" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Field Name="Grid_Minerals" Hidden="true" />
+      <Method Name="Grid_Minerals_VScrollPositionChanged" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+      <Field Name="m_ValueChangedEvent" Hidden="true" />
+      <Field Name="MenuStrip_STDRulelist" Hidden="true" />
+      <Method Name="MenuStrip_STDRulelist_Resize" Hidden="true" />
+      <Field Name="PreRow" Hidden="true" />
+      <Field Name="table_STDRuleslist" Hidden="true" />
+      <Field Name="ToolStripMenuItem_Del" Hidden="true" />
+      <Field Name="ToolStripMenuItem_New" Hidden="true" />
+    </Members>
+    <NestedTypes>
+      <Class Name="OTSPartA_STDEditor.STDRuleslist.ValueChangedEvent" Collapsed="true">
+        <TypeIdentifier>
+          <NewMemberFileName>UI\STDRuleslist.cs</NewMemberFileName>
+        </TypeIdentifier>
+      </Class>
+    </NestedTypes>
+    <AssociationLine Name="m_MainForm" Type="OTSPartA_STDEditor.Form_Main" FixedToPoint="true">
+      <Path>
+        <Point X="5.25" Y="4.125" />
+        <Point X="3.5" Y="4.125" />
+      </Path>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>wxChAAAABCAAAAECAMCAAABCAAAEQUAAAABAgRCAEAQ=</HashCode>
+      <FileName>UI\STDRuleslist.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_MainForm" />
+    </ShowAsAssociation>
+  </Class>
+  <Class Name="OTSPartA_STDEditor.SubMidWindow">
+    <Position X="8.25" Y="1" Width="2.5" />
+    <Members>
+      <Field Name="components" Hidden="true" />
+      <Method Name="Dispose" Hidden="true" />
+      <Field Name="dockPanel1" Hidden="true" />
+      <Method Name="InitializeComponent" Hidden="true" />
+    </Members>
+    <AssociationLine Name="m_STDEditor" Type="OTSPartA_STDEditor.STDEditor" FixedFromPoint="true" FixedToPoint="true">
+      <Path>
+        <Point X="8.875" Y="2.754" />
+        <Point X="8.875" Y="6.772" />
+        <Point X="12.5" Y="6.772" />
+      </Path>
+    </AssociationLine>
+    <AssociationLine Name="m_ComparativeLibrary" Type="OTSPartA_STDEditor.ReferenceLibrary" FixedFromPoint="true">
+      <Path>
+        <Point X="10.75" Y="1.489" />
+        <Point X="12.5" Y="1.489" />
+      </Path>
+    </AssociationLine>
+    <TypeIdentifier>
+      <HashCode>gAAAAAAABCAAAAABAACAAAACAAAAAgEAAAAAAAAAAEA=</HashCode>
+      <FileName>UI\SubMidWindow.cs</FileName>
+    </TypeIdentifier>
+    <ShowAsAssociation>
+      <Field Name="m_STDEditor" />
+      <Field Name="m_ComparativeLibrary" />
+      <Field Name="m_MainForm" />
+    </ShowAsAssociation>
+  </Class>
+  <Font Name="Microsoft YaHei UI" Size="9" />
+</ClassDiagram>

+ 1 - 19
OTSPartA_STDEditor/OTSPartA_STDEditor.csproj

@@ -203,18 +203,6 @@
     <Reference Include="WindowsBase" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="UI\ConstantsEditor.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="UI\ConstantsEditor.Designer.cs">
-      <DependentUpon>ConstantsEditor.cs</DependentUpon>
-    </Compile>
-    <Compile Include="UI\NonLogicalUI\ProcessBar.cs">
-      <SubType>Form</SubType>
-    </Compile>
-    <Compile Include="UI\NonLogicalUI\ProcessBar.Designer.cs">
-      <DependentUpon>ProcessBar.cs</DependentUpon>
-    </Compile>
     <Compile Include="UI\Attributes.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -284,7 +272,6 @@
       <DependentUpon>Form_Main.cs</DependentUpon>
     </Compile>
     <Compile Include="BaseClass\Language.cs" />
-    <Compile Include="BaseClass\OTSDockWindow\OTSDockWindow.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="UI\STDEditor.cs">
@@ -305,12 +292,6 @@
     <Compile Include="UI\SubMidWindow.Designer.cs">
       <DependentUpon>SubMidWindow.cs</DependentUpon>
     </Compile>
-    <EmbeddedResource Include="UI\ConstantsEditor.resx">
-      <DependentUpon>ConstantsEditor.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="UI\NonLogicalUI\ProcessBar.resx">
-      <DependentUpon>ProcessBar.cs</DependentUpon>
-    </EmbeddedResource>
     <EmbeddedResource Include="UI\Attributes.resx">
       <DependentUpon>Attributes.cs</DependentUpon>
     </EmbeddedResource>
@@ -355,6 +336,7 @@
     <EmbeddedResource Include="UI\SubMidWindow.resx">
       <DependentUpon>SubMidWindow.cs</DependentUpon>
     </EmbeddedResource>
+    <None Include="ClassDiagram1.cd" />
     <None Include="Properties\Settings.settings">
       <Generator>SettingsSingleFileGenerator</Generator>
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>

+ 0 - 366
OTSPartA_STDEditor/UI/ConstantsEditor.Designer.cs

@@ -1,366 +0,0 @@
-namespace OTSPartA_STDEditor
-{
-    partial class ConstantsEditor
-    {
-        /// <summary>
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows Form Designer generated code
-
-        /// <summary>
-        /// Required method for Designer support - do not modify
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            this.button_Cancel = new System.Windows.Forms.Button();
-            this.button_OK = new System.Windows.Forms.Button();
-            this.groupBox1 = new System.Windows.Forms.GroupBox();
-            this.label2 = new System.Windows.Forms.Label();
-            this.label1 = new System.Windows.Forms.Label();
-            this.textBox_9 = new System.Windows.Forms.TextBox();
-            this.checkBox_9 = new System.Windows.Forms.CheckBox();
-            this.textBox_8 = new System.Windows.Forms.TextBox();
-            this.checkBox_8 = new System.Windows.Forms.CheckBox();
-            this.textBox_7 = new System.Windows.Forms.TextBox();
-            this.checkBox_7 = new System.Windows.Forms.CheckBox();
-            this.textBox_6 = new System.Windows.Forms.TextBox();
-            this.checkBox_6 = new System.Windows.Forms.CheckBox();
-            this.textBox_5 = new System.Windows.Forms.TextBox();
-            this.checkBox_5 = new System.Windows.Forms.CheckBox();
-            this.textBox_4 = new System.Windows.Forms.TextBox();
-            this.checkBox_4 = new System.Windows.Forms.CheckBox();
-            this.textBox_3 = new System.Windows.Forms.TextBox();
-            this.checkBox_3 = new System.Windows.Forms.CheckBox();
-            this.textBox_2 = new System.Windows.Forms.TextBox();
-            this.checkBox_2 = new System.Windows.Forms.CheckBox();
-            this.textBox_1 = new System.Windows.Forms.TextBox();
-            this.checkBox_1 = new System.Windows.Forms.CheckBox();
-            this.textBox_0 = new System.Windows.Forms.TextBox();
-            this.checkBox_0 = new System.Windows.Forms.CheckBox();
-            this.groupBox1.SuspendLayout();
-            this.SuspendLayout();
-            // 
-            // button_Cancel
-            // 
-            this.button_Cancel.Location = new System.Drawing.Point(120, 539);
-            this.button_Cancel.Name = "button_Cancel";
-            this.button_Cancel.Size = new System.Drawing.Size(75, 31);
-            this.button_Cancel.TabIndex = 21;
-            this.button_Cancel.Text = "取消";
-            this.button_Cancel.UseVisualStyleBackColor = true;
-            this.button_Cancel.Click += new System.EventHandler(this.button_Cancel_Click);
-            // 
-            // button_OK
-            // 
-            this.button_OK.Location = new System.Drawing.Point(39, 539);
-            this.button_OK.Name = "button_OK";
-            this.button_OK.Size = new System.Drawing.Size(75, 31);
-            this.button_OK.TabIndex = 20;
-            this.button_OK.Text = "确定";
-            this.button_OK.UseVisualStyleBackColor = true;
-            this.button_OK.Click += new System.EventHandler(this.button_OK_Click);
-            // 
-            // groupBox1
-            // 
-            this.groupBox1.Controls.Add(this.label2);
-            this.groupBox1.Controls.Add(this.label1);
-            this.groupBox1.Controls.Add(this.textBox_9);
-            this.groupBox1.Controls.Add(this.checkBox_9);
-            this.groupBox1.Controls.Add(this.textBox_8);
-            this.groupBox1.Controls.Add(this.checkBox_8);
-            this.groupBox1.Controls.Add(this.textBox_7);
-            this.groupBox1.Controls.Add(this.checkBox_7);
-            this.groupBox1.Controls.Add(this.textBox_6);
-            this.groupBox1.Controls.Add(this.checkBox_6);
-            this.groupBox1.Controls.Add(this.textBox_5);
-            this.groupBox1.Controls.Add(this.checkBox_5);
-            this.groupBox1.Controls.Add(this.textBox_4);
-            this.groupBox1.Controls.Add(this.checkBox_4);
-            this.groupBox1.Controls.Add(this.textBox_3);
-            this.groupBox1.Controls.Add(this.checkBox_3);
-            this.groupBox1.Controls.Add(this.textBox_2);
-            this.groupBox1.Controls.Add(this.checkBox_2);
-            this.groupBox1.Controls.Add(this.textBox_1);
-            this.groupBox1.Controls.Add(this.checkBox_1);
-            this.groupBox1.Controls.Add(this.textBox_0);
-            this.groupBox1.Controls.Add(this.checkBox_0);
-            this.groupBox1.Location = new System.Drawing.Point(12, 12);
-            this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(181, 519);
-            this.groupBox1.TabIndex = 6;
-            this.groupBox1.TabStop = false;
-            this.groupBox1.Text = "常量编辑:";
-            // 
-            // label2
-            // 
-            this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(115, 23);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(17, 12);
-            this.label2.TabIndex = 22;
-            this.label2.Text = "值";
-            // 
-            // label1
-            // 
-            this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(16, 25);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(53, 12);
-            this.label1.TabIndex = 21;
-            this.label1.Text = "常量符号";
-            // 
-            // textBox_9
-            // 
-            this.textBox_9.Location = new System.Drawing.Point(82, 477);
-            this.textBox_9.Name = "textBox_9";
-            this.textBox_9.Size = new System.Drawing.Size(82, 21);
-            this.textBox_9.TabIndex = 20;
-            this.textBox_9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_9
-            // 
-            this.checkBox_9.AutoSize = true;
-            this.checkBox_9.Location = new System.Drawing.Point(18, 479);
-            this.checkBox_9.Name = "checkBox_9";
-            this.checkBox_9.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_9.TabIndex = 19;
-            this.checkBox_9.Text = "MAC#9";
-            this.checkBox_9.UseVisualStyleBackColor = true;
-            this.checkBox_9.CheckedChanged += new System.EventHandler(this.checkBox_9_CheckedChanged);
-            // 
-            // textBox_8
-            // 
-            this.textBox_8.Location = new System.Drawing.Point(82, 427);
-            this.textBox_8.Name = "textBox_8";
-            this.textBox_8.Size = new System.Drawing.Size(82, 21);
-            this.textBox_8.TabIndex = 18;
-            this.textBox_8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_8
-            // 
-            this.checkBox_8.AutoSize = true;
-            this.checkBox_8.Location = new System.Drawing.Point(18, 429);
-            this.checkBox_8.Name = "checkBox_8";
-            this.checkBox_8.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_8.TabIndex = 17;
-            this.checkBox_8.Text = "MAC#8";
-            this.checkBox_8.UseVisualStyleBackColor = true;
-            this.checkBox_8.CheckedChanged += new System.EventHandler(this.checkBox_8_CheckedChanged);
-            // 
-            // textBox_7
-            // 
-            this.textBox_7.Location = new System.Drawing.Point(82, 381);
-            this.textBox_7.Name = "textBox_7";
-            this.textBox_7.Size = new System.Drawing.Size(82, 21);
-            this.textBox_7.TabIndex = 16;
-            this.textBox_7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_7
-            // 
-            this.checkBox_7.AutoSize = true;
-            this.checkBox_7.Location = new System.Drawing.Point(18, 383);
-            this.checkBox_7.Name = "checkBox_7";
-            this.checkBox_7.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_7.TabIndex = 15;
-            this.checkBox_7.Text = "MAC#7";
-            this.checkBox_7.UseVisualStyleBackColor = true;
-            this.checkBox_7.CheckedChanged += new System.EventHandler(this.checkBox_7_CheckedChanged);
-            // 
-            // textBox_6
-            // 
-            this.textBox_6.Location = new System.Drawing.Point(82, 332);
-            this.textBox_6.Name = "textBox_6";
-            this.textBox_6.Size = new System.Drawing.Size(82, 21);
-            this.textBox_6.TabIndex = 14;
-            this.textBox_6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_6
-            // 
-            this.checkBox_6.AutoSize = true;
-            this.checkBox_6.Location = new System.Drawing.Point(18, 334);
-            this.checkBox_6.Name = "checkBox_6";
-            this.checkBox_6.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_6.TabIndex = 13;
-            this.checkBox_6.Text = "MAC#6";
-            this.checkBox_6.UseVisualStyleBackColor = true;
-            this.checkBox_6.CheckedChanged += new System.EventHandler(this.checkBox_6_CheckedChanged);
-            // 
-            // textBox_5
-            // 
-            this.textBox_5.Location = new System.Drawing.Point(82, 282);
-            this.textBox_5.Name = "textBox_5";
-            this.textBox_5.Size = new System.Drawing.Size(82, 21);
-            this.textBox_5.TabIndex = 12;
-            this.textBox_5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_5
-            // 
-            this.checkBox_5.AutoSize = true;
-            this.checkBox_5.Location = new System.Drawing.Point(18, 284);
-            this.checkBox_5.Name = "checkBox_5";
-            this.checkBox_5.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_5.TabIndex = 11;
-            this.checkBox_5.Text = "MAC#5";
-            this.checkBox_5.UseVisualStyleBackColor = true;
-            this.checkBox_5.CheckedChanged += new System.EventHandler(this.checkBox_5_CheckedChanged);
-            // 
-            // textBox_4
-            // 
-            this.textBox_4.Location = new System.Drawing.Point(82, 235);
-            this.textBox_4.Name = "textBox_4";
-            this.textBox_4.Size = new System.Drawing.Size(82, 21);
-            this.textBox_4.TabIndex = 10;
-            this.textBox_4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_4
-            // 
-            this.checkBox_4.AutoSize = true;
-            this.checkBox_4.Location = new System.Drawing.Point(18, 237);
-            this.checkBox_4.Name = "checkBox_4";
-            this.checkBox_4.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_4.TabIndex = 9;
-            this.checkBox_4.Text = "MAC#4";
-            this.checkBox_4.UseVisualStyleBackColor = true;
-            this.checkBox_4.CheckedChanged += new System.EventHandler(this.checkBox_4_CheckedChanged);
-            // 
-            // textBox_3
-            // 
-            this.textBox_3.Location = new System.Drawing.Point(82, 188);
-            this.textBox_3.Name = "textBox_3";
-            this.textBox_3.Size = new System.Drawing.Size(82, 21);
-            this.textBox_3.TabIndex = 8;
-            this.textBox_3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_3
-            // 
-            this.checkBox_3.AutoSize = true;
-            this.checkBox_3.Location = new System.Drawing.Point(18, 190);
-            this.checkBox_3.Name = "checkBox_3";
-            this.checkBox_3.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_3.TabIndex = 7;
-            this.checkBox_3.Text = "MAC#3";
-            this.checkBox_3.UseVisualStyleBackColor = true;
-            this.checkBox_3.CheckedChanged += new System.EventHandler(this.checkBox_3_CheckedChanged);
-            // 
-            // textBox_2
-            // 
-            this.textBox_2.Location = new System.Drawing.Point(82, 141);
-            this.textBox_2.Name = "textBox_2";
-            this.textBox_2.Size = new System.Drawing.Size(82, 21);
-            this.textBox_2.TabIndex = 6;
-            this.textBox_2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_2
-            // 
-            this.checkBox_2.AutoSize = true;
-            this.checkBox_2.Location = new System.Drawing.Point(18, 143);
-            this.checkBox_2.Name = "checkBox_2";
-            this.checkBox_2.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_2.TabIndex = 5;
-            this.checkBox_2.Text = "MAC#2";
-            this.checkBox_2.UseVisualStyleBackColor = true;
-            this.checkBox_2.CheckedChanged += new System.EventHandler(this.checkBox_2_CheckedChanged);
-            // 
-            // textBox_1
-            // 
-            this.textBox_1.Location = new System.Drawing.Point(82, 95);
-            this.textBox_1.Name = "textBox_1";
-            this.textBox_1.Size = new System.Drawing.Size(82, 21);
-            this.textBox_1.TabIndex = 4;
-            this.textBox_1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_1
-            // 
-            this.checkBox_1.AutoSize = true;
-            this.checkBox_1.Location = new System.Drawing.Point(18, 97);
-            this.checkBox_1.Name = "checkBox_1";
-            this.checkBox_1.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_1.TabIndex = 3;
-            this.checkBox_1.Text = "MAC#1";
-            this.checkBox_1.UseVisualStyleBackColor = true;
-            this.checkBox_1.CheckedChanged += new System.EventHandler(this.checkBox_1_CheckedChanged);
-            // 
-            // textBox_0
-            // 
-            this.textBox_0.Location = new System.Drawing.Point(82, 53);
-            this.textBox_0.Name = "textBox_0";
-            this.textBox_0.Size = new System.Drawing.Size(82, 21);
-            this.textBox_0.TabIndex = 2;
-            this.textBox_0.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
-            // 
-            // checkBox_0
-            // 
-            this.checkBox_0.AutoSize = true;
-            this.checkBox_0.Location = new System.Drawing.Point(18, 55);
-            this.checkBox_0.Name = "checkBox_0";
-            this.checkBox_0.Size = new System.Drawing.Size(54, 16);
-            this.checkBox_0.TabIndex = 1;
-            this.checkBox_0.Tag = "";
-            this.checkBox_0.Text = "MAC#0";
-            this.checkBox_0.UseVisualStyleBackColor = true;
-            this.checkBox_0.CheckedChanged += new System.EventHandler(this.checkBox_0_CheckedChanged);
-            // 
-            // ConstantsEditor
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(206, 575);
-            this.Controls.Add(this.button_Cancel);
-            this.Controls.Add(this.button_OK);
-            this.Controls.Add(this.groupBox1);
-            this.MaximizeBox = false;
-            this.Name = "ConstantsEditor";
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "ConstantsEditor";
-            this.Load += new System.EventHandler(this.ConstantsEditor_Load);
-            this.groupBox1.ResumeLayout(false);
-            this.groupBox1.PerformLayout();
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        private System.Windows.Forms.Button button_Cancel;
-        private System.Windows.Forms.Button button_OK;
-        private System.Windows.Forms.GroupBox groupBox1;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label label1;
-        private System.Windows.Forms.TextBox textBox_9;
-        private System.Windows.Forms.CheckBox checkBox_9;
-        private System.Windows.Forms.TextBox textBox_8;
-        private System.Windows.Forms.CheckBox checkBox_8;
-        private System.Windows.Forms.TextBox textBox_7;
-        private System.Windows.Forms.CheckBox checkBox_7;
-        private System.Windows.Forms.TextBox textBox_6;
-        private System.Windows.Forms.CheckBox checkBox_6;
-        private System.Windows.Forms.TextBox textBox_5;
-        private System.Windows.Forms.CheckBox checkBox_5;
-        private System.Windows.Forms.TextBox textBox_4;
-        private System.Windows.Forms.CheckBox checkBox_4;
-        private System.Windows.Forms.TextBox textBox_3;
-        private System.Windows.Forms.CheckBox checkBox_3;
-        private System.Windows.Forms.TextBox textBox_2;
-        private System.Windows.Forms.CheckBox checkBox_2;
-        private System.Windows.Forms.TextBox textBox_1;
-        private System.Windows.Forms.CheckBox checkBox_1;
-        private System.Windows.Forms.TextBox textBox_0;
-        private System.Windows.Forms.CheckBox checkBox_0;
-    }
-}

+ 0 - 297
OTSPartA_STDEditor/UI/ConstantsEditor.cs

@@ -1,297 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-using System.Xml;
-
-namespace OTSPartA_STDEditor
-{
-    public partial class ConstantsEditor : Form
-    {
-        public ConstantsEditor()
-        {
-            InitializeComponent();
-        }
-        void Initialization()
-        {
-            checkBox_0.Checked = false;
-            checkBox_1.Checked = false;
-            checkBox_2.Checked = false;
-            checkBox_3.Checked = false;
-            checkBox_4.Checked = false;
-            checkBox_5.Checked = false;
-            checkBox_6.Checked = false;
-            checkBox_7.Checked = false;
-            checkBox_8.Checked = false;
-            checkBox_9.Checked = false;
-            textBox_0.ReadOnly = true;
-            textBox_1.ReadOnly = true;
-            textBox_2.ReadOnly = true;
-            textBox_3.ReadOnly = true;
-            textBox_4.ReadOnly = true;
-            textBox_5.ReadOnly = true;
-            textBox_6.ReadOnly = true;
-            textBox_7.ReadOnly = true;
-            textBox_8.ReadOnly = true;
-            textBox_9.ReadOnly = true;
-        }
-        private void ConstantsEditor_Load(object sender, EventArgs e)
-        {
-            Initialization();
-
-            XmlDocument doc = new XmlDocument();
-            string Address = "C:\\Users\\someo\\Desktop\\OTSPartA_STDEditor\\OTSPartA_STDEditor\\bin\\Debug\\OTSParticleSTD.xml";
-            doc.Load(Address);
-            XmlNode root = doc.SelectSingleNode("XMLData");
-            XmlNode root2 = root.SelectSingleNode("Member");
-            string ConstantsStr = root2.Attributes["value"].Value;
-            ConstantsStr = ConstantsStr.Replace(" ", "");
-            string[] ConstantsStr2 = ConstantsStr.Split(',');
-            List<string> Constantslist = new List<string>();
-            for (int i = 0; i < ConstantsStr2.Length; i++)
-            {
-                Constantslist.AddRange(ConstantsStr2[i].Split('='));
-            }
-
-            for (int i = 0; i < Constantslist.Count; i += 2)
-            {
-                if (Constantslist[i].Contains("MAC#0"))
-                {
-                    this.checkBox_0.Checked = true;
-                    this.textBox_0.ReadOnly = false;
-                    this.textBox_0.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#1"))
-                {
-                    this.checkBox_1.Checked = true;
-                    this.textBox_1.ReadOnly = false;
-                    this.textBox_1.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#2"))
-                {
-                    this.checkBox_2.Checked = true;
-                    this.textBox_2.ReadOnly = false;
-                    this.textBox_2.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#3"))
-                {
-                    this.checkBox_3.Checked = true;
-                    this.textBox_3.ReadOnly = false;
-                    this.textBox_3.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#4"))
-                {
-                    this.checkBox_4.Checked = true;
-                    this.textBox_4.ReadOnly = false;
-                    this.textBox_4.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#5"))
-                {
-                    this.checkBox_5.Checked = true;
-                    this.textBox_5.ReadOnly = false;
-                    this.textBox_5.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#6"))
-                {
-                    this.checkBox_6.Checked = true;
-                    this.textBox_6.ReadOnly = false;
-                    this.textBox_6.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#7"))
-                {
-                    this.checkBox_7.Checked = true;
-                    this.textBox_7.ReadOnly = false;
-                    this.textBox_7.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#8"))
-                {
-                    this.checkBox_8.Checked = true;
-                    this.textBox_8.ReadOnly = false;
-                    this.textBox_8.Text = Constantslist[i + 1];
-                }
-                else if (Constantslist[i].Contains("MAC#9"))
-                {
-                    this.checkBox_9.Checked = true;
-                    this.textBox_9.ReadOnly = false;
-                    this.textBox_9.Text = Constantslist[i + 1];
-                }
-            }
-
-            //Form1 form1 = (Form1)this.Owner;
-            //this.StartPosition= FormStartPosition.Manual;
-            //this.Location = new Point(form1.Location.X/2, form1.Location.Y/2);
-        }
-
-        private void checkBox_0_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_0.Checked)
-            {
-                textBox_0.ReadOnly = false;
-            }
-            else
-            {
-                textBox_0.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_1_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_1.Checked)
-            {
-                textBox_1.ReadOnly = false;
-            }
-            else
-            {
-                textBox_1.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_2_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_2.Checked)
-            {
-                textBox_2.ReadOnly = false;
-            }
-            else
-            {
-                textBox_2.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_3_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_3.Checked)
-            {
-                textBox_3.ReadOnly = false;
-            }
-            else
-            {
-                textBox_3.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_4_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_4.Checked)
-            {
-                textBox_4.ReadOnly = false;
-            }
-            else
-            {
-                textBox_4.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_5_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_5.Checked)
-            {
-                textBox_5.ReadOnly = false;
-            }
-            else
-            {
-                textBox_5.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_6_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_6.Checked)
-            {
-                textBox_6.ReadOnly = false;
-            }
-            else
-            {
-                textBox_6.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_7_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_7.Checked)
-            {
-                textBox_7.ReadOnly = false;
-            }
-            else
-            {
-                textBox_7.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_8_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_8.Checked)
-            {
-                textBox_8.ReadOnly = false;
-            }
-            else
-            {
-                textBox_8.ReadOnly = true;
-            }
-        }
-
-        private void checkBox_9_CheckedChanged(object sender, EventArgs e)
-        {
-            if (checkBox_9.Checked)
-            {
-                textBox_9.ReadOnly = false;
-            }
-            else
-            {
-                textBox_9.ReadOnly = true;
-            }
-        }
-
-        private void button_OK_Click(object sender, EventArgs e)
-        {
-            string value = "";
-            double DoubleTry = 0;
-
-            foreach (Control control in this.groupBox1.Controls)
-            {
-                if (control is CheckBox)
-                {
-                    CheckBox checkBox = (CheckBox)control;
-                    if (checkBox.Checked)
-                    {
-                        TextBox tBox = (TextBox)this.groupBox1.Controls.Find("textBox_" + checkBox.Name.Remove(0, checkBox.Name.Length - 1), true)[0];
-                        if (double.TryParse(tBox.Text, out DoubleTry))
-                        {
-                            value += checkBox.Text + "=" + tBox.Text + ",";
-                        }
-                        else
-                        {
-                            MessageBox.Show("符号" + checkBox.Name + "所对应值输入错误!", "提示");
-                            return;
-                        }
-                    }
-                }
-            }
-
-            if (value != "")
-            {
-                value = value.Substring(0, value.Length - 1);
-            }
-
-            string Address = "C:\\Users\\someo\\Desktop\\OTSPartA_STDEditor\\OTSPartA_STDEditor\\bin\\Debug\\OTSParticleSTD.xml";
-            XmlDocument doc = new XmlDocument();
-            doc.Load(Address);
-            XmlNode root = (XmlElement)doc.SelectSingleNode("XMLData");
-            XmlElement root2 = (XmlElement)root.SelectSingleNode("Member");
-            root2.SetAttribute("value", value);
-            doc.Save(Address);
-
-            this.Close();
-        }
-
-        private void button_Cancel_Click(object sender, EventArgs e)
-        {
-            this.Close();
-        }
-    }
-}

+ 0 - 120
OTSPartA_STDEditor/UI/ConstantsEditor.resx

@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-</root>

+ 7 - 6
OTSPartA_STDEditor/UI/Form_Main.cs

@@ -1,4 +1,5 @@
-using SourceGrid;
+using OTS.WinFormsUI.Docking;
+using SourceGrid;
 using System;
 using System.Collections;
 using System.Collections.Generic;
@@ -16,7 +17,6 @@ namespace OTSPartA_STDEditor
 {
     public partial class Form_Main : Form
     {
-        OTSDockWindow m_DockWindow = null;
         public STDRuleslist m_STDRuleslist = null;
         public Attributes m_Attributes = null;
         public SubMidWindow m_SubMidWindow = null;
@@ -51,7 +51,6 @@ namespace OTSPartA_STDEditor
             m_STDRuleslist = new STDRuleslist(this);
             m_Attributes = new Attributes(this);
             m_SubMidWindow = new SubMidWindow(this);
-            m_DockWindow = new OTSDockWindow(this);
         }
 
         public Form_Main(string[] ImportStandardLibraryArgs)
@@ -60,7 +59,6 @@ namespace OTSPartA_STDEditor
             m_STDRuleslist = new STDRuleslist(this);
             m_Attributes = new Attributes(this);
             m_SubMidWindow = new SubMidWindow(this);
-            m_DockWindow = new OTSDockWindow(this);
             foreach (var it in ImportStandardLibraryArgs)
             {
                 ImportArgs.Add(it);
@@ -1225,9 +1223,12 @@ namespace OTSPartA_STDEditor
             m_STDRuleslist = new STDRuleslist(this);
             m_Attributes = new Attributes(this);
             m_SubMidWindow = new SubMidWindow(this);
-            m_DockWindow = new OTSDockWindow(this);
 
-            m_DockWindow.CreateMainWindow();
+            m_STDRuleslist.Show(dockPanel1, DockState.DockLeft);
+            m_Attributes.Show(dockPanel1, DockState.DockRight);
+            m_SubMidWindow.Show(dockPanel1, DockState.Document);
+            dockPanel1.DockLeftPortion = 360;
+            dockPanel1.DockRightPortion = 381;
 
             if (m_SubMidWindow.m_STDEditor.m_sc != null)
             {

+ 0 - 66
OTSPartA_STDEditor/UI/NonLogicalUI/ProcessBar.Designer.cs

@@ -1,66 +0,0 @@
-namespace OTSPartA_STDEditor
-{
-    partial class ProcessBar
-    {
-        /// <summary>
-        /// Required designer variable.
-        /// </summary>
-        private System.ComponentModel.IContainer components = null;
-
-        /// <summary>
-        /// Clean up any resources being used.
-        /// </summary>
-        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
-        protected override void Dispose(bool disposing)
-        {
-            if (disposing && (components != null))
-            {
-                components.Dispose();
-            }
-            base.Dispose(disposing);
-        }
-
-        #region Windows Form Designer generated code
-
-        /// <summary>
-        /// Required method for Designer support - do not modify
-        /// the contents of this method with the code editor.
-        /// </summary>
-        private void InitializeComponent()
-        {
-            this.progressBar = new System.Windows.Forms.ProgressBar();
-            this.SuspendLayout();
-            // 
-            // progressBar
-            // 
-            this.progressBar.Location = new System.Drawing.Point(-4, -2);
-            this.progressBar.Name = "progressBar";
-            this.progressBar.Size = new System.Drawing.Size(1005, 46);
-            this.progressBar.TabIndex = 0;
-            // 
-            // ProcessBar
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
-            this.ClientSize = new System.Drawing.Size(991, 41);
-            this.ControlBox = false;
-            this.Controls.Add(this.progressBar);
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
-            this.MaximizeBox = false;
-            this.MinimizeBox = false;
-            this.Name = "ProcessBar";
-            this.ShowIcon = false;
-            this.ShowInTaskbar = false;
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "正在保存数据中..请稍后";
-            this.Load += new System.EventHandler(this.ProcessBar_Load);
-            this.ResumeLayout(false);
-
-        }
-
-        #endregion
-
-        public System.Windows.Forms.ProgressBar progressBar;
-    }
-}

+ 0 - 32
OTSPartA_STDEditor/UI/NonLogicalUI/ProcessBar.cs

@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace OTSPartA_STDEditor
-{
-    public partial class ProcessBar : Form
-    {
-        Language lan;
-        public ProcessBar()
-        {
-            InitializeComponent();
-            lan = new Language(this);
-        }
-
-        public void worker_RunWorkerCompleted(object sender,RunWorkerCompletedEventArgs e)
-        {
-            this.Close();
-        }
-
-        private void ProcessBar_Load(object sender, EventArgs e)
-        {
-
-        }
-    }
-}

+ 0 - 120
OTSPartA_STDEditor/UI/NonLogicalUI/ProcessBar.resx

@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-</root>

+ 0 - 84
OTSPartA_STDEditor/UI/SubMidWindow.cs

@@ -1,84 +0,0 @@
-using OTS.WinFormsUI.Docking;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
-
-namespace OTSPartA_STDEditor
-{
-    public partial class SubMidWindow : DockContent
-    {
-        public Form_Main m_MainForm = null;
-
-        OTSDockWindow m_DockWindow = null;
-        public STDEditor m_STDEditor = null;
-        public ReferenceLibrary m_ComparativeLibrary = null;
-
-        public SubMidWindow(Form_Main mainForm)
-        {
-            InitializeComponent();
-
-            m_MainForm = mainForm;
-            m_STDEditor = new STDEditor(this,m_MainForm.STDDBAddress);
-            m_ComparativeLibrary = new ReferenceLibrary(this);
-            m_DockWindow = new OTSDockWindow(this);
-        }
-
-        private void SubMidWindow_Load(object sender, EventArgs e)
-        {
-            m_MainForm.lan = new Language(this);
-            m_DockWindow.CreateSubMidWindow();
-        }
-
-        public void ChangeText_textbox_STDEditor(int STDId)
-        {
-            m_STDEditor.textbox_STDEditor.Text = m_MainForm.STDDictionary[STDId].Expression;
-            m_STDEditor.STDId = STDId;
-
-            m_STDEditor.dataGridView_KeyElements.Rows.Clear();
-            m_STDEditor.dataGridView_KeyElements.Columns.Clear();
-
-            string[] KeyElement = m_MainForm.STDDictionary[STDId].KeyElementList.Trim().Split(',');
-            for (int i = 0; i < KeyElement.Length; i++)
-            {
-                if (KeyElement[0] != "")
-                {
-                    DataGridViewButtonColumn dataGridViewButtonColumn = new DataGridViewButtonColumn();
-                    dataGridViewButtonColumn.Name = m_STDEditor.dataGridView_SubElements.Columns.Count.ToString();
-                    m_STDEditor.dataGridView_KeyElements.Columns.Add(dataGridViewButtonColumn);
-                    if (m_STDEditor.dataGridView_KeyElements.Rows.Count == 0)
-                    {
-                        DataGridViewRow row = new DataGridViewRow();
-                        m_STDEditor.dataGridView_KeyElements.Rows.Add(row);
-                    }
-                    m_STDEditor.dataGridView_KeyElements.Rows[0].Cells[i].Value = KeyElement[i];
-                }
-            }
-
-            m_STDEditor.dataGridView_SubElements.Rows.Clear();
-            m_STDEditor.dataGridView_SubElements.Columns.Clear();
-
-            string[] SubElement = m_MainForm.STDDictionary[STDId].SubElementList.Trim().Split(',');
-            for (int i = 0; i < SubElement.Length; i++)
-            {
-                if (SubElement[i] != "")
-                {
-                    DataGridViewButtonColumn dataGridViewButtonColumn = new DataGridViewButtonColumn();
-                    dataGridViewButtonColumn.Name = m_STDEditor.dataGridView_SubElements.Columns.Count.ToString();
-                    m_STDEditor.dataGridView_SubElements.Columns.Add(dataGridViewButtonColumn);
-                    if (m_STDEditor.dataGridView_SubElements.Rows.Count == 0)
-                    {
-                        DataGridViewRow row = new DataGridViewRow();
-                        m_STDEditor.dataGridView_SubElements.Rows.Add(row);
-                    }
-                    m_STDEditor.dataGridView_SubElements.Rows[0].Cells[i].Value = SubElement[i];
-                }
-            }
-        }
-    }
-}