private void Filter_Number_DropDownOpened_1(object sender, EventArgs e)
        {
            //Init object
            Search = new SearchManager();

            //Fill drop down menu
            Filter_Number.ItemsSource = Search.GetAllInvoicesView();

            //Enable select button
            Btn_Select.IsEnabled = true;
        }
        private void Filter_Total_DropDownOpened(object sender, EventArgs e)
        {
            //Init object
            Search = new SearchManager();

            //Fill drop down menu
            Filter_Total.ItemsSource = Search.filterTotalOptions();

            //Enable select button
            Btn_Select.IsEnabled = true;
        }
Пример #3
0
        /// <summary>
        /// Creates a new search window.
        /// </summary>
        public SearchWindow()
        {
            InitializeComponent();

            #region Init. Class Variables
            //Setup Search Query Manager
            searchQueryManager = new SearchManager();
            #endregion

            //Test Setup
            Invoice_Data.ItemsSource = searchQueryManager.GetAllInvoicesView();
        }