예제 #1
0
        void tProximoScanear(int Tipo, string[] Enderecos, object Valor)
        {
            Thread TSc;

            if (Tipo == 0)
            {
                int Value = Convert.ToInt32(Valor);
                TSc = new Thread(() => ThreadProximoScanearInt(Enderecos, Value));
            }
            else
            {
                string Value = Convert.ToString(Valor);
                TSc = new Thread(() => ThreadProximoScanearString(Enderecos, Value));
            }
            TSc.Start();
        }
예제 #2
0
        void tNovoScan(int Tipo, object Valor)
        {
            Thread TSc;

            if (Tipo == 0)
            {
                int Value = Convert.ToInt32(Valor);
                TSc = new Thread(() => ThreadNovoScannerInt(Value));
            }
            else
            {
                string Value = Convert.ToString(Valor);
                TSc = new Thread(() => ThreadNovoScanearString(Value));
            }

            TSc.Start();
        }