private void frmCauhinhOutput_Load(object sender, EventArgs e) { try { tdx.Value = decimal.Parse(m.Thongso("x_lcd")); tdy.Value = decimal.Parse(m.Thongso("y_lcd")); tdR.Value = decimal.Parse(m.Thongso("r_lcd")); tdC.Value = decimal.Parse(m.Thongso("c_lcd")); tdt.Value = decimal.Parse(m.Thongso("t_lcd")); } catch { } }
public clsTuongtac() { // // TODO: Add constructor logic here // flag_language = int.Parse(m.Thongso("Ngonngu").ToString()); }
private void frmOutput_Load(object sender, EventArgs e) { try { this.Location = new Point(int.Parse(m.Thongso("x_lcd")), int.Parse(m.Thongso("y_lcd"))); this.Width = int.Parse(m.Thongso("r_lcd")); this.Height = int.Parse(m.Thongso("c_lcd")); timer1.Interval = int.Parse(m.Thongso("t_lcd")) * 60000; timer1.Start(); } catch { timer1.Interval = 60000; timer1.Start(); } load_grid(); AddGridTableStyle(); AddGridTableStyle1(); }
public static string get_file() { string m_file = ""; int ngonngu = 0; LibMedi.AccessData m = new LibMedi.AccessData(); ngonngu = int.Parse(m.Thongso("Ngonngu").ToString()); switch (ngonngu) { case 0: m_file = "MEDISOFTDESKTOP_vn"; break; case 1: m_file = "MEDISOFTDESKTOP_en"; break; case 2: m_file = "MEDISOFTDESKTOP_ot"; break; } return(m_file); }