private void AddNewPickList() { PickList newPickList = new PickList(); newPickList.Name = "<new picklist>"; FormPicklist form = new FormPicklist(newPickList); if (form.ShowDialog() == DialogResult.OK) { RefreshTab(); } }
private void EditPickList() { if (_activeItem != null) { PickList picklist = _activeItem.Tag as PickList; // if (picklist != null) { FormPicklist form = new FormPicklist(picklist); if (form.ShowDialog() == DialogResult.OK) { RefreshTab(); } } } }