示例#1
0
        private void btnLocal_Click(object sender, EventArgs e)
        {
            FrmLocal local = new FrmLocal();

            local.ShowDialog();

            if (local.DialogResult == DialogResult.OK)
            {
                central.Llamadas.Add(local.GetLlamada);
                ActualizarLista();
            }
        }
示例#2
0
        private void btnLocal_Click(object sender, EventArgs e)
        {
            FrmLocal form = new FrmLocal();

            form.ShowDialog();

            if (form.DialogResult == DialogResult.OK)
            {
                this.central.Llamadas.Add(form.GetLLamada);
                ActualizarLista();
            }
        }
示例#3
0
        private void btnLlamadaLocal_Click(object sender, EventArgs e)
        {
            FrmLocal frm = new FrmLocal();

            frm.ShowDialog();

            if (frm.DialogResult == DialogResult.OK)
            {
                centralita += frm.MiLlamada;
                this.ActualizarLista();
            }
        }
示例#4
0
        private void BtnLocal_Click(object sender, EventArgs e)
        {
            //mediante la propiedad llamada de llamada tomo el dato, frmLlamada.Llamada
            FrmLocal frmLocal = new FrmLocal();

            frmLocal.ShowDialog();
            if (frmLocal.DialogResult == DialogResult.OK)
            {
                central += frmLocal.Local;
            }

            actualizarListado();
        }
        private void Btn_llamadaLocal_Click(object sender, EventArgs e)
        {
            FrmLocal frmLocal = new FrmLocal();

            frmLocal.ShowDialog();

            if (frmLocal.DialogResult == DialogResult.OK)
            {
                this.telefonica += frmLocal.Local;
                int tam = this.telefonica.Llamadas.Count;
                lst_llamada.Items.Clear();

                for (int i = 0; i < tam; i++)
                {
                    lst_llamada.Items.Add(this.telefonica.Llamadas[i].ToString());
                }
            }
        }