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