2012-08-20 00:35:45 +02:00
|
|
|
|
using System.Diagnostics;
|
2012-08-05 01:54:00 +02:00
|
|
|
|
using System.Windows;
|
2012-08-05 02:10:44 +02:00
|
|
|
|
|
2012-08-05 01:54:00 +02:00
|
|
|
|
namespace MediaBrowser.ServerApplication
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for MainWindow.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class MainWindow : Window
|
|
|
|
|
{
|
|
|
|
|
public MainWindow()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2012-08-20 00:35:45 +02:00
|
|
|
|
//LoadKernel();
|
2012-08-05 02:10:44 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Context Menu events
|
|
|
|
|
|
|
|
|
|
private void cmOpenDashboard_click(object sender, RoutedEventArgs e)
|
|
|
|
|
{
|
2012-08-05 18:09:45 +02:00
|
|
|
|
App.OpenDashboard();
|
2012-08-05 01:54:00 +02:00
|
|
|
|
}
|
2012-08-05 02:10:44 +02:00
|
|
|
|
|
|
|
|
|
private void cmVisitCT_click(object sender, RoutedEventArgs e)
|
|
|
|
|
{
|
2012-08-12 20:12:59 +02:00
|
|
|
|
using (Process process = Process.Start("http://community.mediabrowser.tv/"))
|
|
|
|
|
{
|
|
|
|
|
}
|
2012-08-05 02:10:44 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void cmExit_click(object sender, RoutedEventArgs e)
|
|
|
|
|
{
|
2012-08-20 00:35:45 +02:00
|
|
|
|
Close();
|
2012-08-05 02:10:44 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2012-08-05 01:54:00 +02:00
|
|
|
|
}
|
|
|
|
|
}
|