Guest User

Edit

a guest
Aug 27th, 2013
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. using System.Text;
  2. using System.Threading.Tasks;
  3. using System.Windows.Forms;
  4.  
  5. namespace WindowsFormsApplication4
  6. {
  7.     public partial class Edit : Form
  8.     {
  9.         public List<Item> itemList = new List<Item>();
  10.  
  11.         public Edit(List<Item> i)
  12.         {
  13.             itemList = i;
  14.             InitializeComponent();
  15.         }
  16.  
  17.         private void Edit_Load(object sender, EventArgs e)
  18.         {
  19.             foreach (Item i in itemList)
  20.             {
  21.                 itemListBox.Items.Add(i);
  22.             }
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment