Migrating to SharpLibNotification.
authorStephaneLenclud
Mon, 23 Nov 2015 18:35:24 +0100
changeset 173d33776198be5
parent 172 5be2191d4be3
child 174 f5a6cec31e81
Migrating to SharpLibNotification.
Server/MainForm.cs
Server/SharpDisplayManager.csproj
Server/packages.config
     1.1 --- a/Server/MainForm.cs	Sun Nov 22 23:46:52 2015 +0100
     1.2 +++ b/Server/MainForm.cs	Mon Nov 23 18:35:24 2015 +0100
     1.3 @@ -107,7 +107,7 @@
     1.4  		/// <summary>
     1.5  		/// System tray icon.
     1.6  		/// </summary>
     1.7 -		private NotifyIconAdv iNotifyIcon;
     1.8 +		private SharpLib.Notification.Control iNotifyIcon;
     1.9  
    1.10          /// <summary>
    1.11          /// Allow user to receive window messages;
    1.12 @@ -128,7 +128,7 @@
    1.13  			//
    1.14  			iClients = new Dictionary<string, ClientData>();
    1.15  			iStartupManager = new StartupManager();
    1.16 -			iNotifyIcon = new NotifyIconAdv();
    1.17 +			iNotifyIcon = new SharpLib.Notification.Control();
    1.18  
    1.19  			//Have our designer initialize its controls
    1.20              InitializeComponent();
     2.1 --- a/Server/SharpDisplayManager.csproj	Sun Nov 22 23:46:52 2015 +0100
     2.2 +++ b/Server/SharpDisplayManager.csproj	Mon Nov 23 18:35:24 2015 +0100
     2.3 @@ -128,6 +128,10 @@
     2.4        <HintPath>..\packages\SharpLibHid.1.2.1\lib\net20\SharpLibHid.dll</HintPath>
     2.5        <Private>True</Private>
     2.6      </Reference>
     2.7 +    <Reference Include="SharpLibNotification, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
     2.8 +      <HintPath>..\packages\SharpLibNotification.0.0.1\lib\net40\SharpLibNotification.dll</HintPath>
     2.9 +      <Private>True</Private>
    2.10 +    </Reference>
    2.11      <Reference Include="SharpLibWin32, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
    2.12        <SpecificVersion>False</SpecificVersion>
    2.13        <HintPath>..\packages\SharpLibWin32.0.0.7\lib\net20\SharpLibWin32.dll</HintPath>
    2.14 @@ -167,7 +171,6 @@
    2.15        <DependentUpon>MainForm.cs</DependentUpon>
    2.16      </Compile>
    2.17      <Compile Include="MarqueeLabel.cs" />
    2.18 -    <Compile Include="NotifyIconAdv.cs" />
    2.19      <Compile Include="Program.cs" />
    2.20      <Compile Include="ProgressForm.cs">
    2.21        <SubType>Form</SubType>
     3.1 --- a/Server/packages.config	Sun Nov 22 23:46:52 2015 +0100
     3.2 +++ b/Server/packages.config	Mon Nov 23 18:35:24 2015 +0100
     3.3 @@ -4,5 +4,6 @@
     3.4    <package id="NAudio" version="1.7.3" targetFramework="net45" />
     3.5    <package id="SharpLibDisplay" version="0.1.2" targetFramework="net46" />
     3.6    <package id="SharpLibHid" version="1.2.1" targetFramework="net45" />
     3.7 +  <package id="SharpLibNotification" version="0.0.1" targetFramework="net46" />
     3.8    <package id="SharpLibWin32" version="0.0.7" targetFramework="net45" />
     3.9  </packages>
    3.10 \ No newline at end of file