private void CatalogForm_Load(object sender, EventArgs e) { PopulateList.PopulateProductList(productList); productList.Sorting = SortOrder.Ascending; Version ver = new Version(Application.ProductVersion); tsVersion.Text = "v" + ver.ToString(2); }
private void refreshToolStripMenuItem_Click(object sender, EventArgs e) { // TODO: It would be nice to preserve selection and improve redraw. productList.SelectedItems.Clear(); // /To reset selection count PopulateList.PopulateProductList(productList); }