Exemplo n.º 1
0
        /// <summary>
        /// Přidání nového projektu
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProjectRecord_Click(object sender, RoutedEventArgs e)
        {
            WorkAddProjectWindow window = new WorkAddProjectWindow(validator);

            window.Show();
            Close();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Tlačítko pro vyhledání projektu
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FindButton_Click(object sender, RoutedEventArgs e)
        {
            viewModel = validator.FindProjects(projectComboBox.SelectedIndex);
            WorkAddProjectWindow window = new WorkAddProjectWindow(validator, viewModel);

            window.Show();
            Close();
        }