commitcommand.cs
来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 46 行
CS
46 行
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 915 $</version>
// </file>
using System;
using System.Text;
using System.IO;
using System.Threading;
using System.Drawing;
using System.Drawing.Printing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop;
using ICSharpCode.SharpDevelop.Gui;
using NSvn.Common;
using NSvn.Core;
using ICSharpCode.Svn.Gui;
namespace ICSharpCode.Svn.Commands
{
public class CommitCommand : SubversionCommand
{
protected override bool StartOperation()
{
using (CommitDialog commitDialog = new CommitDialog()) {
commitDialog.LogMessage = AddInOptions.DefaultLogMessage;
if (commitDialog.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm) == DialogResult.OK) {
SvnClient.Instance.LogMessage = commitDialog.LogMessage;
MessageService.ShowMessage("Not implemented.");
//SvnClient.Instance.OperationStart("Commit", new ThreadStart(DoCommit));
}
}
return false;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?