Example #1
0
            public void Execute(GrapeCity.Win.MultiRow.GcMultiRow target)
            {
                if (target?.CurrentCell == null ||
                    target?.CurrentCell.RowIndex < 0)
                {
                    return;
                }
                var parentForm = target.TopLevelControl as Form;

                if (parentForm == null)
                {
                    return;
                }
                parentForm.DialogResult = DialogResult.OK;
            }
Example #2
0
 public bool CanExecute(GrapeCity.Win.MultiRow.GcMultiRow target) => true;