Ejemplo n.º 1
0
        private void BtnAddAgent_Click(object sender, EventArgs e)
        {
            var lookup = new FrmLookup(ModGlobal.ModAgents,
                                       _formStatus);

            lookup.ShowDialog();

            if (lookup.Id != 0)
            {
                AgentId   = lookup.Id;
                AgentName = lookup.Name;
            }
        }
Ejemplo n.º 2
0
        private void BtnLotAdd_Click(object sender, EventArgs e)
        {
            var lookup = new FrmLookup(ModGlobal.ModLots,
                                       _formStatus);

            lookup.ShowDialog();

            if (lookup.Id != 0)
            {
                LotId          = lookup.Id;
                LotDescription = lookup.Name;
                txtLot.Text    = LotDescription;
                txtAmount.Text = lookup.Price;
            }
        }