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 Form_PeriodicTable : Form { //国际化 Language lan; System.Collections.Hashtable table; public Form_PeriodicTable() { InitializeComponent(); } public Form_PeriodicTable(Point point) { InitializeComponent(); } private void Form_PeriodicTable_Load(object sender, EventArgs e) { lan = new Language(this); table = lan.GetNameTable("Form_MaxEDSRules"); if (table["language"].ToString() == "EN") { this.BackgroundImage = global::OTSPartA_STDEditor.Properties.Resources.PeriodicTable_EN; } else { this.BackgroundImage = global::OTSPartA_STDEditor.Properties.Resources.PeriodicTable_ZH; } } //private const int CP_NOCLOSE_BUTTON = 0x200; //protected override CreateParams CreateParams //{ // get // { // CreateParams myCp = base.CreateParams; // myCp.ClassStyle = myCp.ClassStyle | CP_NOCLOSE_BUTTON; // return myCp; // } //} } }