Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApplication4
- {
- public partial class Edit : Form
- {
- public List<Item> itemList = new List<Item>();
- public Edit(List<Item> i)
- {
- itemList = i;
- InitializeComponent();
- }
- private void Edit_Load(object sender, EventArgs e)
- {
- foreach (Item i in itemList)
- {
- itemListBox.Items.Add(i);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment