예제 #1
0
        private void SaveField(object fieldInstance)
        {
            FieldViewModel field = fieldInstance as FieldViewModel;

            if (field != null && field.IsValid)
            {
                fields.Add(field);
            }
            Back();
        }
예제 #2
0
        private void DeleteField(object fieldInstance)
        {
            FieldViewModel field = fieldInstance as FieldViewModel;

            if (field != null)
            {
                fields.Remove(field);
            }
            Back();
        }