Example #1
0
        ////////// MAIN FORM ////////////

        //Loads these functions on main form load
        private void Main_Load_1(object sender, EventArgs e)
        {
            InventoryPanelButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(65)))), ((int)(((byte)(65)))), ((int)(((byte)(75)))));
            fakeSearchTextbox.ForeColor    = Color.LightGray;
            quantityTextbox.Text           = "1";
            label19.Text = "Pathology Informatics - Inventory";

            InventoryDataGrid.EnableHeadersVisualStyles = false;

            Inventory.InventorySearchComboFill(InventoryFilterCombo);
            InventoryFilterCombo.SelectedIndex = 3;
            fakeSearchTextbox.Text             = "Search " + InventoryFilterCombo.Text;
            Inventory.DisplayInventory(InventoryDataGrid, con);
            Inventory.InventoryComboFill(ProjectCombobox, CategoryCombobox, EquipCombobox);


            EditData(IDTextbox, TermIDTextbox, ProjectCombobox, CategoryCombobox, EquipCombobox, ProductTextbox, InventoryDataGrid, con);
            barcodeTextbox.Select();
        }