예제 #1
0
        void btnNuevo_Click(object sender, EventArgs e)
        {
            FrmTrasladosItem f = new FrmTrasladosItem();

            f.Incluir();
            if (f.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                Busqueda();
            }
        }
예제 #2
0
        void btnVer_Click(object sender, EventArgs e)
        {
            if (this.bs.Current == null)
            {
                return;
            }
            FrmTrasladosItem f = new FrmTrasladosItem();

            f.registro = (Traslado)this.bs.Current;
            f.Ver();
        }
예제 #3
0
        void btnEditar_Click(object sender, EventArgs e)
        {
            if (this.bs.Current == null)
            {
                return;
            }
            Traslado         c = (Traslado)this.bs.Current;
            FrmTrasladosItem f = new FrmTrasladosItem();

            f.registro = (Traslado)this.bs.Current;
            f.Modificar();
        }