コード例 #1
0
        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();
            }
        }
コード例 #2
0
        //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();
        }