Ejemplo n.º 1
0
        private void BtnImport_Click(object sender, RoutedEventArgs e)
        {
            InputDataViewModel        = new InputDataViewModel(this);
            InputDataView             = new InputDataView(this);
            InputDataView.DataContext = InputDataViewModel;
            InputDataView.Show();

            Hide();
        }
Ejemplo n.º 2
0
        private void Window_Closed(object sender, EventArgs e)
        {
            if (EmployeeEditView != null)
            {
                EmployeeEditView.Close();
            }

            if (InputDataView != null)
            {
                InputDataView.Close();
            }
        }