private void button5_Click(object sender, EventArgs e) { comboBox1.Items.Clear(); ImpMovePlugin.MyPointsList = FilesMethod.ReadIdList("MyPoints.xml"); foreach (var point in ImpMovePlugin.MyPointsList) { comboBox1.Items.Add(point.Name); } }
private void button4_Click(object sender, EventArgs e) { FilesMethod.SaveIdList("MyPoints.xml", ImpMovePlugin.MyPointsList); }