private void btnBOMMaterial_Click(object sender, RoutedEventArgs e)
        {
            MainWindow.gstrMenuSelection = "BOM";
            MainWindow.gblnFromForm      = false;

            SelectWarehouse SelectWarehouse = new SelectWarehouse();

            SelectWarehouse.Show();
            this.Close();
        }
        private void btnReceiveMaterial_Click(object sender, RoutedEventArgs e)
        {
            //setting variable
            MainWindow.gstrMenuSelection = "Receive";
            MainWindow.gblnFromForm      = false;

            SelectWarehouse SelectWarehouse = new SelectWarehouse();

            SelectWarehouse.Show();
            this.Close();
        }