Пример #1
0
        public bool StartCreateTagDialog()
        {
            if (!InvokeEvent(PreCreateTag))
            {
                return(true);
            }

            var form = new FormTag();

            form.ShowDialog();

            InvokeEvent(PostCreateTag);

            return(true);
        }
Пример #2
0
        public bool StartCreateTagDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

            if (!InvokeEvent(owner, PreCreateTag))
            {
                return(true);
            }

            using (var form = new FormTag())
                form.ShowDialog(owner);

            InvokeEvent(owner, PostCreateTag);

            return(true);
        }
Пример #3
0
        public bool StartCreateTagDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

            if (!InvokeEvent(PreCreateTag))
            {
                return(true);
            }

            var form = new FormTag();

            form.ShowDialog();

            InvokeEvent(PostCreateTag);

            return(true);
        }
Пример #4
0
        public bool StartCreateTagDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

            if (!InvokeEvent(owner, PreCreateTag))
                return true;

            using (var form = new FormTag(this))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostCreateTag);

            return true;
        }
Пример #5
0
        public bool StartCreateTagDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreCreateTag))
                return true;

            var form = new FormTag();
            form.ShowDialog();

            InvokeEvent(PostCreateTag);

            return true;
        }
Пример #6
0
        public bool StartCreateTagDialog()
        {
            if (!InvokeEvent(PreCreateTag))
                return true;

            FormTag form = new FormTag();
            form.ShowDialog();

            InvokeEvent(PostCreateTag);

            return true;
        }