Esempio n. 1
0
        private void Edit()
        {
            GWDataDBField f = GetSelectedField();

            if (f == null)
            {
                return;
            }

            FormField2 frm = new FormField2(f);

            if (frm.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }

            RefreshList();
        }
Esempio n. 2
0
        private void Add()
        {
            FormField2 frm = new FormField2(null);

            if (frm.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }

            GWDataDBField f = frm.Field;

            if (f == null)
            {
                return;
            }

            _ruleItem.FromFields.Add(f);
            RefreshList();
        }