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