Ejemplo n.º 1
0
        void BtnPendenciasClick(object sender, EventArgs e)
        {
            fCadPendencias frmCad = new fCadPendencias(true);

            frmCad.ShowDialog();
            if (frmCad.result)
            {
                CarregaPendencias();
                cbxCodPendencias.Text = frmCad.codigo;
                int n = cbxCodPendencias.SelectedIndex;
                cbxPendencias.Text = (n >= 0) ? cbxPendencias.Items[n].ToString() : "";
            }
            cbxPendencias.Focus();
        }
Ejemplo n.º 2
0
        void MniPendenciasClick(object sender, EventArgs e)
        {
            fCadPendencias frm = new fCadPendencias(false);

            frm.ShowDialog();
        }