Ejemplo n.º 1
0
        private void miContract_Click(object sender, EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            clientUID = GetClientUIDSelected();

            if (clientUID <= 0)
            {
                return;
            }

            //Client client = new Client(HeaderInfo.Instance);
            //client.UID = Utils.ClientID;

            ClientReadRequest crr = new ClientReadRequest();

            crr.clientUID  = Utils.ClientID;
            crr.headerInfo = HeaderInfo.Instance;

            var crresponse = BUSClient.ClientRead(crr);

            if (crresponse.client.UID <= 0)
            {
                return;
            }

            UIClientContract uicc = new UIClientContract(this, crresponse.client);

            uicc.Show();

            Cursor.Current = Cursors.Arrow;
        }
Ejemplo n.º 2
0
        // -----------------------------------------------------------------
        // Screen events
        // -----------------------------------------------------------------

        private void btnContractEdit_Click(object sender, EventArgs e)
        {
            UIClientContract uicc = new UIClientContract(this, client);

            uicc.Show();
        }