PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/PhyreFly/src/forms/InfoForm.cs

https://bitbucket.org/drummertom999/phyreballs
C# | 39 lines | 35 code | 4 blank | 0 comment | 0 complexity | 8f7a7e2a491d554e760fdce111052564 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using System.IO;
  10. namespace PhyreFly
  11. {
  12. public partial class InfoForm : Form
  13. {
  14. public InfoForm()
  15. {
  16. InitializeComponent();
  17. }
  18. private void InfoWindow_Load(object sender, EventArgs e)
  19. {
  20. ui_tb_pesdk.Text = PFGlobals.PhyreEngineSDKRoot;
  21. ui_tb_pap.Text = Path.Combine(PFGlobals.PhyreEngineSDKRoot, PFAssetProcessor.AssetProcessorExe);
  22. ui_tb_pag.Text = Path.Combine(PFGlobals.PhyreEngineSDKRoot, PFAssetProcessor.AssetGatherExe);
  23. ui_tb_twd.Text = PFAssetProcessor.WorkingDir;
  24. ui_tb_te.Text = PFGlobals.TextEditor;
  25. ui_tb_xmlfile.Text = PFGlobals.XmlFile;
  26. ui_tb_headerfile.Text = Path.GetFullPath(Path.Combine(PFGlobals.XmlFileDir, AssetManager.OutputAttributes.Filename.Value));
  27. ui_tb_project_root.Text = AssetManager.GetProjectRoot();
  28. ui_tb_asf.Text = Path.Combine(ui_tb_project_root.Text, PFGlobals.AssetSpecFile);
  29. }
  30. private void ui_btn_ok_Click(object sender, EventArgs e)
  31. {
  32. Close();
  33. }
  34. }
  35. }