Ejemplo n.º 1
0
 public IndividualPage()
 {
     this.InitializeComponent();
     TitleControler            = new TitleBS();
     DiskControler             = new DiskBS();
     lsDisk                    = new ObservableCollection <customDisk>(DiskControler.getDisks());
     lvDisk.ItemsSource        = lsDisk;
     cbTitle.ItemsSource       = TitleControler.getTitlesMain();
     cbTitle.DisplayMemberPath = "Name";
     SetStatusTextBox(false);
 }
Ejemplo n.º 2
0
        public TitlePage()
        {
            this.InitializeComponent();
            TitleControler = new TitleBS();
            TypeController = new TypeBS();
            //lstTitle = new ObservableCollection<customTitle>(TitleControler.getTitles().Where(n => n.Deleted == false).ToList());

            lsType              = TypeController.getTypes();
            Type.ItemsSource    = lsType;
            lvTitle.ItemsSource = TitleControler.getTitles().Where(n => n.Deleted == false).ToList();//lstTitle;
            SetStatusTextBox(false);
        }