Beispiel #1
0
        private void btnInventoryMovements_Click(object sender, EventArgs e)
        {
            // Show the InventoryProducts view
            pnlViews.Controls.Clear();
            lbViewTitle.Text = $"{Phrases.GlobalInventoryTitle} > {Phrases.GlobalMovements}";
            UserControl ucInventoryMovements = new InventoryMovementsUc()
            {
                Dock = DockStyle.Fill
            }; // Passing the MainForm to this UC

            pnlViews.Controls.Add(ucInventoryMovements);
        }
Beispiel #2
0
 // Called from the InventoryMovementsUc
 public ManualStockMovementForm(InventoryMovementsUc inventoryMovementsUc, Location location) : this()
 {
     _inventoryMovementsUc = inventoryMovementsUc;
     _location             = location;
 }