コード例 #1
0
        public CreateMaterialWindow()
        {
            InitializeComponent();

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

            LoadPerson(person);
            LoadMaterials(person);
        }
コード例 #3
0
        public AddPersonsToMaterialWindow()
        {
            InitializeComponent();

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

            model1 = new Model1Container();
        }
コード例 #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();
        }
コード例 #5
0
        public LoadProjectWindow()
        {
            InitializeComponent();
            model1 = new Model1Container();

        }