Пример #1
0
        void custId()
        {
            connDB gnum = new connDB();

            gnum.nexcust();
            int nextCust = Int32.Parse(loginfo.custId) + 1;

            loginfo.custId2 = loginfo.custId1;
        }
Пример #2
0
        void custId()
        {
            connDB gnum = new connDB();

            gnum.nexcust();
            int nextCust = Int32.Parse(loginfo.custId) + 1;

            custID.Text     = nextCust.ToString();
            loginfo.custId1 = custID.Text;
            loginfo.custId2 = loginfo.custId1;
        }