void btnNuevo_Click(object sender, EventArgs e) { FrmTrasladosItem f = new FrmTrasladosItem(); f.Incluir(); if (f.DialogResult == System.Windows.Forms.DialogResult.OK) { Busqueda(); } }
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(); }
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(); }