示例#1
0
        public bool StartFormatPatchDialog()
        {
            if (!InvokeEvent(PreFormatPatch))
            {
                return(true);
            }

            var form = new FormFormatPatch();

            form.ShowDialog();

            InvokeEvent(PostFormatPatch);

            return(false);
        }
示例#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;
        }
示例#4
0
        public bool StartFormatPatchDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreFormatPatch))
                return true;

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

            InvokeEvent(PostFormatPatch);

            return false;
        }
示例#5
0
        public bool StartFormatPatchDialog()
        {
            if (!InvokeEvent(PreFormatPatch))
                return true;

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

            InvokeEvent(PostFormatPatch);

            return false;
        }