Skip to content

Commit

Permalink
Aggiungere i file di progetto.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbicelli committed Apr 28, 2020
1 parent 48d648b commit 514c312
Show file tree
Hide file tree
Showing 65 changed files with 6,606 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ActMon.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29911.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActMon", "Actmon\ActMon.csproj", "{02A96D46-4003-45E5-9F29-B4EDB9F64621}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActivityMonitor", "ActivityMonitor\ActivityMonitor.csproj", "{B1F7C3DB-FA75-43FC-8671-179F251F2FC4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{02A96D46-4003-45E5-9F29-B4EDB9F64621}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02A96D46-4003-45E5-9F29-B4EDB9F64621}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02A96D46-4003-45E5-9F29-B4EDB9F64621}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02A96D46-4003-45E5-9F29-B4EDB9F64621}.Release|Any CPU.Build.0 = Release|Any CPU
{B1F7C3DB-FA75-43FC-8671-179F251F2FC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B1F7C3DB-FA75-43FC-8671-179F251F2FC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B1F7C3DB-FA75-43FC-8671-179F251F2FC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B1F7C3DB-FA75-43FC-8671-179F251F2FC4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0AABA34F-2375-4B9B-AA1F-7F4A62C88D66}
EndGlobalSection
EndGlobal
81 changes: 81 additions & 0 deletions ActMon/ADMX/SequenceActMon.admx
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) Riccardo Bicelli - Sequence. All rights reserved. -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<policyNamespaces>
<target prefix="sqactmon" namespace="Sequence.ActMon.Application" />
<using prefix="sequence" namespace="Sequence.Policies.Common" />
<using prefix="windows" namespace="Microsoft.Policies.Windows" />
</policyNamespaces>
<resources minRequiredRevision="1.0" />
<categories>
<category name="CtSequenceSoftwareActMon" displayName="$(string.CtSequenceSoftwareActMon)">
<parentCategory ref="sequence:CtSequenceSoftware" />
</category>
</categories>
<policies>
<policy name="ActMonLockSettings" class="User" displayName="$(string.ActMonLockSettings)" explainText="$(string.ActMonLockSettings_Help)" key="Software\Policies\Sequence Software\ActMon" valueName="LockSettings">
<parentCategory ref="CtSequenceSoftwareActMon" />
<supportedOn ref="windows:SUPPORTED_WindowsVista" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<delete />
</disabledValue>
</policy>
<policy name="ActMonRunHidden" class="User" displayName="$(string.ActMonRunHidden)" explainText="$(string.ActMonRunHidden_Help)" key="Software\Policies\Sequence Software\ActMon" valueName="RunHidden">
<parentCategory ref="CtSequenceSoftwareActMon" />
<supportedOn ref="windows:SUPPORTED_WindowsVista" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<delete />
</disabledValue>
</policy>
<policy name="ActMonHideMenuExit" class="User" displayName="$(string.ActMonHideMenuExit)" explainText="$(string.ActMonHideMenuExit_Help)" key="Software\Policies\Sequence Software\ActMon" valueName="HideMenuExit">
<parentCategory ref="CtSequenceSoftwareActMon" />
<supportedOn ref="windows:SUPPORTED_WindowsVista" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<delete />
</disabledValue>
</policy>
<policy name="ActMonDatabaseDumpInterval" class="User" displayName="$(string.ActMonDatabaseDumpInterval)" explainText="$(string.ActMonDatabaseDumpInterval_Help)" presentation="$(presentation.ActMonDatabaseDumpIntervals)" key="Software\Policies\Sequence Software\ActMon">
<parentCategory ref="CtSequenceSoftwareActMon" />
<supportedOn ref="windows:SUPPORTED_WindowsVista" />
<elements>
<enum id="ActMonDatabaseDumpIntervals" valueName="DumpInterval">
<item displayName="$(string.DumpInterval_30secs)">
<value>
<decimal value="30" />
</value>
</item>
<item displayName="$(string.DumpInterval_1min)">
<value>
<decimal value="60" />
</value>
</item>
<item displayName="$(string.DumpInterval_2mins)">
<value>
<decimal value="120" />
</value>
</item>
</enum>
</elements>
</policy>
<policy name="ActMonDatabaseConnection" class="User" displayName="$(string.ActMonDatabaseConnection)" explainText="$(string.ActMonDatabaseConnection_Help)" presentation="$(presentation.ActMonDatabaseConnection)" key="Software\Policies\Sequence Software\ActMon">
<parentCategory ref="CtSequenceSoftwareActMon" />
<supportedOn ref="windows:SUPPORTED_WindowsVista" />
<elements>
<text id="DatabaseServer" valueName="DatabaseServer" required="true" />
<text id="DatabaseCatalog" valueName="DatabaseCatalog" required="true" />
<text id="DatabaseUsername" valueName="DatabaseUsername" required="true" />
<text id="DatabasePassword" valueName="DatabasePassword" required="true" />
</elements>
</policy>
</policies>
</policyDefinitions>

