private void btnAddOutFile_Click(object sender, EventArgs e) { OutputForm o = new OutputForm(null); o.ShowDialog(this); LoadTargets(); }
private void btnModifyTarget_Click(object sender, EventArgs e) { Target target = GetTarget(targets.SelectedItems[0].Name); if (target != null) { OutputForm o = new OutputForm(target); o.ShowDialog(this); LoadTargets(); } }
private void targets_MouseDoubleClick(object sender, MouseEventArgs e) { ListViewItem clickItem = targets.GetItemAt(e.X, e.Y); if (clickItem != null) { Target target = GetTarget(clickItem.Name); if (target != null) { OutputForm o = new OutputForm(target); o.ShowDialog(this); LoadTargets(); } } }
private void btnCopy_Click(object sender, EventArgs e) { Target target = GetTarget(targets.SelectedItems[0].Name); if (target != null) { target.Name = "Copy of " + target.Name; OutputForm o = new OutputForm(target); o.ShowDialog(this); LoadTargets(); } }