public MemoWindow(string path, Target target)
 {
     InitializeComponent();
     this.path = path;
     this.target = target;
     GetTextFromFile();
 }
 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);
     }
 }
Beispiel #3
0
 public RunManager(string exePath, Target target)
 {
     this.exePath = exePath;
     this.target = target;
 }