public void AddDeny()
        {
            using var dialog = new NewQueryDialog(Module, false);
            if (dialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            AddItem(dialog.Item);
        }
Пример #2
0
        public void Add()
        {
            var dialog = new NewQueryDialog(this.Module, true);

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

            this.AddItem(dialog.Item);
        }