private void button_Click(object sender, RoutedEventArgs e) { String s = comboBox.Text; if (s == "Inventory") { inventoryInterface windowINV = new inventoryInterface(k); this.Close(); windowINV.Top = 100; windowINV.Left = 400; windowINV.Show(); } if (s == "Receving") { Receiving windowINV = new Receiving(k); this.Close(); windowINV.Top = 100; windowINV.Left = 400; windowINV.Show(); } if (s == "OrderPicking") { orderpicking windowINV = new orderpicking(k); this.Close(); windowINV.Top = 100; windowINV.Left = 400; windowINV.Show(); } }
//Back Button - returns to previous menu private void button_Click(object sender, RoutedEventArgs e) { inventoryInterface x = new inventoryInterface(k); x.Top = 100; x.Left = 400; x.Show(); this.Close(); }