static public string [] InitializareSefID(string cod)
        {
            string sStream = null;
            const string sSeparatori2 = "#";
            WebService.PreluareDate ws;
            string[] returnString= new string[3];

            try
            {
                ws = new WebService.PreluareDate();
                ws.Proxy = System.Net.GlobalProxySelection.GetEmptyWebProxy();
                sStream = ws.Initializare(cod); // Initializare SefID 

                Debug.WriteLine("sStream= " + sStream);
                if ((sStream == null) || (sStream.Trim().Length == 0)) { return null; }

                if (sStream == "Codul nu este asociat unui sef echipa!")
                {
                    returnString[0] = "Codul nu este asociat unui sef echipa!";
                    return returnString;
                }
            }
            catch   //Ws no reply
            {
               // MessageBox.Show("Cod incorect");
                //TODO create exception EXC_DBRemoteServerConnectionError();
                //throw new EXC_DBRemoteServerConnectionError();
                return null;
            }
            finally
            {
                ws = null;
            }

            try
            {

               

                string[] sAtomi1 = sStream.Split(sSeparatori2.ToCharArray());
                string SefID = sAtomi1[0];
                string Nume = sAtomi1[1];
                string Prenume = sAtomi1[2];
                string Firma = sAtomi1[3];
                Debug.WriteLine("SefID: "+SefID +" Nume: "+ Nume +" Prenume: "+ Prenume +" Firma: "+ Firma);

                
                returnString[0] = SefID;
                returnString[1] = Nume;
                returnString[2] = Prenume;
                /*
                LoginForm.sefID = SefID;
                LoginForm.nume = Nume;
                LoginForm.prenume = Prenume;*/
            }
            catch
            {
                return null;
                //TODO create exception EXC_FormatIncorect();
                //throw new EXC_FormatIncorect();
            }
            return returnString;
        }