示例#1
0
        private void tsbNuevo_Click(object sender, EventArgs e)
        {
            FrmRutas frmRutas = new FrmRutas(ModoOperacion.Alta, frmConsultaRuta: this);

            frmRutas.MdiParent = this.MdiParent;
            frmRutas.Show();
        }
示例#2
0
 private void dxgvDatos_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
 {
     if (e.Clicks == 2 && e.RowHandle >= 0)
     {
         FilaRuta = dxgvDatos.GetDataRow(e.RowHandle);
         FrmRutas ModificarRuta = new FrmRutas(ModoOperacion.Consulta, FilaRuta, this);
         ModificarRuta.MdiParent = this.MdiParent;
         ModificarRuta.Show();
     }
 }