예제 #1
0
        public bool StartArchiveDialog(IWin32Window owner, GitRevision revision)
        {
            return DoAction(owner, true, PreArchive, PostArchive, () =>
                {
                    using (var form = new FormArchive(this))
                    {
                        form.SelectedRevision = revision;
                        form.ShowDialog(owner);
                    }

                    return true;
                }
            );
        }
예제 #2
0
        public bool StartArchiveDialog()
        {
            if (!InvokeEvent(PreArchive))
                return true;

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

            InvokeEvent(PostArchive);

            return false;
        }
예제 #3
0
        public bool StartArchiveDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir())
                return false;

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

            var form = new FormArchive();
            form.ShowDialog(owner);

            InvokeEvent(owner, PostArchive);

            return false;
        }
예제 #4
0
        public bool StartArchiveDialog(IWin32Window owner)
        {
            return DoAction(owner, true, PreArchive, PostArchive, () =>
                {
                    using (var form = new FormArchive(this))
                        form.ShowDialog(owner);

                    return true;
                }
            );
        }