Interaction logic for MainWindow.xaml
Inheritance: MahApps.Metro.Controls.MetroWindow
Exemple #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            MessageBox.Show("Welcome to ShellSharp.\n\n" +
                            "This is a demo and the windows shell is temporary replaced with the MerulaShell. If you want the old Windows back, please go to start -> Explorer.\n\n" +
                            "Have fun and good luck with ShellSharp.");
            //KillExplorer();

            var thisProc = Process.GetCurrentProcess();

            if (Process.GetProcessesByName(thisProc.ProcessName).Length > 1)
            {
                var win = new Explore10.MainWindow();
                win.Show();
            }
        }
        private void Explore10_OnClick(object sender, RoutedEventArgs e)
        {
            var explore = new Explore10.MainWindow();

            explore.Show();
        }
 private void Explore10_OnClick(object sender, RoutedEventArgs e)
 {
     var explore = new Explore10.MainWindow();
     explore.Show();
 }