public AddPeace() { InitializeComponent(); peaces = new List <string>(); peace = new Peace(); BoxItem.Items.Add(TypeOfPeace.Add); BoxItem.Items.Add(TypeOfPeace.Remove); }
public AddPeace(List <string> it) { InitializeComponent(); peaces = new List <string>(); foreach (string i in it) { peaces.Add(i); } peace = new Peace(); BoxItem.Items.Add(TypeOfPeace.Add); BoxItem.Items.Add(TypeOfPeace.Remove); }