/// <summary> /// BuildCache /// </summary> /// <summary> /// get_product_Click /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void get_product_Click(object sender, RoutedEventArgs e) { try { Product product = m_off.get_product_deserialize(Barcode.Text); Products.Clear(); Products.Add(product); Page = m_off.page; Page_size = m_off.page_size; Count = 1; } catch (Exception ex) { throw new Exception(ex.Message.ToString()); } }