コード例 #1
0
 private void DoHandle(SvnWorkingCopyLockException ex, ExceptionInfo info)
 {
     if (ex.SvnErrorCode != SvnErrorCode.SVN_ERR_WC_NOT_LOCKED)
     {
         MessageBox.Show(Owner,
                         "Your working copy appears to be locked. " + Environment.NewLine +
                         "Run Cleanup to amend the situation.",
                         "Working copy locked", MessageBoxButtons.OK,
                         MessageBoxIcon.Warning);
     }
     else
     {
         MessageBox.Show(Owner,
                         "The working copy lock appears to be broken.",
                         "Working copy not locked", MessageBoxButtons.OK,
                         MessageBoxIcon.Warning);
     }
 }
コード例 #2
0
ファイル: AnkhErrorHandler.cs プロジェクト: necora/ank_git
 private void DoHandle(SvnWorkingCopyLockException ex, ExceptionInfo info)
 {
     if (ex.SvnErrorCode != SvnErrorCode.SVN_ERR_WC_NOT_LOCKED)
     {
         MessageBox.Show(Owner,
             "Your working copy appears to be locked. " + Environment.NewLine +
             "Run Cleanup to amend the situation.",
             "Working copy locked", MessageBoxButtons.OK,
             MessageBoxIcon.Warning);
     }
     else
     {
         MessageBox.Show(Owner,
             "The working copy lock appears to be broken.",
             "Working copy not locked", MessageBoxButtons.OK,
             MessageBoxIcon.Warning);
     }
 }