private void Window_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.F3)
            {
                m_fieldsCliente = new OtrosCliente();


                m_fieldsCliente.CloseRequestedc  += myDialog_CloseRequestedC;
                m_fieldsCliente.UpdateRequestedc += myDialog_UpdateRequestedc;
                m_fieldsCliente.Activated        += fieldsPopup_Openedc;
                m_fieldsCliente.Background        = new SolidColorBrush(Colors.Red);
                RootGrid.Opacity        = 0.1;
                m_fieldsCliente.Opacity = 1;
                m_fieldsCliente.ShowDialog();
                RootGrid.Opacity = 1;
            }


            if (e.Key == Key.F7)
            {
                tabla.Rows[m_selectedIndex].Delete();
                if (m_selectedIndex == -1)
                {
                    return;
                }

                RemoveItem(m_selectedIndex);
                this.DeleteButton.IsEnabled = false;
            }
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            m_fieldsCliente = new OtrosCliente();


            m_fieldsCliente.CloseRequestedc  += myDialog_CloseRequestedC;
            m_fieldsCliente.UpdateRequestedc += myDialog_UpdateRequestedc;
            m_fieldsCliente.Activated        += fieldsPopup_Openedc;
            m_fieldsCliente.Background        = new SolidColorBrush(Colors.Red);
            RootGrid.Opacity        = 0.1;
            m_fieldsCliente.Opacity = 1;
            m_fieldsCliente.ShowDialog();
            RootGrid.Opacity = 1;
        }