コード例 #1
0
ファイル: frmCauhinhOutput.cs プロジェクト: tayduivn/mdebv
 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
     { }
 }
コード例 #2
0
 public clsTuongtac()
 {
     //
     // TODO: Add constructor logic here
     //
     flag_language = int.Parse(m.Thongso("Ngonngu").ToString());
 }
コード例 #3
0
ファイル: frmOutput.cs プロジェクト: tayduivn/mdebv
 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();
 }
コード例 #4
0
ファイル: ResourceManager.cs プロジェクト: tayduivn/mdebv
        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);
        }