ThePeriodicTable.cs 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744
  1. using System;
  2. using System.Drawing;
  3. using System.Windows.Forms;
  4. using System.Reflection;
  5. using System.IO;
  6. namespace OTSPeriodicTable
  7. {
  8. public partial class ThePeriodicTable: UserControl
  9. {
  10. #region 加载
  11. public ThePeriodicTable()
  12. {
  13. InitializeComponent();
  14. }
  15. private void ThePeriodicTable_Load(object sender, EventArgs e)
  16. {
  17. this.DoubleBuffered = true;
  18. // SetStyle(ControlStyles.UserPaint, true);
  19. //SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景.
  20. //SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲
  21. //为了美观,先隐藏
  22. panel1.Hide();
  23. //加载基本元素组
  24. initelements();
  25. //BeginInvoke(new MethodInvoker(initelements));
  26. //然后再显示,小的元素
  27. Show_User_element();
  28. //刷新也没有效果
  29. panel1.Refresh();
  30. //再显示
  31. panel1.Show();
  32. //图片加载
  33. picturebox_fscl();
  34. }
  35. #endregion
  36. #region 元素周期表,元素群组信息加载
  37. public void initelements()
  38. {
  39. //9种颜色:
  40. //Non-Metals 颜色 PaleGoldenrod 如元素(1)
  41. //Alkali Earth 颜色 Yellow 如元素(3)
  42. //Alkaline Earth 颜色 Orchid 如元素(4)
  43. //Transltion Metals 颜色 Red 如元素(21)
  44. //Other Metals 颜色 PaleGreen 如元素(13)
  45. //Metalloids 颜色 Gold 如元素(5)
  46. //Halogens 颜色 Lavender 如元素(9)
  47. //Noble Gases 颜色 CornflowerBlue 如元素(2)
  48. //
  49. Color NonMetalsColor = Color.PaleGoldenrod; //非金属 如元素(1)
  50. Color AlkaliEarthColor = Color.Yellow; //碱土 如元素(3)
  51. Color AlkalineEarthColor = Color.Orchid; //碱土金属 如元素(4)
  52. Color TransltionMetalsColor = Color.Red; //过渡金属 如元素(21)
  53. Color OtherMetalsColor = Color.PaleGreen; //其它金属 如元素(13)
  54. Color MetalloidsColor = Color.Gold; //非金属 如元素(5)
  55. Color HalogensColor = Color.LightSteelBlue; //卤素 如元素(9)
  56. Color NobleGasesColor = Color.CornflowerBlue;//惰性气体 如元素(2)
  57. Color RareEarthColor = Color.Gainsboro; //罕见 如元素(57)
  58. //都显示成一个灰色
  59. //Color NonMetalsColor = Color.Gainsboro; //非金属 如元素(1)
  60. //Color AlkaliEarthColor = Color.Gainsboro; //碱土 如元素(3)
  61. //Color AlkalineEarthColor = Color.Gainsboro; //碱土金属 如元素(4)
  62. //Color TransltionMetalsColor = Color.Gainsboro; //过渡金属 如元素(21)
  63. //Color OtherMetalsColor = Color.Gainsboro; //其它金属 如元素(13)
  64. //Color MetalloidsColor = Color.Gainsboro; //非金属 如元素(5)
  65. //Color HalogensColor = Color.Gainsboro; //卤素 如元素(9)
  66. //Color NobleGasesColor = Color.Gainsboro;//惰性气体 如元素(2)
  67. //Color RareEarthColor = Color.Gainsboro; //罕见 如元素(57)
  68. Assembly a = Assembly.GetExecutingAssembly();
  69. string[] resNames = a.GetManifestResourceNames();
  70. Stream imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.cubic.gif");
  71. Image img_cubic = Bitmap.FromStream(imgStream2) as Bitmap;
  72. img_cubic.Tag = "cubic";
  73. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.cubicbodycentered.gif");
  74. Image img_cubicbodycentered = Bitmap.FromStream(imgStream2) as Bitmap;
  75. img_cubicbodycentered.Tag = "img_cubicbodycentered";
  76. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.cubicfacecentered.gif");
  77. Image img_cubicfacecentered = Bitmap.FromStream(imgStream2) as Bitmap;
  78. img_cubicfacecentered.Tag = "img_cubicfacecentered";
  79. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.Hexagonal.gif");
  80. Image img_Hexagonal = Bitmap.FromStream(imgStream2) as Bitmap;
  81. img_Hexagonal.Tag = "img_Hexagonal";
  82. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.Monoclinic.gif");
  83. Image img_Monoclinic = Bitmap.FromStream(imgStream2) as Bitmap;
  84. img_Monoclinic.Tag = "img_Monoclinic";
  85. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.orthohombic.gif");
  86. Image img_orthohombic = Bitmap.FromStream(imgStream2) as Bitmap;
  87. img_orthohombic.Tag = "img_orthohombic";
  88. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.rhombohedral.gif");
  89. Image img_rhombohedral = Bitmap.FromStream(imgStream2) as Bitmap;
  90. img_rhombohedral.Tag = "img_rhombohedral";
  91. imgStream2 = a.GetManifestResourceStream("OTSIncAReportApp.Resources.teragonal.gif");
  92. Image img_teragonal = Bitmap.FromStream(imgStream2) as Bitmap;
  93. img_teragonal.Tag = "img_teragonal";
  94. User_Element ue = new User_Element();
  95. ue.lb_xh.Text = "1";
  96. ue.lb_yzzl.Text = "1.008";
  97. ue.lb_fh.Text = "H";
  98. ue.lb_ywm.Text = "Hydrogen";
  99. ue.lb_sx1.Text = "";
  100. ue.lb_sx2.Text = "";
  101. ue.lb_sx3.Text = "";
  102. ue.zwysm = "氢";
  103. ue.BackColor = NonMetalsColor;
  104. ue.pictureBox1.Image = img_Hexagonal;
  105. ue.Hide();
  106. p_element1.Controls.Add(ue);
  107. //
  108. ue = new User_Element();
  109. ue.lb_xh.Text = "2";
  110. ue.lb_yzzl.Text = "4.003";
  111. ue.lb_fh.Text = "He";
  112. ue.lb_ywm.Text = "Helium";
  113. ue.lb_sx1.Text = "";
  114. ue.lb_sx2.Text = "";
  115. ue.lb_sx3.Text = "";
  116. ue.zwysm = "氦";
  117. ue.BackColor = NobleGasesColor;
  118. ue.pictureBox1.Image = img_Hexagonal;
  119. ue.Hide();
  120. p_element2.Controls.Add(ue);
  121. //
  122. ue = new User_Element();
  123. ue.lb_xh.Text = "3";
  124. ue.lb_yzzl.Text = "6.941";
  125. ue.lb_fh.Text = "Li";
  126. ue.lb_ywm.Text = "Lithium";
  127. ue.lb_sx1.Text = "";
  128. ue.lb_sx2.Text = "";
  129. ue.lb_sx3.Text = "";
  130. ue.zwysm = "锂";
  131. ue.BackColor = AlkaliEarthColor;
  132. ue.pictureBox1.Image = img_cubicbodycentered;
  133. ue.Hide();
  134. p_element3.Controls.Add(ue);
  135. //
  136. ue = new User_Element();
  137. ue.lb_xh.Text = "4";
  138. ue.lb_yzzl.Text = "9.012";
  139. ue.lb_fh.Text = "Be";
  140. ue.lb_ywm.Text = "Beryllium";
  141. ue.lb_sx1.Text = "0.108";
  142. ue.lb_sx2.Text = "-";
  143. ue.lb_sx3.Text = "-";
  144. ue.zwysm = "铍";
  145. ue.BackColor = AlkalineEarthColor;
  146. ue.pictureBox1.Image = img_Hexagonal;
  147. ue.Hide();
  148. p_element4.Controls.Add(ue);
  149. //
  150. ue = new User_Element();
  151. ue.lb_xh.Text = "5";
  152. ue.lb_yzzl.Text = "10.811";
  153. ue.lb_fh.Text = "B";
  154. ue.lb_ywm.Text = "Boron";
  155. ue.lb_sx1.Text = "0.185";
  156. ue.lb_sx2.Text = "-";
  157. ue.lb_sx3.Text = "-";
  158. ue.zwysm = "硼";
  159. ue.BackColor = MetalloidsColor;
  160. ue.pictureBox1.Image = img_rhombohedral;
  161. ue.Hide();
  162. p_element5.Controls.Add(ue);
  163. //
  164. ue = new User_Element();
  165. ue.lb_xh.Text = "6";
  166. ue.lb_yzzl.Text = "12.011";
  167. ue.lb_fh.Text = "C";
  168. ue.lb_ywm.Text = "Carbon";
  169. ue.lb_sx1.Text = "0.277";
  170. ue.lb_sx2.Text = "-";
  171. ue.lb_sx3.Text = "-";
  172. ue.zwysm = "碳";
  173. ue.BackColor = NonMetalsColor;
  174. ue.pictureBox1.Image = img_Hexagonal;
  175. ue.Hide();
  176. p_element6.Controls.Add(ue);
  177. //
  178. ue = new User_Element();
  179. ue.lb_xh.Text = "7";
  180. ue.lb_yzzl.Text = "14.007";
  181. ue.lb_fh.Text = "N";
  182. ue.lb_ywm.Text = "Nitrogen";
  183. ue.lb_sx1.Text = "0.392";
  184. ue.lb_sx2.Text = "-";
  185. ue.lb_sx3.Text = "-";
  186. ue.zwysm = "氮";
  187. ue.BackColor = NonMetalsColor;
  188. ue.pictureBox1.Image = img_Hexagonal;
  189. ue.Hide();
  190. p_element7.Controls.Add(ue);
  191. //
  192. ue = new User_Element();
  193. ue.lb_xh.Text = "8";
  194. ue.lb_yzzl.Text = "15.999";
  195. ue.lb_fh.Text = "O";
  196. ue.lb_ywm.Text = "Oxygen";
  197. ue.lb_sx1.Text = "0.523";
  198. ue.lb_sx2.Text = "-";
  199. ue.lb_sx3.Text = "-";
  200. ue.zwysm = "氧";
  201. ue.BackColor = NonMetalsColor;
  202. ue.pictureBox1.Image = img_cubic;
  203. ue.Hide();
  204. p_element8.Controls.Add(ue);
  205. //
  206. ue = new User_Element();
  207. ue.lb_xh.Text = "9";
  208. ue.lb_yzzl.Text = "18.998";
  209. ue.lb_fh.Text = "F";
  210. ue.lb_ywm.Text = "Fluorine";
  211. ue.lb_sx1.Text = "0.677";
  212. ue.lb_sx2.Text = "-";
  213. ue.lb_sx3.Text = "-";
  214. ue.zwysm = "氟";
  215. ue.BackColor = HalogensColor;
  216. ue.pictureBox1.Image = img_cubic;
  217. ue.Hide();
  218. p_element9.Controls.Add(ue);
  219. //
  220. ue = new User_Element();
  221. ue.lb_xh.Text = "10";
  222. ue.lb_yzzl.Text = "20.180";
  223. ue.lb_fh.Text = "Ne";
  224. ue.lb_ywm.Text = "Neon";
  225. ue.lb_sx1.Text = "0.848";
  226. ue.lb_sx2.Text = "-";
  227. ue.lb_sx3.Text = "-";
  228. ue.zwysm = "氖";
  229. ue.BackColor = NobleGasesColor;
  230. ue.pictureBox1.Image = img_cubicfacecentered;
  231. ue.Hide();
  232. p_element10.Controls.Add(ue);
  233. //
  234. ue = new User_Element();
  235. ue.lb_xh.Text = "11";
  236. ue.lb_yzzl.Text = "22.990";
  237. ue.lb_fh.Text = "Na";
  238. ue.lb_ywm.Text = "Sodium";
  239. ue.lb_sx1.Text = "1.040";
  240. ue.lb_sx2.Text = "-";
  241. ue.lb_sx3.Text = "-";
  242. ue.zwysm = "钠";
  243. ue.BackColor = AlkaliEarthColor;
  244. ue.pictureBox1.Image = img_cubicbodycentered;
  245. ue.Hide();
  246. p_element11.Controls.Add(ue);
  247. //
  248. ue = new User_Element();
  249. ue.lb_xh.Text = "12";
  250. ue.lb_yzzl.Text = "24.305";
  251. ue.lb_fh.Text = "Mg";
  252. ue.lb_ywm.Text = "Magnesium";
  253. ue.lb_sx1.Text = "1.254";
  254. ue.lb_sx2.Text = "-";
  255. ue.lb_sx3.Text = "-";
  256. ue.zwysm = "镁";
  257. ue.BackColor = AlkalineEarthColor;
  258. ue.pictureBox1.Image = img_Hexagonal;
  259. ue.Hide();
  260. p_element12.Controls.Add(ue);
  261. //
  262. ue = new User_Element();
  263. ue.lb_xh.Text = "13";
  264. ue.lb_yzzl.Text = "26.982";
  265. ue.lb_fh.Text = "Al";
  266. ue.lb_ywm.Text = "Aluminum";
  267. ue.lb_sx1.Text = "1.486";
  268. ue.lb_sx2.Text = "-";
  269. ue.lb_sx3.Text = "-";
  270. ue.zwysm = "铝";
  271. ue.BackColor = OtherMetalsColor;
  272. ue.pictureBox1.Image = img_cubicfacecentered;
  273. ue.Hide();
  274. p_element13.Controls.Add(ue);
  275. //
  276. ue = new User_Element();
  277. ue.lb_xh.Text = "14";
  278. ue.lb_yzzl.Text = "28.086";
  279. ue.lb_fh.Text = "Si";
  280. ue.lb_ywm.Text = "Silicon";
  281. ue.lb_sx1.Text = "1.740";
  282. ue.lb_sx2.Text = "-";
  283. ue.lb_sx3.Text = "-";
  284. ue.zwysm = "硅";
  285. ue.BackColor = MetalloidsColor;
  286. ue.pictureBox1.Image = img_cubicfacecentered;
  287. ue.Hide();
  288. p_element14.Controls.Add(ue);
  289. //
  290. ue = new User_Element();
  291. ue.lb_xh.Text = "15";
  292. ue.lb_yzzl.Text = "30.974";
  293. ue.lb_fh.Text = "P";
  294. ue.lb_ywm.Text = "Phosphorus";
  295. ue.lb_sx1.Text = "2.013";
  296. ue.lb_sx2.Text = "-";
  297. ue.lb_sx3.Text = "-";
  298. ue.zwysm = "磷";
  299. ue.BackColor = NonMetalsColor;
  300. ue.pictureBox1.Image = img_Monoclinic;
  301. ue.Hide();
  302. p_element15.Controls.Add(ue);
  303. //
  304. ue = new User_Element();
  305. ue.lb_xh.Text = "16";
  306. ue.lb_yzzl.Text = "32.066";
  307. ue.lb_fh.Text = "S";
  308. ue.lb_ywm.Text = "Sulfur";
  309. ue.lb_sx1.Text = "2.307";
  310. ue.lb_sx2.Text = "-";
  311. ue.lb_sx3.Text = "-";
  312. ue.zwysm = "硫";
  313. ue.BackColor = NonMetalsColor;
  314. ue.pictureBox1.Image = img_orthohombic;
  315. ue.Hide();
  316. p_element16.Controls.Add(ue);
  317. //
  318. ue = new User_Element();
  319. ue.lb_xh.Text = "17";
  320. ue.lb_yzzl.Text = "35.453";
  321. ue.lb_fh.Text = "Cl";
  322. ue.lb_ywm.Text = "Chlorine";
  323. ue.lb_sx1.Text = "2.622";
  324. ue.lb_sx2.Text = "-";
  325. ue.lb_sx3.Text = "-";
  326. ue.zwysm = "氯";
  327. ue.BackColor = HalogensColor;
  328. ue.pictureBox1.Image = img_orthohombic;
  329. ue.Hide();
  330. p_element17.Controls.Add(ue);
  331. //
  332. ue = new User_Element();
  333. ue.lb_xh.Text = "18";
  334. ue.lb_yzzl.Text = "39.948";
  335. ue.lb_fh.Text = "Ar";
  336. ue.lb_ywm.Text = "Argon";
  337. ue.lb_sx1.Text = "2.957";
  338. ue.lb_sx2.Text = "-";
  339. ue.lb_sx3.Text = "-";
  340. ue.zwysm = "氩";
  341. ue.BackColor = NobleGasesColor;
  342. ue.pictureBox1.Image = img_cubicfacecentered;
  343. ue.Hide();
  344. p_element18.Controls.Add(ue);
  345. //
  346. ue = new User_Element();
  347. ue.lb_xh.Text = "19";
  348. ue.lb_yzzl.Text = "39.098";
  349. ue.lb_fh.Text = "K";
  350. ue.lb_ywm.Text = "Potassium";
  351. ue.lb_sx1.Text = "3.313";
  352. ue.lb_sx2.Text = "-";
  353. ue.lb_sx3.Text = "-";
  354. ue.zwysm = "钾";
  355. ue.BackColor = AlkaliEarthColor;
  356. ue.pictureBox1.Image = img_cubicbodycentered;
  357. ue.Hide();
  358. p_element19.Controls.Add(ue);
  359. //
  360. ue = new User_Element();
  361. ue.lb_xh.Text = "20";
  362. ue.lb_yzzl.Text = "40.08";
  363. ue.lb_fh.Text = "Ca";
  364. ue.lb_ywm.Text = "Calcium";
  365. ue.lb_sx1.Text = "3.691";
  366. ue.lb_sx2.Text = "0.341";
  367. ue.lb_sx3.Text = "-";
  368. ue.zwysm = "钙";
  369. ue.BackColor = AlkalineEarthColor;
  370. ue.pictureBox1.Image = img_cubicfacecentered;
  371. ue.Hide();
  372. p_element20.Controls.Add(ue);
  373. //
  374. ue = new User_Element();
  375. ue.lb_xh.Text = "21";
  376. ue.lb_yzzl.Text = "44.956";
  377. ue.lb_fh.Text = "Sc";
  378. ue.lb_ywm.Text = "Scandium";
  379. ue.lb_sx1.Text = "4.090";
  380. ue.lb_sx2.Text = "0.395";
  381. ue.lb_sx3.Text = "-";
  382. ue.zwysm = "钪";
  383. ue.BackColor = TransltionMetalsColor;
  384. ue.pictureBox1.Image = img_Hexagonal;
  385. ue.Hide();
  386. p_element21.Controls.Add(ue);
  387. //
  388. ue = new User_Element();
  389. ue.lb_xh.Text = "22";
  390. ue.lb_yzzl.Text = "47.88";
  391. ue.lb_fh.Text = "Ti";
  392. ue.lb_ywm.Text = "Titanium";
  393. ue.lb_sx1.Text = "4.510";
  394. ue.lb_sx2.Text = "0.452";
  395. ue.lb_sx3.Text = "-";
  396. ue.zwysm = "钛";
  397. ue.BackColor = TransltionMetalsColor;
  398. ue.pictureBox1.Image = img_Hexagonal;
  399. ue.Hide();
  400. p_element22.Controls.Add(ue);
  401. //
  402. ue = new User_Element();
  403. ue.lb_xh.Text = "23";
  404. ue.lb_yzzl.Text = "50.942";
  405. ue.lb_fh.Text = "V";
  406. ue.lb_ywm.Text = "Vanadium";
  407. ue.lb_sx1.Text = "4.952";
  408. ue.lb_sx2.Text = "0.511";
  409. ue.lb_sx3.Text = "-";
  410. ue.zwysm = "钒";
  411. ue.BackColor = TransltionMetalsColor;
  412. ue.pictureBox1.Image = img_cubicbodycentered;
  413. ue.Hide();
  414. p_element23.Controls.Add(ue);
  415. //
  416. ue = new User_Element();
  417. ue.lb_xh.Text = "24";
  418. ue.lb_yzzl.Text = "51.996";
  419. ue.lb_fh.Text = "Cr";
  420. ue.lb_ywm.Text = "Chromium";
  421. ue.lb_sx1.Text = "5.414";
  422. ue.lb_sx2.Text = "0.573";
  423. ue.lb_sx3.Text = "-";
  424. ue.zwysm = "铬";
  425. ue.BackColor = TransltionMetalsColor;
  426. ue.pictureBox1.Image = img_cubicbodycentered;
  427. ue.Hide();
  428. p_element24.Controls.Add(ue);
  429. //
  430. ue = new User_Element();
  431. ue.lb_xh.Text = "25";
  432. ue.lb_yzzl.Text = "54.938";
  433. ue.lb_fh.Text = "Mn";
  434. ue.lb_ywm.Text = "Manganese";
  435. ue.lb_sx1.Text = "5.898";
  436. ue.lb_sx2.Text = "0.637";
  437. ue.lb_sx3.Text = "-";
  438. ue.zwysm = "锰";
  439. ue.BackColor = TransltionMetalsColor;
  440. ue.pictureBox1.Image = img_cubicbodycentered;
  441. ue.Hide();
  442. p_element25.Controls.Add(ue);
  443. //
  444. ue = new User_Element();
  445. ue.lb_xh.Text = "26";
  446. ue.lb_yzzl.Text = "55.847";
  447. ue.lb_fh.Text = "Fe";
  448. ue.lb_ywm.Text = "Iron";
  449. ue.lb_sx1.Text = "6.403";
  450. ue.lb_sx2.Text = "0.705";
  451. ue.lb_sx3.Text = "-";
  452. ue.zwysm = "铁";
  453. ue.BackColor = TransltionMetalsColor;
  454. ue.pictureBox1.Image = img_cubicbodycentered;
  455. ue.Hide();
  456. p_element26.Controls.Add(ue);
  457. //
  458. ue = new User_Element();
  459. ue.lb_xh.Text = "27";
  460. ue.lb_yzzl.Text = "58.933";
  461. ue.lb_fh.Text = "Co";
  462. ue.lb_ywm.Text = "Cobalt";
  463. ue.lb_sx1.Text = "6.929";
  464. ue.lb_sx2.Text = "0.776";
  465. ue.lb_sx3.Text = "-";
  466. ue.zwysm = "钴";
  467. ue.BackColor = TransltionMetalsColor;
  468. ue.pictureBox1.Image = img_Hexagonal;
  469. ue.Hide();
  470. p_element27.Controls.Add(ue);
  471. //
  472. ue = new User_Element();
  473. ue.lb_xh.Text = "28";
  474. ue.lb_yzzl.Text = "58.70";
  475. ue.lb_fh.Text = "Ni";
  476. ue.lb_ywm.Text = "Nickel";
  477. ue.lb_sx1.Text = "7.477";
  478. ue.lb_sx2.Text = "0.851";
  479. ue.lb_sx3.Text = "-";
  480. ue.zwysm = "镍";
  481. ue.BackColor = TransltionMetalsColor;
  482. ue.pictureBox1.Image = img_cubicfacecentered;
  483. ue.Hide();
  484. p_element28.Controls.Add(ue);
  485. //
  486. ue = new User_Element();
  487. ue.lb_xh.Text = "29";
  488. ue.lb_yzzl.Text = "63.546";
  489. ue.lb_fh.Text = "Cu";
  490. ue.lb_ywm.Text = "Copper";
  491. ue.lb_sx1.Text = "8.040";
  492. ue.lb_sx2.Text = "0.930";
  493. ue.lb_sx3.Text = "-";
  494. ue.zwysm = "铜";
  495. ue.BackColor = TransltionMetalsColor;
  496. ue.pictureBox1.Image = img_cubicfacecentered;
  497. ue.Hide();
  498. p_element29.Controls.Add(ue);
  499. //
  500. ue = new User_Element();
  501. ue.lb_xh.Text = "30";
  502. ue.lb_yzzl.Text = "65.39";
  503. ue.lb_fh.Text = "Zn";
  504. ue.lb_ywm.Text = "Zinc";
  505. ue.lb_sx1.Text = "8.637";
  506. ue.lb_sx2.Text = "1.012";
  507. ue.lb_sx3.Text = "-";
  508. ue.zwysm = "锌";
  509. ue.BackColor = TransltionMetalsColor;
  510. ue.pictureBox1.Image = img_Hexagonal;
  511. ue.Hide();
  512. p_element30.Controls.Add(ue);
  513. //
  514. ue = new User_Element();
  515. ue.lb_xh.Text = "31";
  516. ue.lb_yzzl.Text = "69.72";
  517. ue.lb_fh.Text = "Ga";
  518. ue.lb_ywm.Text = "Gallium";
  519. ue.lb_sx1.Text = "9.250";
  520. ue.lb_sx2.Text = "1.098";
  521. ue.lb_sx3.Text = "-";
  522. ue.zwysm = "镓";
  523. ue.BackColor = OtherMetalsColor;
  524. ue.pictureBox1.Image = img_orthohombic;
  525. ue.Hide();
  526. p_element31.Controls.Add(ue);
  527. //
  528. ue = new User_Element();
  529. ue.lb_xh.Text = "32";
  530. ue.lb_yzzl.Text = "72.61";
  531. ue.lb_fh.Text = "Ge";
  532. ue.lb_ywm.Text = "Germanium";
  533. ue.lb_sx1.Text = "9.885";
  534. ue.lb_sx2.Text = "1.188";
  535. ue.lb_sx3.Text = "-";
  536. ue.zwysm = "锗";
  537. ue.BackColor = MetalloidsColor;
  538. ue.pictureBox1.Image = img_cubicfacecentered;
  539. ue.Hide();
  540. p_element32.Controls.Add(ue);
  541. //
  542. ue = new User_Element();
  543. ue.lb_xh.Text = "33";
  544. ue.lb_yzzl.Text = "74.922";
  545. ue.lb_fh.Text = "As";
  546. ue.lb_ywm.Text = "Arsenic";
  547. ue.lb_sx1.Text = "10.542";
  548. ue.lb_sx2.Text = "1.282";
  549. ue.lb_sx3.Text = "-";
  550. ue.zwysm = "砷";
  551. ue.BackColor = MetalloidsColor;
  552. ue.pictureBox1.Image = img_rhombohedral;
  553. ue.Hide();
  554. p_element33.Controls.Add(ue);
  555. //
  556. ue = new User_Element();
  557. ue.lb_xh.Text = "34";
  558. ue.lb_yzzl.Text = "78.96";
  559. ue.lb_fh.Text = "Se";
  560. ue.lb_ywm.Text = "Selenium";
  561. ue.lb_sx1.Text = "11.220";
  562. ue.lb_sx2.Text = "1.379";
  563. ue.lb_sx3.Text = "-";
  564. ue.zwysm = "硒";
  565. ue.BackColor = NonMetalsColor;
  566. ue.pictureBox1.Image = img_Hexagonal;
  567. ue.Hide();
  568. p_element34.Controls.Add(ue);
  569. //
  570. ue = new User_Element();
  571. ue.lb_xh.Text = "35";
  572. ue.lb_yzzl.Text = "79.904";
  573. ue.lb_fh.Text = "Br";
  574. ue.lb_ywm.Text = "Bromine";
  575. ue.lb_sx1.Text = "11.922";
  576. ue.lb_sx2.Text = "1.480";
  577. ue.lb_sx3.Text = "-";
  578. ue.zwysm = "溴";
  579. ue.BackColor = HalogensColor;
  580. ue.pictureBox1.Image = img_orthohombic;
  581. ue.Hide();
  582. p_element35.Controls.Add(ue);
  583. //
  584. ue = new User_Element();
  585. ue.lb_xh.Text = "36";
  586. ue.lb_yzzl.Text = "83.80";
  587. ue.lb_fh.Text = "Kr";
  588. ue.lb_ywm.Text = "Krypton";
  589. ue.lb_sx1.Text = "12.649";
  590. ue.lb_sx2.Text = "1.586";
  591. ue.lb_sx3.Text = "-";
  592. ue.zwysm = "氪";
  593. ue.BackColor = NobleGasesColor;
  594. ue.pictureBox1.Image = img_cubicfacecentered;
  595. ue.Hide();
  596. p_element36.Controls.Add(ue);
  597. //
  598. ue = new User_Element();
  599. ue.lb_xh.Text = "37";
  600. ue.lb_yzzl.Text = "85.468";
  601. ue.lb_fh.Text = "Rb";
  602. ue.lb_ywm.Text = "Rubidium";
  603. ue.lb_sx1.Text = "13.393";
  604. ue.lb_sx2.Text = "1.694";
  605. ue.lb_sx3.Text = "-";
  606. ue.zwysm = "铷";
  607. ue.BackColor = AlkaliEarthColor;
  608. ue.pictureBox1.Image = img_cubicbodycentered;
  609. ue.Hide();
  610. p_element37.Controls.Add(ue);
  611. //
  612. ue = new User_Element();
  613. ue.lb_xh.Text = "38";
  614. ue.lb_yzzl.Text = "87.62";
  615. ue.lb_fh.Text = "Sr";
  616. ue.lb_ywm.Text = "Strontium";
  617. ue.lb_sx1.Text = "14.163";
  618. ue.lb_sx2.Text = "1.806";
  619. ue.lb_sx3.Text = "-";
  620. ue.zwysm = "锶";
  621. ue.BackColor = AlkalineEarthColor;
  622. ue.pictureBox1.Image = img_cubicfacecentered;
  623. ue.Hide();
  624. p_element38.Controls.Add(ue);
  625. //
  626. ue = new User_Element();
  627. ue.lb_xh.Text = "39";
  628. ue.lb_yzzl.Text = "88.906";
  629. ue.lb_fh.Text = "Y";
  630. ue.lb_ywm.Text = "Yttrium";
  631. ue.lb_sx1.Text = "14.955";
  632. ue.lb_sx2.Text = "1.922";
  633. ue.lb_sx3.Text = "-";
  634. ue.zwysm = "钇";
  635. ue.BackColor = TransltionMetalsColor;
  636. ue.pictureBox1.Image = img_Hexagonal;
  637. ue.Hide();
  638. p_element39.Controls.Add(ue);
  639. //
  640. ue = new User_Element();
  641. ue.lb_xh.Text = "40";
  642. ue.lb_yzzl.Text = "91.22";
  643. ue.lb_fh.Text = "Zr";
  644. ue.lb_ywm.Text = "Zirconium";
  645. ue.lb_sx1.Text = "15.776";
  646. ue.lb_sx2.Text = "2.042";
  647. ue.lb_sx3.Text = "-";
  648. ue.zwysm = "锆";
  649. ue.BackColor = TransltionMetalsColor;
  650. ue.pictureBox1.Image = img_Hexagonal;
  651. ue.Hide();
  652. p_element40.Controls.Add(ue);
  653. //
  654. ue = new User_Element();
  655. ue.lb_xh.Text = "41";
  656. ue.lb_yzzl.Text = "92.906";
  657. ue.lb_fh.Text = "Nb";
  658. ue.lb_ywm.Text = "Niobium";
  659. ue.lb_sx1.Text = "16.617";
  660. ue.lb_sx2.Text = "2.166";
  661. ue.lb_sx3.Text = "-";
  662. ue.zwysm = "铌";
  663. ue.BackColor = TransltionMetalsColor;
  664. ue.pictureBox1.Image = img_cubicbodycentered;
  665. ue.Hide();
  666. p_element41.Controls.Add(ue);
  667. //
  668. ue = new User_Element();
  669. ue.lb_xh.Text = "42";
  670. ue.lb_yzzl.Text = "95.94";
  671. ue.lb_fh.Text = "Mo";
  672. ue.lb_ywm.Text = "Molybdenum";
  673. ue.lb_sx1.Text = "17.481";
  674. ue.lb_sx2.Text = "2.293";
  675. ue.lb_sx3.Text = "-";
  676. ue.zwysm = "钼";
  677. ue.BackColor = TransltionMetalsColor;
  678. ue.pictureBox1.Image = img_cubicbodycentered;
  679. ue.Hide();
  680. p_element42.Controls.Add(ue);
  681. //
  682. ue = new User_Element();
  683. ue.lb_xh.Text = "43";
  684. ue.lb_yzzl.Text = "(98)";
  685. ue.lb_fh.Text = "Tc";
  686. ue.lb_ywm.Text = "Technetium";
  687. ue.lb_sx1.Text = "18.368";
  688. ue.lb_sx2.Text = "2.424";
  689. ue.lb_sx3.Text = "-";
  690. ue.zwysm = "锝";
  691. ue.BackColor = TransltionMetalsColor;
  692. ue.pictureBox1.Image = img_Hexagonal;
  693. ue.Hide();
  694. p_element43.Controls.Add(ue);
  695. //
  696. ue = new User_Element();
  697. ue.lb_xh.Text = "44";
  698. ue.lb_yzzl.Text = "101.07";
  699. ue.lb_fh.Text = "Ru";
  700. ue.lb_ywm.Text = "Ruthenium";
  701. ue.lb_sx1.Text = "19.282";
  702. ue.lb_sx2.Text = "2.558";
  703. ue.lb_sx3.Text = "-";
  704. ue.zwysm = "钌";
  705. ue.BackColor = TransltionMetalsColor;
  706. ue.pictureBox1.Image = img_Hexagonal;
  707. ue.Hide();
  708. p_element44.Controls.Add(ue);
  709. //
  710. ue = new User_Element();
  711. ue.lb_xh.Text = "45";
  712. ue.lb_yzzl.Text = "102.906";
  713. ue.lb_fh.Text = "Rh";
  714. ue.lb_ywm.Text = "Rhodium";
  715. ue.lb_sx1.Text = "20.217";
  716. ue.lb_sx2.Text = "2.696";
  717. ue.lb_sx3.Text = "-";
  718. ue.zwysm = "铑";
  719. ue.BackColor = TransltionMetalsColor;
  720. ue.pictureBox1.Image = img_cubicfacecentered;
  721. ue.Hide();
  722. p_element45.Controls.Add(ue);
  723. //
  724. ue = new User_Element();
  725. ue.lb_xh.Text = "46";
  726. ue.lb_yzzl.Text = "106.42";
  727. ue.lb_fh.Text = "Pd";
  728. ue.lb_ywm.Text = "Palladium";
  729. ue.lb_sx1.Text = "21.180";
  730. ue.lb_sx2.Text = "2.838";
  731. ue.lb_sx3.Text = "-";
  732. ue.zwysm = "钯";
  733. ue.BackColor = TransltionMetalsColor;
  734. ue.pictureBox1.Image = img_cubicfacecentered;
  735. ue.Hide();
  736. p_element46.Controls.Add(ue);
  737. //
  738. ue = new User_Element();
  739. ue.lb_xh.Text = "47";
  740. ue.lb_yzzl.Text = "107.868";
  741. ue.lb_fh.Text = "Ag";
  742. ue.lb_ywm.Text = "Silver";
  743. ue.lb_sx1.Text = "22.166";
  744. ue.lb_sx2.Text = "2.984";
  745. ue.lb_sx3.Text = "-";
  746. ue.zwysm = "银";
  747. ue.BackColor = TransltionMetalsColor;
  748. ue.pictureBox1.Image = img_cubicfacecentered;
  749. ue.Hide();
  750. p_element47.Controls.Add(ue);
  751. //
  752. ue = new User_Element();
  753. ue.lb_xh.Text = "48";
  754. ue.lb_yzzl.Text = "112.41";
  755. ue.lb_fh.Text = "Cd";
  756. ue.lb_ywm.Text = "Cadmium";
  757. ue.lb_sx1.Text = "23.175";
  758. ue.lb_sx2.Text = "3.133";
  759. ue.lb_sx3.Text = "-";
  760. ue.zwysm = "镉";
  761. ue.BackColor = TransltionMetalsColor;
  762. ue.pictureBox1.Image = img_Hexagonal;
  763. ue.Hide();
  764. p_element48.Controls.Add(ue);
  765. //
  766. ue = new User_Element();
  767. ue.lb_xh.Text = "49";
  768. ue.lb_yzzl.Text = "114.82";
  769. ue.lb_fh.Text = "In";
  770. ue.lb_ywm.Text = "Indium";
  771. ue.lb_sx1.Text = "24.209";
  772. ue.lb_sx2.Text = "3.286";
  773. ue.lb_sx3.Text = "-";
  774. ue.zwysm = "铟";
  775. ue.BackColor = OtherMetalsColor;
  776. ue.pictureBox1.Image = img_teragonal;
  777. ue.Hide();
  778. p_element49.Controls.Add(ue);
  779. //
  780. ue = new User_Element();
  781. ue.lb_xh.Text = "50";
  782. ue.lb_yzzl.Text = "118.71";
  783. ue.lb_fh.Text = "Sn";
  784. ue.lb_ywm.Text = "Tin";
  785. ue.lb_sx1.Text = "25.272";
  786. ue.lb_sx2.Text = "3.443";
  787. ue.lb_sx3.Text = "-";
  788. ue.zwysm = "锡";
  789. ue.BackColor = OtherMetalsColor;
  790. ue.pictureBox1.Image = img_teragonal;
  791. ue.Hide();
  792. p_element50.Controls.Add(ue);
  793. //
  794. ue = new User_Element();
  795. ue.lb_xh.Text = "51";
  796. ue.lb_yzzl.Text = "121.76";
  797. ue.lb_fh.Text = "Sb";
  798. ue.lb_ywm.Text = "Antimony";
  799. ue.lb_sx1.Text = "26.359";
  800. ue.lb_sx2.Text = "3.604";
  801. ue.lb_sx3.Text = "-";
  802. ue.zwysm = "锑";
  803. ue.BackColor = MetalloidsColor;
  804. ue.pictureBox1.Image = img_rhombohedral;
  805. ue.Hide();
  806. p_element51.Controls.Add(ue);
  807. //
  808. ue = new User_Element();
  809. ue.lb_xh.Text = "52";
  810. ue.lb_yzzl.Text = "127.60";
  811. ue.lb_fh.Text = "Te";
  812. ue.lb_ywm.Text = "Tellurium";
  813. ue.lb_sx1.Text = "27.471";
  814. ue.lb_sx2.Text = "3.768";
  815. ue.lb_sx3.Text = "-";
  816. ue.zwysm = "碲";
  817. ue.BackColor = MetalloidsColor;
  818. ue.pictureBox1.Image = img_Hexagonal;
  819. ue.Hide();
  820. p_element52.Controls.Add(ue);
  821. //
  822. ue = new User_Element();
  823. ue.lb_xh.Text = "53";
  824. ue.lb_yzzl.Text = "126.905";
  825. ue.lb_fh.Text = "I";
  826. ue.lb_ywm.Text = "Iodine";
  827. ue.lb_sx1.Text = "28.615";
  828. ue.lb_sx2.Text = "3.937";
  829. ue.lb_sx3.Text = "-";
  830. ue.zwysm = "碘";
  831. ue.BackColor = HalogensColor;
  832. ue.pictureBox1.Image = img_orthohombic;
  833. ue.Hide();
  834. p_element53.Controls.Add(ue);
  835. //
  836. ue = new User_Element();
  837. ue.lb_xh.Text = "54";
  838. ue.lb_yzzl.Text = "131.29";
  839. ue.lb_fh.Text = "Xe";
  840. ue.lb_ywm.Text = "Xenon";
  841. ue.lb_sx1.Text = "29.779";
  842. ue.lb_sx2.Text = "4.109";
  843. ue.lb_sx3.Text = "-";
  844. ue.zwysm = "氙";
  845. ue.BackColor = NobleGasesColor;
  846. ue.pictureBox1.Image = img_cubicfacecentered;
  847. ue.Hide();
  848. p_element54.Controls.Add(ue);
  849. //
  850. ue = new User_Element();
  851. ue.lb_xh.Text = "55";
  852. ue.lb_yzzl.Text = "132.905";
  853. ue.lb_fh.Text = "Cs";
  854. ue.lb_ywm.Text = "Cesium";
  855. ue.lb_sx1.Text = "30.971";
  856. ue.lb_sx2.Text = "4.286";
  857. ue.lb_sx3.Text = "-";
  858. ue.zwysm = "铯";
  859. ue.BackColor = AlkaliEarthColor;
  860. ue.pictureBox1.Image = img_cubicbodycentered;
  861. ue.Hide();
  862. p_element55.Controls.Add(ue);
  863. //
  864. ue = new User_Element();
  865. ue.lb_xh.Text = "56";
  866. ue.lb_yzzl.Text = "137.33";
  867. ue.lb_fh.Text = "Ba";
  868. ue.lb_ywm.Text = "Barium";
  869. ue.lb_sx1.Text = "32.196";
  870. ue.lb_sx2.Text = "4.465";
  871. ue.lb_sx3.Text = "0.779";
  872. ue.zwysm = "钡";
  873. ue.BackColor = AlkalineEarthColor;
  874. ue.pictureBox1.Image = img_cubicbodycentered;
  875. ue.Hide();
  876. p_element56.Controls.Add(ue);
  877. //
  878. ue = new User_Element();
  879. ue.lb_xh.Text = "57";
  880. ue.lb_yzzl.Text = "138.906";
  881. ue.lb_fh.Text = "La";
  882. ue.lb_ywm.Text = "Lanthanum";
  883. ue.lb_sx1.Text = "33.441";
  884. ue.lb_sx2.Text = "4.650";
  885. ue.lb_sx3.Text = "0.833";
  886. ue.zwysm = "镧";
  887. ue.BackColor = RareEarthColor;
  888. ue.pictureBox1.Image = img_Hexagonal;
  889. ue.Hide();
  890. p_element57.Controls.Add(ue);
  891. //
  892. ue = new User_Element();
  893. ue.lb_xh.Text = "72";
  894. ue.lb_yzzl.Text = "178.49";
  895. ue.lb_fh.Text = "Hf";
  896. ue.lb_ywm.Text = "Hafnium";
  897. ue.lb_sx1.Text = "55.801";
  898. ue.lb_sx2.Text = "7.898";
  899. ue.lb_sx3.Text = "1.644";
  900. ue.zwysm = "铪";
  901. ue.BackColor = TransltionMetalsColor;
  902. ue.pictureBox1.Image = img_Hexagonal;
  903. ue.Hide();
  904. p_element72.Controls.Add(ue);
  905. //
  906. ue = new User_Element();
  907. ue.lb_xh.Text = "73";
  908. ue.lb_yzzl.Text = "180.948";
  909. ue.lb_fh.Text = "Ta";
  910. ue.lb_ywm.Text = "Tantalum";
  911. ue.lb_sx1.Text = "57.450";
  912. ue.lb_sx2.Text = "8.145";
  913. ue.lb_sx3.Text = "1.709";
  914. ue.zwysm = "钽";
  915. ue.BackColor = TransltionMetalsColor;
  916. ue.pictureBox1.Image = img_cubicbodycentered;
  917. ue.Hide();
  918. p_element73.Controls.Add(ue);
  919. //
  920. ue = new User_Element();
  921. ue.lb_xh.Text = "74";
  922. ue.lb_yzzl.Text = "183.85";
  923. ue.lb_fh.Text = "W";
  924. ue.lb_ywm.Text = "Tungsten";
  925. ue.lb_sx1.Text = "59.305";
  926. ue.lb_sx2.Text = "8.396";
  927. ue.lb_sx3.Text = "1.774";
  928. ue.zwysm = "钨";
  929. ue.BackColor = TransltionMetalsColor;
  930. ue.pictureBox1.Image = img_cubicbodycentered;
  931. ue.Hide();
  932. p_element74.Controls.Add(ue);
  933. //
  934. ue = new User_Element();
  935. ue.lb_xh.Text = "75";
  936. ue.lb_yzzl.Text = "186.207";
  937. ue.lb_fh.Text = "Re";
  938. ue.lb_ywm.Text = "Rhenium";
  939. ue.lb_sx1.Text = "61.122";
  940. ue.lb_sx2.Text = "8.651";
  941. ue.lb_sx3.Text = "1.842";
  942. ue.zwysm = "铼";
  943. ue.BackColor = TransltionMetalsColor;
  944. ue.pictureBox1.Image = img_Hexagonal;
  945. ue.Hide();
  946. p_element75.Controls.Add(ue);
  947. //
  948. ue = new User_Element();
  949. ue.lb_xh.Text = "76";
  950. ue.lb_yzzl.Text = "190.2";
  951. ue.lb_fh.Text = "Os";
  952. ue.lb_ywm.Text = "Osmium";
  953. ue.lb_sx1.Text = "62.989";
  954. ue.lb_sx2.Text = "8.910";
  955. ue.lb_sx3.Text = "1.910";
  956. ue.zwysm = "锇";
  957. ue.BackColor = TransltionMetalsColor;
  958. ue.pictureBox1.Image = img_Hexagonal;
  959. ue.Hide();
  960. p_element76.Controls.Add(ue);
  961. //
  962. ue = new User_Element();
  963. ue.lb_xh.Text = "77";
  964. ue.lb_yzzl.Text = "192.22";
  965. ue.lb_fh.Text = "Ir";
  966. ue.lb_ywm.Text = "Iridium";
  967. ue.lb_sx1.Text = "64.906";
  968. ue.lb_sx2.Text = "9.174";
  969. ue.lb_sx3.Text = "1.978";
  970. ue.zwysm = "铱";
  971. ue.BackColor = TransltionMetalsColor;
  972. ue.pictureBox1.Image = img_cubicfacecentered;
  973. ue.Hide();
  974. p_element77.Controls.Add(ue);
  975. //
  976. ue = new User_Element();
  977. ue.lb_xh.Text = "78";
  978. ue.lb_yzzl.Text = "195.08";
  979. ue.lb_fh.Text = "Pt";
  980. ue.lb_ywm.Text = "Platinium";
  981. ue.lb_sx1.Text = "66.834";
  982. ue.lb_sx2.Text = "9.441";
  983. ue.lb_sx3.Text = "2.048";
  984. ue.zwysm = "铂";
  985. ue.BackColor = TransltionMetalsColor;
  986. ue.pictureBox1.Image = img_cubicfacecentered;
  987. ue.Hide();
  988. p_element78.Controls.Add(ue);
  989. //
  990. ue = new User_Element();
  991. ue.lb_xh.Text = "79";
  992. ue.lb_yzzl.Text = "196.967";
  993. ue.lb_fh.Text = "Au";
  994. ue.lb_ywm.Text = "Gold";
  995. ue.lb_sx1.Text = "68.804";
  996. ue.lb_sx2.Text = "9.712";
  997. ue.lb_sx3.Text = "2.120";
  998. ue.zwysm = "金";
  999. ue.BackColor = TransltionMetalsColor;
  1000. ue.pictureBox1.Image = img_cubicfacecentered;
  1001. ue.Hide();
  1002. p_element79.Controls.Add(ue);
  1003. //
  1004. ue = new User_Element();
  1005. ue.lb_xh.Text = "80";
  1006. ue.lb_yzzl.Text = "200.59";
  1007. ue.lb_fh.Text = "Hg";
  1008. ue.lb_ywm.Text = "Mercury";
  1009. ue.lb_sx1.Text = "70.806";
  1010. ue.lb_sx2.Text = "9.987";
  1011. ue.lb_sx3.Text = "2.191";
  1012. ue.zwysm = "汞";
  1013. ue.BackColor = TransltionMetalsColor;
  1014. ue.pictureBox1.Image = img_rhombohedral;
  1015. ue.Hide();
  1016. p_element80.Controls.Add(ue);
  1017. //
  1018. ue = new User_Element();
  1019. ue.lb_xh.Text = "81";
  1020. ue.lb_yzzl.Text = "204.38";
  1021. ue.lb_fh.Text = "Tl";
  1022. ue.lb_ywm.Text = "Thallium";
  1023. ue.lb_sx1.Text = "72.869";
  1024. ue.lb_sx2.Text = "10.256";
  1025. ue.lb_sx3.Text = "2.268";
  1026. ue.zwysm = "铊";
  1027. ue.BackColor = OtherMetalsColor;
  1028. ue.pictureBox1.Image = img_Hexagonal;
  1029. ue.Hide();
  1030. p_element81.Controls.Add(ue);
  1031. //
  1032. ue = new User_Element();
  1033. ue.lb_xh.Text = "82";
  1034. ue.lb_yzzl.Text = "207.2";
  1035. ue.lb_fh.Text = "Pb";
  1036. ue.lb_ywm.Text = "Lead";
  1037. ue.lb_sx1.Text = "74.989";
  1038. ue.lb_sx2.Text = "10.550";
  1039. ue.lb_sx3.Text = "2.342";
  1040. ue.zwysm = "铅";
  1041. ue.BackColor = OtherMetalsColor;
  1042. ue.pictureBox1.Image = img_cubicfacecentered;
  1043. ue.Hide();
  1044. p_element82.Controls.Add(ue);
  1045. //
  1046. ue = new User_Element();
  1047. ue.lb_xh.Text = "83";
  1048. ue.lb_yzzl.Text = "208.980";
  1049. ue.lb_fh.Text = "Bi";
  1050. ue.lb_ywm.Text = "Bismuth";
  1051. ue.lb_sx1.Text = "77.091";
  1052. ue.lb_sx2.Text = "10.837";
  1053. ue.lb_sx3.Text = "2.419";
  1054. ue.zwysm = "铋";
  1055. ue.BackColor = OtherMetalsColor;
  1056. ue.pictureBox1.Image = img_rhombohedral;
  1057. ue.Hide();
  1058. p_element83.Controls.Add(ue);
  1059. //
  1060. ue = new User_Element();
  1061. ue.lb_xh.Text = "84";
  1062. ue.lb_yzzl.Text = "(209)";
  1063. ue.lb_fh.Text = "Po";
  1064. ue.lb_ywm.Text = "Polonium";
  1065. ue.lb_sx1.Text = "79.272";
  1066. ue.lb_sx2.Text = "11.129";
  1067. ue.lb_sx3.Text = "2.505";
  1068. ue.zwysm = "钋";
  1069. ue.BackColor = MetalloidsColor;
  1070. ue.pictureBox1.Image = img_Monoclinic;
  1071. ue.Hide();
  1072. p_element84.Controls.Add(ue);
  1073. //
  1074. ue = new User_Element();
  1075. ue.lb_xh.Text = "85";
  1076. ue.lb_yzzl.Text = "(210)";
  1077. ue.lb_fh.Text = "At";
  1078. ue.lb_ywm.Text = "Astatine";
  1079. ue.lb_sx1.Text = "81.513";
  1080. ue.lb_sx2.Text = "11.425";
  1081. ue.lb_sx3.Text = "2.585";
  1082. ue.zwysm = "砹";
  1083. ue.BackColor = HalogensColor;
  1084. //ue.pictureBox1.Image = img_cubicfacecentered;
  1085. ue.Hide();
  1086. ue.pictureBox1.Hide();
  1087. p_element85.Controls.Add(ue);
  1088. //
  1089. ue = new User_Element();
  1090. ue.lb_xh.Text = "86";
  1091. ue.lb_yzzl.Text = "(222)";
  1092. ue.lb_fh.Text = "Rn";
  1093. ue.lb_ywm.Text = "Radon";
  1094. ue.lb_sx1.Text = "83.771";
  1095. ue.lb_sx2.Text = "11.725";
  1096. ue.lb_sx3.Text = "2.665";
  1097. ue.zwysm = "氡";
  1098. ue.BackColor = NobleGasesColor;
  1099. ue.pictureBox1.Image = img_cubicfacecentered;
  1100. ue.Hide();
  1101. p_element86.Controls.Add(ue);
  1102. //
  1103. ue = new User_Element();
  1104. ue.lb_xh.Text = "87";
  1105. ue.lb_yzzl.Text = "(223)";
  1106. ue.lb_fh.Text = "Fr";
  1107. ue.lb_ywm.Text = "Francium";
  1108. ue.lb_sx1.Text = "86.098";
  1109. ue.lb_sx2.Text = "12.029";
  1110. ue.lb_sx3.Text = "2.747";
  1111. ue.zwysm = "钫";
  1112. ue.BackColor = AlkaliEarthColor;
  1113. ue.pictureBox1.Image = img_cubicbodycentered;
  1114. ue.Hide();
  1115. p_element87.Controls.Add(ue);
  1116. //
  1117. ue = new User_Element();
  1118. ue.lb_xh.Text = "88";
  1119. ue.lb_yzzl.Text = "226.025";
  1120. ue.lb_fh.Text = "Ra";
  1121. ue.lb_ywm.Text = "Radium";
  1122. ue.lb_sx1.Text = "88.480";
  1123. ue.lb_sx2.Text = "12.338";
  1124. ue.lb_sx3.Text = "2.830";
  1125. ue.zwysm = "镭";
  1126. ue.BackColor = AlkalineEarthColor;
  1127. ue.pictureBox1.Image = img_cubicbodycentered;
  1128. ue.Hide();
  1129. p_element88.Controls.Add(ue);
  1130. //
  1131. ue = new User_Element();
  1132. ue.lb_xh.Text = "89";
  1133. ue.lb_yzzl.Text = "227.028";
  1134. ue.lb_fh.Text = "Ac";
  1135. ue.lb_ywm.Text = "Actinium";
  1136. ue.lb_sx1.Text = "90.880";
  1137. ue.lb_sx2.Text = "12.650";
  1138. ue.lb_sx3.Text = "2.915";
  1139. ue.zwysm = "锕";
  1140. ue.BackColor = RareEarthColor;
  1141. ue.pictureBox1.Image = img_cubicfacecentered;
  1142. ue.Hide();
  1143. p_element89.Controls.Add(ue);
  1144. //最下方的28个元素
  1145. //
  1146. ue = new User_Element();
  1147. ue.lb_xh.Text = "58";
  1148. ue.lb_yzzl.Text = "140.12";
  1149. ue.lb_fh.Text = "Ce";
  1150. ue.lb_ywm.Text = "Cerium";
  1151. ue.lb_sx1.Text = "34.717";
  1152. ue.lb_sx2.Text = "4.839";
  1153. ue.lb_sx3.Text = "0.883";
  1154. ue.zwysm = "铈";
  1155. ue.BackColor = RareEarthColor;
  1156. ue.pictureBox1.Image = img_cubicfacecentered;
  1157. ue.Hide();
  1158. p_element58.Controls.Add(ue);
  1159. //
  1160. ue = new User_Element();
  1161. ue.lb_xh.Text = "59";
  1162. ue.lb_yzzl.Text = "140.908";
  1163. ue.lb_fh.Text = "Pr";
  1164. ue.lb_ywm.Text = "Praseodymium";
  1165. ue.lb_sx1.Text = "36.031";
  1166. ue.lb_sx2.Text = "5.033";
  1167. ue.lb_sx3.Text = "0.929";
  1168. ue.zwysm = "镨";
  1169. ue.BackColor = RareEarthColor;
  1170. ue.pictureBox1.Image = img_Hexagonal;
  1171. ue.Hide();
  1172. p_element59.Controls.Add(ue);
  1173. //
  1174. ue = new User_Element();
  1175. ue.lb_xh.Text = "60";
  1176. ue.lb_yzzl.Text = "144.24";
  1177. ue.lb_fh.Text = "Nd";
  1178. ue.lb_ywm.Text = "Neodymium";
  1179. ue.lb_sx1.Text = "37.358";
  1180. ue.lb_sx2.Text = "5.229";
  1181. ue.lb_sx3.Text = "0.978";
  1182. ue.zwysm = "钕";
  1183. ue.BackColor = RareEarthColor;
  1184. ue.pictureBox1.Image = img_Hexagonal;
  1185. ue.Hide();
  1186. p_element60.Controls.Add(ue);
  1187. //
  1188. ue = new User_Element();
  1189. ue.lb_xh.Text = "61";
  1190. ue.lb_yzzl.Text = "(145)";
  1191. ue.lb_fh.Text = "Pm";
  1192. ue.lb_ywm.Text = "Promethium";
  1193. ue.lb_sx1.Text = "38.725";
  1194. ue.lb_sx2.Text = "5.432";
  1195. ue.lb_sx3.Text = "1.032";
  1196. ue.zwysm = "钷";
  1197. ue.BackColor = RareEarthColor;
  1198. ue.pictureBox1.Image = img_Hexagonal;
  1199. ue.Hide();
  1200. p_element61.Controls.Add(ue);
  1201. //
  1202. ue = new User_Element();
  1203. ue.lb_xh.Text = "62";
  1204. ue.lb_yzzl.Text = "150.36";
  1205. ue.lb_fh.Text = "Sm";
  1206. ue.lb_ywm.Text = "Samarium";
  1207. ue.lb_sx1.Text = "40.118";
  1208. ue.lb_sx2.Text = "5.635";
  1209. ue.lb_sx3.Text = "1.081";
  1210. ue.zwysm = "钐";
  1211. ue.BackColor = RareEarthColor;
  1212. ue.pictureBox1.Image = img_rhombohedral;
  1213. ue.Hide();
  1214. p_element62.Controls.Add(ue);
  1215. //
  1216. ue = new User_Element();
  1217. ue.lb_xh.Text = "63";
  1218. ue.lb_yzzl.Text = "151.97";
  1219. ue.lb_fh.Text = "Eu";
  1220. ue.lb_ywm.Text = "Europium";
  1221. ue.lb_sx1.Text = "41.534";
  1222. ue.lb_sx2.Text = "5.845";
  1223. ue.lb_sx3.Text = "1.137";
  1224. ue.zwysm = "铕";
  1225. ue.BackColor = RareEarthColor;
  1226. ue.pictureBox1.Image = img_cubicbodycentered;
  1227. ue.Hide();
  1228. p_element63.Controls.Add(ue);
  1229. //
  1230. ue = new User_Element();
  1231. ue.lb_xh.Text = "64";
  1232. ue.lb_yzzl.Text = "157.25";
  1233. ue.lb_fh.Text = "Gd";
  1234. ue.lb_ywm.Text = "Gadolinium";
  1235. ue.lb_sx1.Text = "42.992";
  1236. ue.lb_sx2.Text = "6.056";
  1237. ue.lb_sx3.Text = "1.185";
  1238. ue.zwysm = "铕";
  1239. ue.BackColor = RareEarthColor;
  1240. ue.pictureBox1.Image = img_Hexagonal;
  1241. ue.Hide();
  1242. p_element64.Controls.Add(ue);
  1243. //
  1244. ue = new User_Element();
  1245. ue.lb_xh.Text = "65";
  1246. ue.lb_yzzl.Text = "158.925";
  1247. ue.lb_fh.Text = "Tb";
  1248. ue.lb_ywm.Text = "Terbium";
  1249. ue.lb_sx1.Text = "44.476";
  1250. ue.lb_sx2.Text = "6.272";
  1251. ue.lb_sx3.Text = "1.240";
  1252. ue.zwysm = "铽";
  1253. ue.BackColor = RareEarthColor;
  1254. ue.pictureBox1.Image = img_Hexagonal;
  1255. ue.Hide();
  1256. p_element65.Controls.Add(ue);
  1257. //
  1258. ue = new User_Element();
  1259. ue.lb_xh.Text = "66";
  1260. ue.lb_yzzl.Text = "162.50";
  1261. ue.lb_fh.Text = "Dy";
  1262. ue.lb_ywm.Text = "Dysprosium";
  1263. ue.lb_sx1.Text = "45.997";
  1264. ue.lb_sx2.Text = "6.494";
  1265. ue.lb_sx3.Text = "1.293";
  1266. ue.zwysm = "镝";
  1267. ue.BackColor = RareEarthColor;
  1268. ue.pictureBox1.Image = img_Hexagonal;
  1269. ue.Hide();
  1270. p_element66.Controls.Add(ue);
  1271. //
  1272. ue = new User_Element();
  1273. ue.lb_xh.Text = "67";
  1274. ue.lb_yzzl.Text = "164.930";
  1275. ue.lb_fh.Text = "Ho";
  1276. ue.lb_ywm.Text = "Holmium";
  1277. ue.lb_sx1.Text = "47.534";
  1278. ue.lb_sx2.Text = "6.719";
  1279. ue.lb_sx3.Text = "1.347";
  1280. ue.zwysm = "钬";
  1281. ue.BackColor = RareEarthColor;
  1282. ue.pictureBox1.Image = img_Hexagonal;
  1283. ue.Hide();
  1284. p_element67.Controls.Add(ue);
  1285. //
  1286. ue = new User_Element();
  1287. ue.lb_xh.Text = "68";
  1288. ue.lb_yzzl.Text = "167.26";
  1289. ue.lb_fh.Text = "Er";
  1290. ue.lb_ywm.Text = "Erbium";
  1291. ue.lb_sx1.Text = "49.100";
  1292. ue.lb_sx2.Text = "6.947";
  1293. ue.lb_sx3.Text = "1.405";
  1294. ue.zwysm = "铒";
  1295. ue.BackColor = RareEarthColor;
  1296. ue.pictureBox1.Image = img_Hexagonal;
  1297. ue.Hide();
  1298. p_element68.Controls.Add(ue);
  1299. //
  1300. ue = new User_Element();
  1301. ue.lb_xh.Text = "69";
  1302. ue.lb_yzzl.Text = "168.934";
  1303. ue.lb_fh.Text = "Tm";
  1304. ue.lb_ywm.Text = "Thulium";
  1305. ue.lb_sx1.Text = "50.730";
  1306. ue.lb_sx2.Text = "7.179";
  1307. ue.lb_sx3.Text = "1.462";
  1308. ue.zwysm = "铥";
  1309. ue.BackColor = RareEarthColor;
  1310. ue.pictureBox1.Image = img_Hexagonal;
  1311. ue.Hide();
  1312. p_element69.Controls.Add(ue);
  1313. //
  1314. ue = new User_Element();
  1315. ue.lb_xh.Text = "70";
  1316. ue.lb_yzzl.Text = "173.04";
  1317. ue.lb_fh.Text = "Yb";
  1318. ue.lb_ywm.Text = "Ytterbium";
  1319. ue.lb_sx1.Text = "52.362";
  1320. ue.lb_sx2.Text = "7.414";
  1321. ue.lb_sx3.Text = "1.521";
  1322. ue.zwysm = "镱";
  1323. ue.BackColor = RareEarthColor;
  1324. ue.pictureBox1.Image = img_cubicfacecentered;
  1325. ue.Hide();
  1326. p_element70.Controls.Add(ue);
  1327. //
  1328. ue = new User_Element();
  1329. ue.lb_xh.Text = "71";
  1330. ue.lb_yzzl.Text = "174.967";
  1331. ue.lb_fh.Text = "Lu";
  1332. ue.lb_ywm.Text = "Lutetium";
  1333. ue.lb_sx1.Text = "54.078";
  1334. ue.lb_sx2.Text = "7.654";
  1335. ue.lb_sx3.Text = "1.581";
  1336. ue.zwysm = "镥";
  1337. ue.BackColor = RareEarthColor;
  1338. ue.pictureBox1.Image = img_Hexagonal;
  1339. ue.Hide();
  1340. p_element71.Controls.Add(ue);
  1341. //
  1342. ue = new User_Element();
  1343. ue.lb_xh.Text = "90";
  1344. ue.lb_yzzl.Text = "232.038";
  1345. ue.lb_fh.Text = "Th";
  1346. ue.lb_ywm.Text = "Thorium";
  1347. ue.lb_sx1.Text = "93.382";
  1348. ue.lb_sx2.Text = "12.967";
  1349. ue.lb_sx3.Text = "2.991";
  1350. ue.zwysm = "钍";
  1351. ue.BackColor = RareEarthColor;
  1352. ue.pictureBox1.Image = img_cubicfacecentered;
  1353. ue.Hide();
  1354. p_element90.Controls.Add(ue);
  1355. //
  1356. ue = new User_Element();
  1357. ue.lb_xh.Text = "91";
  1358. ue.lb_yzzl.Text = "231.036";
  1359. ue.lb_fh.Text = "Pa";
  1360. ue.lb_ywm.Text = "Protoactinium";
  1361. ue.lb_sx1.Text = "95.886";
  1362. ue.lb_sx2.Text = "13.288";
  1363. ue.lb_sx3.Text = "3.077";
  1364. ue.zwysm = "镤";
  1365. ue.BackColor = RareEarthColor;
  1366. ue.pictureBox1.Image = img_orthohombic;
  1367. ue.Hide();
  1368. p_element91.Controls.Add(ue);
  1369. //
  1370. ue = new User_Element();
  1371. ue.lb_xh.Text = "92";
  1372. ue.lb_yzzl.Text = "238.029";
  1373. ue.lb_fh.Text = "U";
  1374. ue.lb_ywm.Text = "Uranium";
  1375. ue.lb_sx1.Text = "98.434";
  1376. ue.lb_sx2.Text = "13.612";
  1377. ue.lb_sx3.Text = "3.165";
  1378. ue.zwysm = "铀";
  1379. ue.BackColor = RareEarthColor;
  1380. ue.pictureBox1.Image = img_orthohombic;
  1381. ue.Hide();
  1382. p_element92.Controls.Add(ue);
  1383. //
  1384. ue = new User_Element();
  1385. ue.lb_xh.Text = "93";
  1386. ue.lb_yzzl.Text = "237.048";
  1387. ue.lb_fh.Text = "Np";
  1388. ue.lb_ywm.Text = "Neptunium";
  1389. ue.lb_sx1.Text = "100.800";
  1390. ue.lb_sx2.Text = "13.941";
  1391. ue.lb_sx3.Text = "3.253";
  1392. ue.zwysm = "镎";
  1393. ue.BackColor = RareEarthColor;
  1394. ue.pictureBox1.Image = img_orthohombic;
  1395. ue.Hide();
  1396. p_element93.Controls.Add(ue);
  1397. //
  1398. ue = new User_Element();
  1399. ue.lb_xh.Text = "94";
  1400. ue.lb_yzzl.Text = "(244)";
  1401. ue.lb_fh.Text = "Pu";
  1402. ue.lb_ywm.Text = "Plutonium";
  1403. ue.lb_sx1.Text = "103.320";
  1404. ue.lb_sx2.Text = "14.275";
  1405. ue.lb_sx3.Text = "3.344";
  1406. ue.zwysm = "钚";
  1407. ue.BackColor = RareEarthColor;
  1408. ue.pictureBox1.Image = img_Monoclinic;
  1409. ue.Hide();
  1410. p_element94.Controls.Add(ue);
  1411. //
  1412. ue = new User_Element();
  1413. ue.lb_xh.Text = "95";
  1414. ue.lb_yzzl.Text = "(243)";
  1415. ue.lb_fh.Text = "Am";
  1416. ue.lb_ywm.Text = "Americium";
  1417. ue.lb_sx1.Text = "105.970";
  1418. ue.lb_sx2.Text = "14.615";
  1419. ue.lb_sx3.Text = "3.435";
  1420. ue.zwysm = "镅";
  1421. ue.BackColor = RareEarthColor;
  1422. ue.pictureBox1.Image = img_Hexagonal;
  1423. ue.Hide();
  1424. p_element95.Controls.Add(ue);
  1425. //
  1426. ue = new User_Element();
  1427. ue.lb_xh.Text = "96";
  1428. ue.lb_yzzl.Text = "(247)";
  1429. ue.lb_fh.Text = "Cm";
  1430. ue.lb_ywm.Text = "Curium";
  1431. ue.lb_sx1.Text = "108.737";
  1432. ue.lb_sx2.Text = "14.961";
  1433. ue.lb_sx3.Text = "3.539";
  1434. ue.zwysm = "锔";
  1435. ue.BackColor = RareEarthColor;
  1436. //ue.pictureBox1.Visible = true;
  1437. ue.pictureBox1.Hide();
  1438. ue.Hide();
  1439. p_element96.Controls.Add(ue);
  1440. //
  1441. ue = new User_Element();
  1442. ue.lb_xh.Text = "97";
  1443. ue.lb_yzzl.Text = "(247)";
  1444. ue.lb_fh.Text = "Bk";
  1445. ue.lb_ywm.Text = "Berkelium";
  1446. ue.lb_sx1.Text = "111.676";
  1447. ue.lb_sx2.Text = "15.309";
  1448. ue.lb_sx3.Text = "3.634";
  1449. ue.zwysm = "锫";
  1450. ue.BackColor = RareEarthColor;
  1451. ue.pictureBox1.Hide();
  1452. ue.Hide();
  1453. p_element97.Controls.Add(ue);
  1454. //
  1455. ue = new User_Element();
  1456. ue.lb_xh.Text = "98";
  1457. ue.lb_yzzl.Text = "(251)";
  1458. ue.lb_fh.Text = "Cf";
  1459. ue.lb_ywm.Text = "Californium";
  1460. ue.lb_sx1.Text = "114.778";
  1461. ue.lb_sx2.Text = "15.661";
  1462. ue.lb_sx3.Text = "3.731";
  1463. ue.zwysm = "锎";
  1464. ue.BackColor = RareEarthColor;
  1465. ue.pictureBox1.Hide();
  1466. ue.Hide();
  1467. p_element98.Controls.Add(ue);
  1468. //
  1469. ue = new User_Element();
  1470. ue.lb_xh.Text = "99";
  1471. ue.lb_yzzl.Text = "(252)";
  1472. ue.lb_fh.Text = "Es";
  1473. ue.lb_ywm.Text = "Einsteinium";
  1474. ue.lb_sx1.Text = "-";
  1475. ue.lb_sx2.Text = "16.018";
  1476. ue.lb_sx3.Text = "3.829";
  1477. ue.zwysm = "锿";
  1478. ue.BackColor = RareEarthColor;
  1479. ue.pictureBox1.Hide();
  1480. ue.Hide();
  1481. p_element99.Controls.Add(ue);
  1482. //
  1483. ue = new User_Element();
  1484. ue.lb_xh.Text = "100";
  1485. ue.lb_yzzl.Text = "(257)";
  1486. ue.lb_fh.Text = "Fm";
  1487. ue.lb_ywm.Text = "Fermium";
  1488. ue.lb_sx1.Text = "";
  1489. ue.lb_sx2.Text = "";
  1490. ue.lb_sx3.Text = "";
  1491. ue.zwysm = "镄";
  1492. ue.BackColor = RareEarthColor;
  1493. ue.pictureBox1.Hide();
  1494. ue.Hide();
  1495. p_element100.Controls.Add(ue);
  1496. //
  1497. ue = new User_Element();
  1498. ue.lb_xh.Text = "101";
  1499. ue.lb_yzzl.Text = "(258)";
  1500. ue.lb_fh.Text = "Md";
  1501. ue.lb_ywm.Text = "Mendelevium";
  1502. ue.lb_sx1.Text = "";
  1503. ue.lb_sx2.Text = "";
  1504. ue.lb_sx3.Text = "";
  1505. ue.zwysm = "钔";
  1506. ue.BackColor = RareEarthColor;
  1507. ue.pictureBox1.Hide();
  1508. ue.Hide();
  1509. p_element101.Controls.Add(ue);
  1510. //
  1511. ue = new User_Element();
  1512. ue.lb_xh.Text = "102";
  1513. ue.lb_yzzl.Text = "(259)";
  1514. ue.lb_fh.Text = "No";
  1515. ue.lb_ywm.Text = "Nobelium";
  1516. ue.lb_sx1.Text = "";
  1517. ue.lb_sx2.Text = "";
  1518. ue.lb_sx3.Text = "";
  1519. ue.zwysm = "锘";
  1520. ue.BackColor = RareEarthColor;
  1521. ue.pictureBox1.Hide();
  1522. ue.Hide();
  1523. p_element102.Controls.Add(ue);
  1524. //
  1525. ue = new User_Element();
  1526. ue.lb_xh.Text = "103";
  1527. ue.lb_yzzl.Text = "(260)";
  1528. ue.lb_fh.Text = "Lr";
  1529. ue.lb_ywm.Text = "Lawrencium";
  1530. ue.lb_sx1.Text = "";
  1531. ue.lb_sx2.Text = "";
  1532. ue.lb_sx3.Text = "";
  1533. ue.zwysm = "铹";
  1534. ue.BackColor = RareEarthColor;
  1535. ue.pictureBox1.Hide();
  1536. ue.Hide();
  1537. p_element103.Controls.Add(ue);
  1538. }
  1539. public void Show_User_element()
  1540. {
  1541. foreach (Control uc in panel1.Controls)
  1542. {
  1543. //第二步,再找到小panel
  1544. if (uc.Name.IndexOf("p_element") > -1)
  1545. {
  1546. //第三步,里面还有一层,这个才是user_element
  1547. foreach (Control uc2 in uc.Controls)
  1548. {
  1549. User_Element ue = (User_Element)uc2;
  1550. ue.Show();
  1551. }
  1552. }
  1553. }
  1554. }
  1555. #endregion
  1556. #region 图像加载
  1557. public void picturebox_fscl()
  1558. {
  1559. Image img = pictureBox1.Image;
  1560. img = RePic((Bitmap)img, 32, 32);
  1561. pictureBox1.Image = img;
  1562. img = pictureBox2.Image;
  1563. img = RePic((Bitmap)img, 32, 32);
  1564. pictureBox2.Image = img;
  1565. img = pictureBox3.Image;
  1566. img = RePic((Bitmap)img, 32, 32);
  1567. pictureBox3.Image = img;
  1568. img = pictureBox4.Image;
  1569. img = RePic((Bitmap)img, 32, 32);
  1570. pictureBox4.Image = img;
  1571. img = pictureBox5.Image;
  1572. img = RePic((Bitmap)img, 32, 32);
  1573. pictureBox5.Image = img;
  1574. img = pictureBox6.Image;
  1575. img = RePic((Bitmap)img, 32, 32);
  1576. pictureBox6.Image = img;
  1577. img = pictureBox7.Image;
  1578. img = RePic((Bitmap)img, 32, 32);
  1579. pictureBox7.Image = img;
  1580. img = pictureBox8.Image;
  1581. img = RePic((Bitmap)img, 32, 32);
  1582. pictureBox8.Image = img;
  1583. }
  1584. public Bitmap RePic(Bitmap mybm, int width, int height)
  1585. {
  1586. Bitmap bm = new Bitmap(width, height);
  1587. int x, y;
  1588. Color pixel;
  1589. for (x = 0; x < width; x++)
  1590. {
  1591. for (y = 0; y < height; y++)
  1592. {
  1593. pixel = mybm.GetPixel(x, y);
  1594. if (pixel.ToArgb() == -16777216)
  1595. {
  1596. bm.SetPixel(x, y, Color.FromArgb(255, 255, 255));
  1597. }
  1598. }
  1599. }
  1600. return bm;
  1601. }
  1602. #endregion
  1603. }
  1604. }