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();
        }
Beispiel #3
0
        private void btnChangeWarehouse_Click(object sender, RoutedEventArgs e)
        {
            //this will allow the warehouse to be changes

            string strAssignedWarehouse;

            MainWindow.gblnFromForm = true;

            SelectWarehouse SelectWarehouse = new SelectWarehouse();

            SelectWarehouse.ShowDialog();

            strAssignedWarehouse = "This is the " + MainWindow.gstrWarehouseName + " Warehouse";
            gintWarehouseID      = MainWindow.gintWarehouseID;

            lblAssignedWarehouse.Content = strAssignedWarehouse;
        }