Beispiel #1
0
        public void AddDeny()
        {
            using var dialog = new NewUrlDialog(this.Module, false);
            if (dialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            this.AddItem(dialog.Item);
        }
Beispiel #2
0
        public void Add()
        {
            var dialog = new NewUrlDialog(this.Module, true);

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

            this.AddItem(dialog.Item);
        }