예제 #1
0
        public AdministracionMenu()
        {
            InitializeComponent();

            PagoFrm frm = new PagoFrm();

            ContentFrame.Content = frm;
        }
예제 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Button thisbtn = (Button)e.Source;

            int index = int.Parse(thisbtn.Uid);

            var  par   = VisualTreeHelper.GetParent((Button)e.Source) as UIElement;
            Grid PGrid = (par as Grid);

            var  ParBoord  = VisualTreeHelper.GetParent(SelectedBord);
            Grid LastPGrid = ParBoord as Grid;

            LastPGrid.Children.Remove(SelectedBord);

            PGrid.Children.Add(SelectedBord);

            switch (index)
            {
            case 0:
                PagoFrm frm = new PagoFrm();
                ContentFrame.Content = frm;
                break;

            case 1:
                DeudaDG frm1 = new DeudaDG();
                ContentFrame.Content = frm1;
                break;

            case 2:
                RelacionesLaboralesDG frm2 = new RelacionesLaboralesDG();
                ContentFrame.Content = frm2;
                break;

            case 3:
                TipoTramiteDG dg = new TipoTramiteDG();
                ContentFrame.Content = dg;
                break;

            case 4:
                PrestacionesDG dg1 = new PrestacionesDG();
                ContentFrame.Content = dg1;
                break;
            }
        }
        public PagoSeleccionVista(PagoFrm par)
        {
            InitializeComponent();

            Parentfrm = par;
        }
예제 #4
0
        public PagoRealizadoVista(PagoFrm Par)
        {
            InitializeComponent();

            ParentFrm = Par;
        }