コード例 #1
0
        private void SubmitClick(object sender, RoutedEventArgs e)
        {
            // launch s2
            //LaunchS2.OpenApplication();
            //World.Main();
            SecondStudioCommand.ExportModel();
            string username = Environment.UserName;
            string path     = String.Format(@"C:\Users\{0}\AppData\Roaming\SecondStudio\Second Studio.exe", username);

            Process.Start(path);
            this.Hide();
        }
コード例 #2
0
 private void SpawnClick(object sender, RoutedEventArgs e)
 {
     // SpawnClick initiated here
     SecondStudioCommand.GetSpawn();
 }
コード例 #3
0
 private void OriginClick(object sender, RoutedEventArgs e)
 {
     // OriginClick initiated here
     SecondStudioCommand.GetOrigin();
 }