public void OnExecute(CommandEventArgs e)
        {
            IAnkhServiceProvider context = e.Context;
            if (!EnsureAllProjectsLoaded(context))
                return;
            // TODO: Verify if all project files and the solution are open and saved

            using (ChangeSourceControl csc = new ChangeSourceControl())
            {
                csc.Context = e.Context;

                csc.ShowDialog(e.Context);
            }
        }
示例#2
0
        public void OnExecute(CommandEventArgs e)
        {
            IAnkhServiceProvider context = e.Context;

            if (!EnsureAllProjectsLoaded(context))
            {
                return;
            }
            // TODO: Verify if all project files and the solution are open and saved

            using (ChangeSourceControl csc = new ChangeSourceControl())
            {
                csc.Context = e.Context;

                csc.Prepare();

                csc.ShowDialog(e.Context);
            }
        }