12 changes: 12 additions & 0 deletions ActMon/ADMX/SequenceSoftware.admx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- (c) 2006 Microsoft Corporation -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
revision="1.1" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<policyNamespaces>
<target prefix="windows" namespace="Sequence.Policies.Common" />
</policyNamespaces>
<resources minRequiredRevision="1.0" />
<categories>
<category name="CtSequenceSoftware" displayName="$(string.CtCategorySequenceSoftware)" />
</categories>
</policyDefinitions>
11 changes: 11 additions & 0 deletions ActMon/ADMX/en-US/Sequence.adml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<policyDefinitionResources revision="1.0" schemaVersion="1.0">
<displayName>
</displayName>
<description>
</description>
<resources>
<stringTable>
<string id="CtCategorySequenceSoftware">Sequence Software</string>
</stringTable>
</resources>
</policyDefinitionResources>
52 changes: 52 additions & 0 deletions ActMon/ADMX/en-US/SequenceActMon.adml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<policyDefinitionResources revision="1.0" schemaVersion="1.0">
<displayName>
</displayName>
<description>
</description>
<resources>
<stringTable>
<string id="CtCategorySequenceSoftware">Sequence Software</string>
<string id="CtSequenceSoftwareActMon">Activity Monitor</string>

<string id="ActMonLockSettings">Lock Settings</string>
<string id="ActMonLockSettings_Help">This policy settings allows you to manage Activity Monitor.
If you enable this setting the Settings Form will be locked and local application settings will be ignored.
</string>
<string id="ActMonRunHidden">Run Hidden</string>
<string id="ActMonRunHidden_Help">When this setting is enabled, ActMon runs in hidden mode, so no tray icon is displayed.
</string>
<string id="ActMonHideMenuExit">Hide Exit Menu</string>
<string id="ActMonHideMenuExit_Help">When this setting is enabled, user cannot exit application.
</string>
<string id="ActMonDatabaseDumpInterval">Database Dump Interval</string>
<string id="ActMonDatabaseDumpInterval_Help">Provide these settings for custom dump interval to database.
</string>
<string id="DumpInterval_30secs" >30 Seconds</string>
<string id="DumpInterval_1min" >1 Minute</string>
<string id="DumpInterval_2mins" >2 Minutes</string>
<string id="ActMonDatabaseConnection">Database Connection</string>
<string id="ActMonDatabaseConnection_Help">Provide these settings for the SQL Server database.
</string>
</stringTable>
<presentationTable>
<presentation id="ActMonDatabaseConnection">
<textBox refId="DatabaseServer">
<label>Server:</label>
</textBox>
<textBox refId="DatabaseCatalog">
<label>Database Name:</label>
</textBox>
<textBox refId="DatabaseUsername">
<label>User Name:</label>
</textBox>
<textBox refId="DatabasePassword">
<label>Pasword:</label>
</textBox>
</presentation>
<presentation id="ActMonDatabaseDumpIntervals">
<dropdownList refId="ActMonDatabaseDumpIntervals" noSort="true">Database Dump Interval</dropdownList>
</presentation>
</presentationTable>

</resources>
</policyDefinitionResources>
175 changes: 175 additions & 0 deletions ActMon/ActMon.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{02A96D46-4003-45E5-9F29-B4EDB9F64621}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>ActMon</RootNamespace>
<AssemblyName>ActMon</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\ClockIcon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Extensions\Extensions.cs" />
<Compile Include="Forms\ApplicationView.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Forms\ApplicationView.Designer.cs">
<DependentUpon>ApplicationView.cs</DependentUpon>
</Compile>
<Compile Include="Database\DataDumper.cs" />
<Compile Include="Database\DB.cs" />
<Compile Include="Forms\FormAbout.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormAbout.designer.cs">
<DependentUpon>FormAbout.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormActivity.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormActivity.Designer.cs">
<DependentUpon>FormActivity.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormSettings.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormSettings.Designer.cs">
<DependentUpon>FormSettings.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ResFiles\GlobalRes1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>GlobalRes.resx</DependentUpon>
</Compile>
<Compile Include="SettingsManager\Settings.cs" />
<EmbeddedResource Include="Forms\ApplicationView.resx">
<DependentUpon>ApplicationView.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormAbout.resx">
<DependentUpon>FormAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormActivity.it-IT.resx">
<DependentUpon>FormActivity.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormActivity.resx">
<DependentUpon>FormActivity.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSettings.it-IT.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSettings.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.it-IT.resx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="ResFiles\GlobalRes.it-IT.resx" />
<EmbeddedResource Include="ResFiles\GlobalRes.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>GlobalRes1.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="Resources\TrayIcon.ico" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\ClockIcon.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\idle.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Folder Include="ADMX\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ActivityMonitor\ActivityMonitor.csproj">
<Project>{b1f7c3db-fa75-43fc-8671-179f251f2fc4}</Project>
<Name>ActivityMonitor</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Resources\clock.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit 514c312

Please sign in to comment.