private async void botonAgregar_Click(object sender, RoutedEventArgs e)
 {
     Popup popupp = new Popup();
     AgregarMetodoPopup agregarPopup = new AgregarMetodoPopup(popupp);
     popupp.Child = agregarPopup;
     popupp.IsOpen = true;
     popup.IsOpen = false;
 }
Пример #2
0
        private async void botonAgregar_Click(object sender, RoutedEventArgs e)
        {
            Popup popupp = new Popup();
            AgregarMetodoPopup agregarPopup = new AgregarMetodoPopup(popupp);

            popupp.Child  = agregarPopup;
            popupp.IsOpen = true;
            popup.IsOpen  = false;
        }