Ejemplo n.º 1
0
 private void buttonManteinance_Click(object sender, EventArgs e)
 {
     var index = dataGridView.CurrentRow.Index;
     ABM_de_Hotel.Manteinance frm = new Manteinance(new HotelHandler((dataGridView.Rows[index].DataBoundItem as DataRowView).Row) );
     frm.Owner = this.MdiParent;
     frm.ShowDialog();
 }
Ejemplo n.º 2
0
        private void buttonManteinance_Click(object sender, EventArgs e)
        {
            var index = dataGridView.CurrentRow.Index;

            ABM_de_Hotel.Manteinance frm = new Manteinance(new HotelHandler((dataGridView.Rows[index].DataBoundItem as DataRowView).Row));
            frm.Owner = this.MdiParent;
            frm.ShowDialog();
        }