프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / WpfApp1 / MainWindow.xaml.cs @ 3026d214

이력 | 보기 | 이력해설 | 다운로드 (1.74 KB)

1
using System;
2
using System.Collections.Generic;
3
using System.Diagnostics;
4
using System.Linq;
5
using System.Text;
6
using System.Windows;
7
using System.Windows.Controls;
8
using System.Windows.Data;
9
using System.Windows.Documents;
10
using System.Windows.Input;
11
using System.Windows.Media;
12
using System.Windows.Media.Imaging;
13
using System.Windows.Navigation;
14
using System.Windows.Shapes;
15

    
16
namespace WpfApp1
17
{
18
    /// <summary>
19
    /// Interaction logic for MainWindow.xaml
20
    /// </summary>
21
    public partial class MainWindow : Window
22
    {
23
        public MainWindow()
24
        {
25
            InitializeComponent();
26

    
27
            //ProcessInfo
28
            //System.Diagnostics.Process.Start()
29

    
30
            string guidID = "77dd612d-4a30-4032-baf8-0c08ccdae976".ToUpper();
31
            string guidID2 = "b7ab84fe-429c-5632-9cd1-44e88b4379d6".ToUpper();
32

    
33
            string guidID3 = "D5165543-A7EB-448E-B0F8-53F5951DF423";
34
            string guidID4 = "DAD8A3FE-1B2E-45B5-8753-10E219626B60";
35
            Guid a;
36
            Guid b;
37
            var r = Guid.TryParse(guidID, out a);
38
            var r2 = Guid.TryParse(guidID2,out b);
39

    
40
            string path = @"C:\Users\Admin\AppData\Local\Apps\2.0\KNTEMRND.126\BLP80NTE.Z09\engi..tion_820fb86b1bba57c1_07e1.000c_276992315adb7d9a";
41
            Process myProcess = new Process();
42
            string myDocumentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
43
            myProcess.StartInfo.FileName = path + @"\EngineeringData.exe";
44
            //myProcess.StartInfo.Arguments = guidID + " " + guidID2;
45
            myProcess.StartInfo.Arguments = guidID3 + " " + guidID4;
46
            myProcess.StartInfo.CreateNoWindow = true;
47
            myProcess.Start();
48
            Guid guid = Guid.NewGuid();
49
        }
50
    }
51
}
클립보드 이미지 추가 (최대 크기: 500 MB)