Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit f2b4378

Browse files
authored
Merge pull request #1 from lutz/dev
Dev
2 parents fc57e91 + 904d19d commit f2b4378

File tree

5 files changed

+165
-7
lines changed

5 files changed

+165
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
---
2-
type: Addon
3-
id: CA001
4-
license: MIT
5-
---
6-
71
# HideKnowledgeItemTextFormHelpBoxAddon
82

9-
## Description
3+
This add-on hides the help box in the quote edit dialog. This is especially useful when using Citavi on small screens.
104

115
## Disclaimer
126

137
>There are no support claims by the company **Swiss Academic Software GmbH**, the provider of **Citavi** or other liability claims for problems or data loss. Any use is at your own risk. All rights to the name **Citavi** and any logos used are owned by **Swiss Academic Software GmbH**.
8+
9+
## License
10+
11+
This project is licensed under the [MIT](LICENSE) License
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.136
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HideKnowledgeItemTextFormHelpBoxAddon", "HideKnowledgeItemTextFormHelpBoxAddon\HideKnowledgeItemTextFormHelpBox.csproj", "{750CBADB-CC6E-4382-9B26-5112D4F93C93}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{750CBADB-CC6E-4382-9B26-5112D4F93C93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{750CBADB-CC6E-4382-9B26-5112D4F93C93}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{750CBADB-CC6E-4382-9B26-5112D4F93C93}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{750CBADB-CC6E-4382-9B26-5112D4F93C93}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {ACDB6368-7F21-4363-8387-E831F4DE724E}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using SwissAcademic.Citavi.Shell;
2+
using System;
3+
4+
namespace HideKnowledgeItemTextFormHelpBox
5+
{
6+
public class Addon : CitaviAddOn<KnowledgeItemTextForm>
7+
{
8+
#region Methods
9+
10+
public override void OnHostingFormLoaded(KnowledgeItemTextForm knowledgeItemTextForm)
11+
{
12+
try
13+
{
14+
knowledgeItemTextForm.HelpBox.Hide();
15+
}
16+
catch (Exception){}
17+
18+
base.OnHostingFormLoaded(knowledgeItemTextForm);
19+
}
20+
21+
#endregion
22+
}
23+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{750CBADB-CC6E-4382-9B26-5112D4F93C93}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>HideKnowledgeItemTextFormHelpBox</RootNamespace>
12+
<AssemblyName>HideKnowledgeItemTextFormHelpBoxAddon</AssemblyName>
13+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>C:\Program Files (x86)\Citavi 6\AddOns</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
<StartAction>Program</StartAction>
25+
<StartProgram>C:\Program Files (x86)\Citavi 6\bin\Citavi.exe</StartProgram>
26+
<PlatformTarget>AnyCPU</PlatformTarget>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<StartAction>Program</StartAction>
30+
<StartProgram>C:\Program Files (x86)\Citavi 6\bin\Citavi.exe</StartProgram>
31+
<DebugType>none</DebugType>
32+
<Optimize>true</Optimize>
33+
<OutputPath>..\bin\Release\</OutputPath>
34+
<DefineConstants>TRACE</DefineConstants>
35+
<ErrorReport>prompt</ErrorReport>
36+
<WarningLevel>4</WarningLevel>
37+
<PlatformTarget>AnyCPU</PlatformTarget>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="Citavi">
41+
<HintPath>..\..\..\..\..\Program Files (x86)\Citavi 6\bin\Citavi.exe</HintPath>
42+
<Private>False</Private>
43+
</Reference>
44+
<Reference Include="SwissAcademic">
45+
<HintPath>..\..\..\..\..\Program Files (x86)\Citavi 6\bin\SwissAcademic.dll</HintPath>
46+
<Private>False</Private>
47+
</Reference>
48+
<Reference Include="SwissAcademic.Citavi">
49+
<HintPath>..\..\..\..\..\Program Files (x86)\Citavi 6\bin\SwissAcademic.Citavi.dll</HintPath>
50+
<Private>False</Private>
51+
</Reference>
52+
<Reference Include="SwissAcademic.Controls">
53+
<HintPath>..\..\..\..\..\Program Files (x86)\Citavi 6\bin\SwissAcademic.Controls.dll</HintPath>
54+
<Private>False</Private>
55+
</Reference>
56+
<Reference Include="System " />
57+
<Reference Include="System.Core " />
58+
<Reference Include="System.Xml.Linq" />
59+
<Reference Include="System.Data.DataSetExtensions" />
60+
<Reference Include="Microsoft.CSharp" />
61+
<Reference Include="System.Data" />
62+
<Reference Include="System.Xml" />
63+
<Reference Include="System.Drawing" />
64+
<Reference Include="System.Windows.Forms" />
65+
</ItemGroup>
66+
<ItemGroup>
67+
<Compile Include="Addon.cs" />
68+
<Compile Include="Properties\AssemblyInfo.cs" />
69+
</ItemGroup>
70+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
71+
<PropertyGroup>
72+
<PostBuildEvent>if $(ConfigurationName) == Release cmd /x /c mkdir "$(SolutionDir)..\packages\"
73+
if $(ConfigurationName) == Release (powershell Compress-Archive -Path '$(TargetDir)*' -DestinationPath '$(SolutionDir)..\packages\$(TargetName).zip' -Force)
74+
</PostBuildEvent>
75+
</PropertyGroup>
76+
</Project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("HideKnowledgeItemTextFormHelpBox")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("HideKnowledgeItemTextFormHelpBoxAddon")]
13+
[assembly: AssemblyCopyright("Copyright © 2018 Daniel Lutz")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("750cbadb-cc6e-4382-9b26-5112d4f93c93")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)