Пример #1
0
        private void lvCopyOperationTargets_ItemActivate(object sender, EventArgs e)
        {
            CaptureFormData();
            FileMateTargetDTO t         = (FileMateTargetDTO)lvCopyOperationTargets.SelectedItems[0].Tag;
            NewFileMateTarget targetFrm = new NewFileMateTarget(t);

            targetFrm.ShowDialog();
        }
Пример #2
0
        private void btnAddTarget_Click(object sender, EventArgs e)
        {
            CaptureFormData();
            NewFileMateTarget targetFrm = new NewFileMateTarget();
            DialogResult      result    = targetFrm.ShowDialog();

            if (result == DialogResult.OK)
            {
                _copyOperation.Targets.Add(targetFrm.Target);
                ShowOperationSettings();
            }
        }