Example #1
0
        private void lstGI_Click(object sender, RoutedEventArgs e)
        {
            var uc = new ucListarGI(_mainWindow);

            _mainWindow.sPanelOne.Children.Clear();
            _mainWindow.sPanelOne.Children.Add(uc);
        }
Example #2
0
        private void btnListarGI_Click(object sender, RoutedEventArgs e)
        {
            _mainWindow.InPMenuNavegacion = 1;
            _mainWindow.InSMenuNavegacion = 2;

            ucMenuNavegacion ucM = new ucMenuNavegacion(_mainWindow);

            _mainWindow.SPanelNavegacion.Children.Clear();
            _mainWindow.SPanelNavegacion.Children.Add(ucM);

            ucListarGI uc = new ucListarGI(_mainWindow);

            _mainWindow.sPanelOne.Children.Clear();
            _mainWindow.sPanelOne.Children.Add(uc);
        }