private void tsmiExportSelected_Click(object sender, EventArgs e) { using (DialogAttackExport dialog = new DialogAttackExport(SelectedOrders)) { dialog.ShowDialog(); } }
private void btnExportAll_Click(object sender, EventArgs e) { using (DialogAttackExport dialog = new DialogAttackExport(m_AttackHandler.CurrentAttackPlan.AttackOrders)) { dialog.ShowDialog(); } }