Esempio n. 1
0
 public void newPanelcategorys_Click(object sender, EventArgs e)
 {
     try
     {
         category_name    = ((Button)sender).Text;
         category_item_id = ((Button)sender).Name;
         flwpln_item.Controls.Clear();
         btnnext.Hide();
         btnpre.Hide();
         lblcategory_name.Text = "Items";
         AddItemForVoid.Animate(flwpln_category, AddItemForVoid.Effect.Roll, 150, 45);
         item_by_category_id(nxt, phg);
         DataTable dts = blmi.getcategoryDetailsByCategoryIds((Convert.ToInt32(category_item_id)));
         if (dts.Rows.Count > 25)
         {
             btnitem_next.Show();
         }
         back_click = true;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     AddItemForVoid.Animate(flwpln_category, AddItemForVoid.Effect.Roll, 150, 45);
     categorysub(pre_cat, next_panel, 0);
 }