예제 #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();
        }
예제 #5
0
        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());
                }
            }
        }