private void Form1_Load(object sender, System.EventArgs e) { DB db = new DB("localhost", "root", "1234", "3306"); db.DBcon(); db.DBorTable_Create(); DB.query_execute("select * from setting;", "select"); //%timer_sensor.Interval = (int)variable.save_period * 6000; //timer_sensor.Interval = 1000; }