public CreateMaterialWindow()
        {
            InitializeComponent();

            model1 = new Model1Container();
            PersonsToAdd = new List<Person>();
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            model1 = new Model1Container();
            person = model1.Persons.First(o => o.Id == Person_Id);

            LoadPerson(person);
            LoadMaterials(person);
        }
        public AddPersonsToMaterialWindow()
        {
            InitializeComponent();

            SelectedPersonIdList = new List<int>();
            DeselectedPersonIdList = new List<int>();

            model1 = new Model1Container();
        }
Exemplo n.º 4
0
        public MainWindow()
        {
            InitializeComponent();
            model1 = new Model1Container();

            personsTab.Visibility = System.Windows.Visibility.Hidden;
            materialsTab.Visibility = System.Windows.Visibility.Hidden;
            eventsTab.Visibility = System.Windows.Visibility.Hidden;

            projectsListBox.ItemsSource = model1.Projects.ToList();
        }
        public LoadProjectWindow()
        {
            InitializeComponent();
            model1 = new Model1Container();

        }