private void Catalogue_Button_Click(object sender, EventArgs e) { try { InterplayStorage.SetSelectedCatalog(((InterPlayPOSCatalogueButton)sender).Text); this.FormatSelectedItem((Button)sender); this.CreateProductButtons(); } catch (Exception ex) { this.HandleException(ex); } }
private void SetDefaultCatalogue(Catalogue catalog) { InterplayStorage.SetSelectedCatalog(catalog.name); this.CreateProductButtons(); }