Beispiel #1
0
        public void Update()
        {
            this.InvokeIfRequired(() =>
            {
                PrepareFilter();

                Gdo.UpdateBookCollection();
            }, DispatcherPriority.Render);
        }
Beispiel #2
0
        public MainWindow()
        {
            _gdo = new GlobalDataObject();

            InitializeComponent();

            SourceInitialized += MainWindow_SourceInitiated;
            Loaded            += MainWindow_Loaded;
            Closing           += MainWindow_Closing;

            Registry.RegisterInstance(this);

            if (!UIHelper.DesignMode)
            {
                BookAuthorComboBox.ItemsSource    = Gdo.UpdateBookAuthorCollection();
                BookPlacementComboBox.ItemsSource = Gdo.UpdateBookPlacementCollection();
            }
        }