示例#1
0
 public MemoWindow(string path, Target target)
 {
     InitializeComponent();
     this.path = path;
     this.target = target;
     GetTextFromFile();
 }
示例#2
0
 private void InitTargetList()
 {
     this.Targets.Clear();
     var dirs = Directory.GetDirectories(this.TargetFolderPath);
     foreach (var dir in dirs)
     {
         Target target = new Target(dir + @"\.minecraft", System.IO.Path.GetFileName(dir));
         this.Targets.Add(target);
     }
 }
示例#3
0
 public RunManager(string exePath, Target target)
 {
     this.exePath = exePath;
     this.target = target;
 }