mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 18:57:28 -07:00
Small fixes
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1812 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
9b7c7a9b7e
commit
3d70c065c3
2 changed files with 11 additions and 2 deletions
|
@ -31,6 +31,11 @@ namespace GreenshotPlugin.Controls {
|
|||
designTimeToolStripItems = new Dictionary<string, ToolStripItem>();
|
||||
try {
|
||||
ITypeResolutionService typeResService = GetService(typeof(ITypeResolutionService)) as ITypeResolutionService;
|
||||
|
||||
// Add a hard-path if you are using SharpDevelop
|
||||
// Language.AddLanguageFilePath(@"C:\Greenshot\Greenshot\Languages");
|
||||
|
||||
// this "type"
|
||||
Assembly currentAssembly = this.GetType().Assembly;
|
||||
string assemblyPath = typeResService.GetPathOfAssembly(currentAssembly.GetName());
|
||||
string assemblyDirectory = Path.GetDirectoryName(assemblyPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue