private void AddVectorList(GetAllVectorForm frm) { foreach (VectorEntity entity in this.m_VectorMap.VectorList) { frm.VectorList.Add(entity.Name); } }
private void GetSelectedVectorList(GetAllVectorForm frm) { frm.SelectVectorList.ForEach(ne => this.GetVector(ne)); }
private void AddVectorBtn_Click(object sender, EventArgs e) { GetAllVectorForm frm = new GetAllVectorForm(); this.AddVectorList(frm); if (frm.ShowDialog() == DialogResult.OK) { this.GetSelectedVectorList(frm); } }