public LargeInventoryMode() { InitializeComponent(); inventory = new Collection(); // Initialize dynamicListView dListView = new DynamicListView(lvResults, inventory, ListViewType.MANAGEMENT, true); }
public UnknownUPCHandler(string upc) { InitializeComponent(); // Assign a new DynamicListView to the listview on the form dListView = new DynamicListView(lvResults, TableNames.INVENTORY, ListViewType.MANAGEMENT, true); newUPC = upc; // Success = false by default success = false; }
public ManageInventory() { InitializeComponent(); // Initialize DynamicListView RemoveItemCheckedHandler(); // Temporarily remove ItemChecked Event handler. (normally called every time an item is added. Super slow.) dListView = new DynamicListView(lvResults, TableNames.INVENTORY, ListViewType.MANAGEMENT, true); RestoreItemCheckedHandler(); // Restore ItemChecked Event handler. // Update "Total Items" label lblTotalItems.Text = "Total Items: " + DBaccess.GetItemTotal().ToString(); }
public POSinventory() { InitializeComponent(); // Initialize dynamic listviews dInventoryListView = new DynamicListView(lvResults, TableNames.INVENTORY, ListViewType.POS, true); dInventoryListView.hideOutOfStock = chkHideZero.Checked; // Hide items that aren't in stock by default //dCartListView = new DynamicListview(lvResults, TableNames.INVENTORY, ListViewType.CART, true); //dTradeListView = new DynamicListview(lvResults, TableNames.INVENTORY, ListViewType.TRADECART, true); }