Esempio n. 1
0
        public Orders()
        {
            oMySql    = new  MySQL("192.168.254.66", "signatv9_OSAS"); // Sql Open
            oCustomer = new dSERVE2.dSERVEClass();                     // Open dServe2

            if (oCustomer.dsConnect(dServe, 8227, 50000) != -1)        //Connecting
            {
                this.Error = "Not Connected!!";
                return;
            }
        }
Esempio n. 2
0
        public bool Connect()
        {
            oFile = new dSERVE2.dSERVEClass();              // Open dServe2

            if (oFile.dsConnect(dServe, 8227, 50000) != -1) //Connecting
            {
                Error = "Not Connected!!";
                return(false);
            }
            return(true);
        }
Esempio n. 3
0
        public OSAS_Orders(String CompanyID, String CustomerID)
        {
            this.sCompanyID  = CompanyID;
            this.sCustomerID = CustomerID;

            oMySql    = new MySql();                            // Sql Open
            oCustomer = new dSERVE2.dSERVEClass();              // Open dServe2

            if (oCustomer.dsConnect(dServe, 8227, 50000) != -1) //Connecting
            {
                MessageBox.Show("Not Connected!!");
                return;
            }
        }
Esempio n. 4
0
        public OSAS_Orders()
        {
            oMySql = new MySql();              // Sql Open


            oCustomer = new dSERVE2.dSERVEClass();             // Open dServe2


            if (oCustomer.dsConnect(dServe, 8227, 50000) != -1)         //Connecting
            {
                MessageBox.Show("Not Connected!!");
                return;
            }
        }
Esempio n. 5
0
        public Orders(String CompanyID, String CustomerID)
        {
            this.sCompanyID  = CompanyID;
            this.sCustomerID = CustomerID;

            //MySQL = new  MySQL("192.168.254.66", "signatv9_OSAS"); // Sql Open
            oMySql    = new  MySQL();
            oCustomer = new dSERVE2.dSERVEClass();              // Open dServe2

            if (oCustomer.dsConnect(dServe, 8227, 50000) != -1) //Connecting
            {
                MessageBox.Show("Not Connected!!");
                return;
            }
        }