// functionality of admin change connection dropdown
        private void changeConnection_Click(object sender, RoutedEventArgs e)
        {
            // creates new instance of server select
            serverSelect select = new serverSelect();

            select.ShowDialog();
            // updates title of window
            this.Title = "LIMS Invoice Grabber" + select.databaseInfo();
        }
        // initialization of the main window, creation of server selection window.
        public invoiceGrabber()
        {
            InitializeComponent();
            this.Show();
            serverSelect select = new serverSelect();

            select.ShowDialog();
            this.Title += select.databaseInfo();
            initCommands();
        }