Exemplo n.º 1
0
        private void txtContractNo_Click(object sender, EventArgs e)
        {
            FormPurchaseRequisition from = new FormPurchaseRequisition();

            //from.signOfOpen = this.Name;
            StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            if (from.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            txtContractNo.Text = string.Empty;
            txtContractNo.Text = from.GetContractNo;
        }
        private void txtpurchasecode_Click(object sender, EventArgs e)
        {
            FormPurchaseRequisition from = new FormPurchaseRequisition();

            from.StartPosition = FormStartPosition.CenterParent;
            if (from.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            txtpurchasecode.Text   = from.fish.ContractNo;
            txtPurchasingUnit.Text = from.fish.Supplier;
            txtbackDeposit.Text    = from.fish.Openbank;
            txtPayAcount.Text      = from.fish.Accountnumber;
        }