Added missing reference to MediaBrowser.Common
2nd launch of ServerApplication will call OpenDashboard
This commit is contained in:
parent
2abc0e9020
commit
debc4e6ae5
|
@ -45,6 +45,7 @@
|
|||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
|
@ -78,6 +79,7 @@
|
|||
<Compile Include="UI\Splash.xaml.cs">
|
||||
<DependentUpon>Splash.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Util\SingleInstance.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
|
@ -94,6 +96,7 @@
|
|||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
|
|
@ -33,8 +33,8 @@ namespace MediaBrowser.ServerApplication
|
|||
#region ISingleInstanceApp Members
|
||||
public bool SignalExternalCommandLineArgs(IList<string> args)
|
||||
{
|
||||
// handle command line arguments of second instance
|
||||
// ...
|
||||
OpenDashboard();
|
||||
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
|
@ -45,5 +45,9 @@ namespace MediaBrowser.ServerApplication
|
|||
|
||||
Kernel.Instance.Dispose();
|
||||
}
|
||||
|
||||
public static void OpenDashboard()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace MediaBrowser.ServerApplication
|
|||
|
||||
private void cmOpenDashboard_click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
App.OpenDashboard();
|
||||
}
|
||||
|
||||
private void cmVisitCT_click(object sender, RoutedEventArgs e)
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="Util\SingleInstance.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
|
|
Loading…
Reference in New Issue
Block a user