Esempio n. 1
0
        public bool StartFormatPatchDialog()
        {
            if (!InvokeEvent(PreFormatPatch))
            {
                return(true);
            }

            var form = new FormFormatPatch();

            form.ShowDialog();

            InvokeEvent(PostFormatPatch);

            return(false);
        }
Esempio n. 2
0
        public bool StartFormatPatchDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

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

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

            InvokeEvent(owner, PostFormatPatch);

            return(false);
        }
        public bool StartFormatPatchDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

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

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

            InvokeEvent(owner, PostFormatPatch);

            return false;
        }
Esempio n. 4
0
        public bool StartFormatPatchDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreFormatPatch))
                return true;

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

            InvokeEvent(PostFormatPatch);

            return false;
        }
Esempio n. 5
0
        public bool StartFormatPatchDialog()
        {
            if (!InvokeEvent(PreFormatPatch))
                return true;

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

            InvokeEvent(PostFormatPatch);

            return false;
        }