Beispiel #1
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     if (this.ProdListV.SelectedItems.Count > 0)
     {
         Product.CategoryFrmItem nform = new Product.CategoryFrmItem();
         nform.Id = Convert.ToInt32(this.ProdListV.SelectedItems[0].Text);
         nform.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select item first.");
     }
     loadInformation();
 }
Beispiel #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     Product.CategoryFrmItem nform = new Product.CategoryFrmItem();
     nform.ShowDialog();
     loadInformation();
 }